Forum Discussion
Creating dynamic groups with custom attribute
We want to create several groups based on the value that we fill into the field CustomAttribute1.
Our environment is not AD Synced. We're working in the cloud with all our applications and services.
When we check the value of the attributes in the Exchange Admin Center, everything is filled in correctly. But our groups are not filled with members, and there is no error.
Why are our groups not populated with users?
- Yeah, right. The ExtensionAttribute you are referring to is present on the Exhange Mailbox?
Azure AD dynamic group rules does not as to my knowledge let you use Exchange Extension Attributes from out-of-the box.
Since you also stated that there is no AAD Connect Sync in place, I would try another attribute. The ExtensionAttributes reffered to in https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership#extension-properties-and-custom-extension-properties are those coming from on-prem AD via sync.
10 Replies
Johan Pauly Hi, how are your rules for the dynamic groups set up?
https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership
- Johan PaulyBrass Contributor
Hello,
this rule is very simple: (user.extensionAttribute1 -eq "xxxxxxxxxxxxx")
headburgh wrote:Johan Pauly Hi, how are your rules for the dynamic groups set up?
https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership
- Hi again,
Just to be clear. Are we talking about Dynamic Azure AD Groups or Dynamic Distribution Groups?
/Viktor