Forum Discussion
finding out who's invited a guest
Interesting use case. You could periodically query the unified log for invitation events and then write the requester to one of the B2B users attributes.
Once you have the requester in a format you can query, it would be a simple case of creating a dynamic group rule. Lots of custom code though....
Other option would be to use the B2B portal which has the ability to align groups to a domain. For example, I have a customer demo with SalesForce using the B2B portal. The B2B portal has a config for the gmail domain, which automatically assigns the user to a Salesforce group. That group is assigned to the Saleforce app and associated user/license provisioning.
When the user logs into the Access Panel, they see the Salesforce icon, which gives them SSO without any administrator interaction.
Self-service portal for Azure AD B2B collaboration sign-up
https://docs.microsoft.com/en-us/azure/active-directory/b2b/self-service-portal
*** Be careful using Dynamic Groups for B2B users, you might find yourself in a licensing predicament. "This feature requires an Azure AD Premium P1 license for each unique user that is a member of one or more dynamic groups."
Hope this helps!