Allow B2C users to log into Teams org-only live events, sync B2C AD to B2B AD as external users and automate sending of invites

Barry Swales 1 Reputation point
2020-03-19T11:25:09.523+00:00

I need to host a Teams live event that customers pay to attend. I have a B2B AAD and a B2C AAD, with a virtual machine set up running Windows Server 2019.

Teams has 3 access options: specific people in the org, all people in the org (both for authenticated AAD users), or public (no authentication). The public option will not work, as this would mean people that have not paid could also join.

The only solution I am aware of would be to add customers that are in the B2C AD to the B2B AD as external users, so they can be authenticated and then access the live event.

I have read that this is achievable using directory sync with Azure AD Connect, but it seems to only apply to on-premise active directory, which is not what I have.

I have been told that, in order for a user to be added to the B2B AD, they need to be sent an invite first.

My questions are:

  1. Is it possible to set up directory sync using Azure AD Connect without using an on-premise AD?
  2. If not, how can the process be automated, whereby a user being added to the B2C AD triggers an invitation being sent to then to join the B2B AD as an external user, as part of a specific group?
  3. How can the content of this invitation email be customised?

Thanks

Azure Active Directory External Identities
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,721 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 55,226 Reputation points
    2020-03-23T08:39:40.79+00:00

    @Barry Swales Please find below the answers to your questions:

    • Is it possible to set up directory sync using Azure AD Connect without using an on-premise AD?

    No, it is not possible to set up directory sync using Azure AD Connect without using an on-premise AD.

    • If not, how can the process be automated, whereby a user being added to the B2C AD triggers an invitation being sent to then to join the B2B AD as an external user, as part of a specific group?

    You can use graph call to invite B2B users as mentioned in the document here:
    https://learn.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0&tabs=http
    Refer to https://learn.microsoft.com/en-us/graph/json-batching for posting multiple invites as a batch job.

    • How can the content of this invitation email be customised?

    Here is the document that explains how to customize the invitation content:
    https://learn.microsoft.com/en-us/graph/api/resources/invitedusermessageinfo?view=graph-rest-1.0

    -----------------------------------------------------------------------------------------------------------

    Please Accept as answer wherever the information provided helps you to help others in the community.

    No comments