Forum Discussion
Group together Guest Accounts based on Dynamic Groups
Hi All,
Is it possible to create a dynamic Security Group within azure to automatically add every new Guest Account to this group for example to use to assign access to a Customized SharePoint Collab Landing Page for External Users or other such Tasks ? unfortunately i could not find such a Group or Option only for full Internal User Accounts.
Cheers
Ueli
Yes, it's possible via the Dynamic Azure AD Groups functionality: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-groups-dynamic-membership-azure-portal
The membership rule you need is: (user.userType -eq "Guest")
10 Replies
Yes, it's possible via the Dynamic Azure AD Groups functionality: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-groups-dynamic-membership-azure-portal
The membership rule you need is: (user.userType -eq "Guest")
- Brian MairBrass ContributorHi Vasil,
Thanks for the tip. We tried it out and it worked. However, anyone who might try this should be aware that each of the guest users dynamically added to the group will get a welcome email that includes the name of each group member.
Brian- Terry HaganIron Contributor
Hi Brian,
how would it be the case that guest users in the Dynamic group would get a welcome email? In order to be dynamically added to the group the guest user would already have been invited into the tenant in order for them to have been created in Azure AD, only after being created could they be added to the dynamic group.
I've created a number of dynamic security groups for external users based on their UPN domain, however, adding them to SharePoint site security groups does not appear to work, the external users don't get access to the site.
Terry
- Dean_GrossSilver Contributor
VasilMichevhow does the licensing for this scenario work? I thought that dynamic group members needed to have AAD P1, is there an exemption for guests?
- Ueli ZimmermannBrass Contributor
Hi Dean,
Its actually always the Tenant which invites the Guests requiring the correct count of Licenses regarding Azure MFA. Its a 1:5 Ratio.
You need 1 User which has a AD Premium or Azure MFA License and with that you can have 5 Guest Users which are required to use MFA while accessing one of your Resources /SaaS Apps.
They do not have to be related to that specific User.
I hope this helps to clarify
Cheers
Ueli
- Ueli ZimmermannBrass Contributor
Great Vasil that is exactly what i need.
Cheers
Ueli