0 votes

Or is there another solution to solve this?

by (60 points)

1 Answer

0 votes
by (228k 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 by sandramnc (820 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)
0 votes
1 answer

Can I manage the user that is user by Adaxes to connect to Active Directory with Privilege Access Management (PAM)? Since this user can change user's password, ... would like to manage this user so that PAM can change/rotate the password periodically

asked Nov 18, 2021 by fachmi (170 points)
2,807 questions
2,541 answers
6,615 comments
65,254 users