0 votes

Or is there another solution to solve this?

by (530 points)

1 Answer

0 votes
by (289k points)

Hello Boris,

The script should be executed in a business rule triggering After creating a user. The following tutorial should be helpful: https://www.adaxes.com/tutorials_AutomatingDailyTasks_RunPowerShellScriptAfterCreatingUser.htm.

Also, if you assign Microsoft 365 licenses with access to Exchange Online in Adaxes, the process of enabling remote mailboxes can be automated without using scripts. For details, have a look at the following help article: https://www.adaxes.com/help/EnablingDisablingRemoteMailboxes.

Related questions

0 votes
0 answers

When the UPN being created is the same as an existing one except for the case. For instance, the new UPN is sally.fields but there's an existing Sally.Fields. The ... but then fails to create the AD account indicating that the UPN is not unique forestwide.

asked Jul 13, 2022 by sandramnc (870 points)
0 votes
1 answer

The rule runs but since the first name and last name are passed as parameters, I only get the sequential # as a userID without the initials.

asked Oct 24 by curtisa (290 points)
0 votes
1 answer

Thanks for the info. I'm now grabbing the %adm-ManagerUserName% value, but need to remove the final 21 characters of it so it contains only their username and not our ... this in the PowerShell Script Editor for my business rule, I get the following error:

asked Mar 11, 2021 by mkvidera (60 points)
0 votes
1 answer

We have Exchange 2010 OnPrem and Office 365 Exchange Online in a full Hybrid environment. Using AD Active Sync. We have now moved all of our mailboxes to Exchange ... manage the OnPrem Exchange AD Attributes after the last Exchange 2010 server is removed?

asked Jun 1, 2020 by StevePogue (20 points)
0 votes
1 answer

Currently, when I disable a user account in Adaxes, the group memberships of the user remain intact. I'd like to automate the removal of group memberships such as distribution ... a list of groups/DL that the user was previously in and removed from. Thanks!

asked Nov 3, 2021 by jayden.ang (20 points)
3,549 questions
3,240 answers
8,232 comments
547,814 users