We currently send this information daily from EP to Azure/Microsoft Environment. This is sent via EP script "Automate_UpdateMicrosoftUser" which runs at 2AM daily.
TLC | Microsoft |
Department | department |
UID | employeeId |
Organization (The Luke Commission) | companyName |
Position | jobTitle |
Grade | extensionAttribute1 |
GradeLevel | extensionAttribute2 |
slack_id | extensionAttribute3 |
ProfilePhoto | Photo |
To set up O365 groups that are automated based on these fields, navigate to Azure Active Directory and select "Groups"
New Group
Click "New Group" and fill it out as follows
Then click "no owners selected" and add desired owners.
Then click "Add dynamic query". This is where you can use the Microsoft attributes assigned above to set who is in the group. For some reason, there's an error using the rule builder when trying to compare with a list, so in this case I had to manually enter the criteria.
In this case, we are adding all M3 and above who are also in Dept Sys. and then we have the extra of adding Sam via UID.
Then you can click "Validate Rules (Preview)" and select some users to see if they will be added or not to test your rules.
Then you just click save and you're done! It can take some time for the users to be added to the group, but it should update eventually and work as expected.