question

LarischChristophSFBHLZCA1-8503 avatar image
0 Votes"
LarischChristophSFBHLZCA1-8503 asked MrSbaa answered

Azure Active Directory Dynamic Groups - get all users referended in a user's profile

I like to built a dynamic Azure Active directory group. As rule for contained users I need all users referenced as managers in some other users profile.
So a user should only be in the group if she or he is manager of any user in the AD. I don't think it's possible so far but I won't to be sure ;-)

azure-active-directoryazure-ad-group-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

michev avatar image
0 Votes"
michev answered LarischChristophSFBHLZCA1-8503 commented

Does it necessarily need to be an AAD group? If so, you're out of luck. But you can do it for Exchange Dynamic DG, check the answers in this thread: https://docs.microsoft.com/en-us/answers/questions/299355/dynamic-membership-rule-for-all-users-with-direct.html

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I tried to use this group to give all mangers access to somes ressources on a teams (sharepoint online) without the need of manuallly updating the ad-group ;-)

0 Votes 0 ·
MrSbaa avatar image
0 Votes"
MrSbaa answered

You can use Jobtitle for that. If this doesn't work for your organization, you can also try to use custom extension properties. However, you need to populate this in Active Directory first and sync it to Azure AD.

For more info about custom extension properties:

https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-dynamic-membership

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.