Reputation: 3127
Would like to create a dynamic group in Azure AD that has the following criteria:
Only include individual user accounts (no service accounts) who are actually employees of our company.
I think there should be a way to accomplish the first criteria, but a bit unsure about the second.
Also would be great if the group could be alphabetical.
Any assistance would be greatly appreciated.
Upvotes: 0
Views: 1828
Reputation: 3485
The rule or rules will depend on how you have your employee users organized. Only users can be assigned dynamically.
Below you will find some samples:
(user.userType -eq "member")
(user.userType -eq "member") and (user.assignedPlans -any (assignedPlan.servicePlanId -eq "efb87545-963c-4e0d-99df-69c6916d9eb0" -and assignedPlan.capabilityStatus -eq "Enabled"))
Etc.
For more information, please take a look to Dynamic membership rules for groups in Azure Active Directory.
Upvotes: 0