0 votes

Pretty simple question. Upon user provisioning, based on business unit, is there a way to have the new O365 mailbox and user be added to an existing distribution group in O365?

I imagine if I was using DirSync, I could do this with local AD distribution groups, but that is currently not the case.

by (50 points)
0

Hello,

Yes, this is possible using a PowerShell script executed automatically as a part of user provisioning. We've asked our script guys to make a sample for you. We'll update this topic as soon as they come up with something.

0

Thank you so much! This is literally the piece of script that is holding us back from purchasing a license, so any help would be spectacular!

1 Answer

0 votes
by (215k points)
selected by
Best answer

Hello,

The necessary script is ready. Find it in our Script Repository: http://www.adaxes.com/script-repository ... t-s254.htm.

Pay attention that creating an Office 365 account takes some time, usually several seconds. Thus, if you execute the script as a part of user provisioning, it is highly probable that by the time the script runs, the user account won't be created in Office 365 yet. Thus, instead of adding the script to your provisioning process, we recommend creating a Scheduled Task that will update membership of users in Office 365 groups on a regular basis. For information on how to create a Scheduled Task, see Schedule Tasks for Active Directory Management. To add the script to your task, use the Run a program or PowerShell script action.

Related questions

0 votes
1 answer

In our environment, we have dirsync setup to assign the Office365 username based on the email property of the on-prem user. In Adaxes, if a newly created user doesn' ... instead utilize a property of our choosing? Currently using product version: 3.10.15918.0

asked Nov 8, 2018 by blaiseb (100 points)
0 votes
1 answer

Dear Support, I'm using this Script for adding User to Groups. Import-Module Adaxes $User = "%distinguishedName%" $group = get-AdmGroup "KendoxUser_%adm-CustomAttributeText17%" -Properties ... is in a Subdomain it doesn't work. Do you have any idea why?

asked Jan 28, 2014 by Napoleon (700 points)
0 votes
1 answer

This may be a stupid question but I'm looking to create an approval process for users being added to sensitive AD groups such as the domain admins group. How would I ... to use especially since the condition is based on changes that have not yet happened...

asked Nov 1, 2012 by VTPatsFan (610 points)
0 votes
1 answer

I am trying to see if I can implement this in Adaxes somehow to support role-based provisioning to external apps (using appropriate Powershell scripts) but struggling to work ... to invest in a full-blown role-based provisioning platform (would rather not!).

asked Dec 24, 2019 by Bernie (310 points)
0 votes
1 answer

Is there a way to use the built-in "Modify Exchange Properties" action to add a mailbox delegate that only resides in the cloud? We can do it via a powershell script, but I ... action. For example, I want to add "Company Administrator" to a user via the GUI:

asked Sep 14, 2015 by yourpp (510 points)
2,635 questions
2,370 answers
6,286 comments
976,087 users