Skip to main content
Question

Activating Email with the Workflow when Creating an AD Account.


Forum|alt.badge.img

I have set up a workflow with the employee onboarding module. To achieve this, I have configured the Microsoft Active Directory Orchestrator App. Everything is running smoothly, and I am able to create AD accounts. However, the issue I'm facing is that when an AD account is created, it doesn't automatically generate an email account in Exchange. Do any of you possibly know a solution for this?"

Did this topic help you find an answer to your question?

3 replies

Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14
Lirat wrote:

I have set up a workflow with the employee onboarding module. To achieve this, I have configured the Microsoft Active Directory Orchestrator App. Everything is running smoothly, and I am able to create AD accounts. However, the issue I'm facing is that when an AD account is created, it doesn't automatically generate an email account in Exchange. Do any of you possibly know a solution for this?"

Hello, 

I think the best way is to use the Powershell module. 
To run a script that do the mail enabling. I used chatGPT to create the base script.
If you don’t have one today that is. What you need is to have it on the server you installed the orch server and path where the node can execute the script. Standard are “Documents” 

I use this to store password for importing the exchange module in the script. Note the encrypted file need to be created on the server and with the same user running the script. 
How to encrypt & secure passwords with PowerShell | PDQ



//Daniel 


Forum|alt.badge.img
  • Author
  • Apprentice
  • 1 reply
  • August 29, 2023

I'm sorry, but it's not working for me, I'm doing something wrong, I don't know. 


Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14
Lirat wrote:

I'm sorry, but it's not working for me, I'm doing something wrong, I don't know. 

What step? do you have a working script on the server? 
Have you installed the powershell app on frehservice? 
 


Reply