question

BarrySwales-6186 avatar image
0 Votes"
BarrySwales-6186 asked amanpreetsingh-msft edited

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

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-directoryazure-ad-b2cazure-ad-connect
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.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered amanpreetsingh-msft edited

@BarrySwales-6186 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://docs.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0&tabs=http
Refer to https://docs.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://docs.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.

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.