This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Create or Move Exchange Mailbox with Workflow

Hello,


we are using ActiveRoles Version 7.

We want to automate User creation with workflows, but i have problems with the Mailbox creation.

We want to minimize the Rules we are using, so my Test approach is on Policy and after this the Settings are applied to the new user depending of the OU where the user is created.

With Mailbox creation i have tested the following:
1. Workflow sets the attributes mailnickname and homeMDB; in a later Step edsaCreateMsEchangeMailbox --> not working with Error Message "external Mail Address is missing"

2. created a default Policy with automatic creation of the Mailbox in the selected Store, the Workflow sets edsahomeMDB and edsaMoveMailbox "True" --> Error edsahomeMDB is missing

3. created a default Policy with automatic creation of the Mailbox in the selected Store, the Workflow sets extensionAttribute8 with the DN of the correctStore; a second Workflow starts a script which reads the User DN, extensionAttribute8 and mailNickname and starts "Set-QADUser $user -Proxy -ObjectAttributes @{"edsaMoveMailbox"=$true;"edsaHomeMDB"=$strEDSAhomeMDB}" --> Error Access Denied"

When i start a powershell with the User of our ActiveRoles Server Service the command "Set-QADUser $user -Proxy -ObjectAttributes @{"edsaMoveMailbox"=$true;"edsaHomeMDB"=$strEDSAhomeMDB}" works fine.

Does someone has a solution or concept for this ?

Is there some way to delete a moverequest from exchange when it is finished ?


Regards,

Florian Ballangó

Parents
  • Hello Lee,

    the problem is that Exchange Mailbox creation with Policys has some restrictions. We want to assign a Database based on the Organizational Unit where the User is created.
    I have fount two ways to do this:

    1. Create a Policy for Mailbox Creation on the affected OU`s
    2. Create a Workflow or Script to do this

    The first Solution is implemented and we want to minimize the amount of Policys. This is why we want to use the Second solution.

    When we change our Infrastructure, i need to change the Policys or the Script. I am a beginner with this an can not tell you if there is a better way with activeroles.

    I don´t know if it is better for us to use Parameters, because i see no difference if i edit the Parameters or the Script.

    Best Regards,

    Florian

Reply
  • Hello Lee,

    the problem is that Exchange Mailbox creation with Policys has some restrictions. We want to assign a Database based on the Organizational Unit where the User is created.
    I have fount two ways to do this:

    1. Create a Policy for Mailbox Creation on the affected OU`s
    2. Create a Workflow or Script to do this

    The first Solution is implemented and we want to minimize the amount of Policys. This is why we want to use the Second solution.

    When we change our Infrastructure, i need to change the Policys or the Script. I am a beginner with this an can not tell you if there is a better way with activeroles.

    I don´t know if it is better for us to use Parameters, because i see no difference if i edit the Parameters or the Script.

    Best Regards,

    Florian

Children
No Data