0 votes

Hello, you helped us with a script to set the oof-message. Now we want to know, if it's possible to activate/deactivate the mail-forwarding option time-based. In the script we have

$oofStartDateParameterName = "param-abw-beginn"
$oofEndDateParameterName = "param-abw-ende"

We want to activate mail-forwarding on "param-abw-beginn" and deactivate it accordingly on "param-abw-ende"

Can you help me with that? Thanks Carsten

by (120 points)
0

Hello Carsten,

Yes, it is possible. In addition to your custom command, you will need a Scheduled task. The command will preserve the dates from the parameters in Adaxes custom date attributes and the task will activate/deactivate email forwarding accordingly. For us to provide you with details, please, specify who should be set as forward to when the feature gets enabled.

0

Hello,

forward-to is generated by a template.

CN=Postfach.%departmentNumber%,OU=Team-Postfächer,OU=TEAMS,DC=lohn-ag,DC=local

departmentNumber is from the user the command is run for.

1 Answer

0 votes
by (232k points)

Hello Carsten,

Thank you for specifying. In this case, you should have something like the following:

Custom command image.png

Scheduled task image.png

For details about using the Modify Exchange properties action, have a look at the following tutorial: https://www.adaxes.com/help/AutomateExchangeMailboxConfiguration/.

Related questions

0 votes
1 answer

Automation of user creation based on ServiceNow ticket creation.

asked Jan 24 by tdetmer (20 points)
0 votes
1 answer

I would like the HR to be able to set the date of deprovision User. So that it's executed on set date and not on command. I Tryed with parameter (Date/Time picker) ... it possible with custom command or do i have to make Scheduled Task with (Date/time picker)?

asked Jan 20, 2021 by Sandberg94 (320 points)
0 votes
1 answer

We're trying to setup a new action in our Web interface that runs on User's that are currently in an OU called 'New Starters' that is in all of our domains (An ... no results, There are no other fields we can use that are unique to accounts in those OUs

asked Feb 7, 2020 by richarddewis (260 points)
0 votes
1 answer

I'd like to be able to either send an email report or export a CSV of all of the business rules carried out when a user is disabled. This would be ... Management Activity section but this includes things that weren't part of the disable operation. Thanks

asked Feb 19, 2020 by bavery (250 points)
0 votes
0 answers

Before Deactivation of an Account on the Webinterface our Help Desk need to change the AD User Description manually. Is it possible to force a manual change before deactivation ?

asked Feb 7, 2020 by lv01 (20 points)
2,870 questions
2,591 answers
6,730 comments
111,721 users