1
votes

I am trying to integrate my app using B2c to office 365. I have read that we can add a specific AAD to B2C or use B2B but I am looking for a direction in which user can select office 365 login button and using which they can use their office 365 account to login into my app.

I am able to integrate app to one specific AAD but i want a blanket office 365 integration with my B2C

What is envision is something like below. It will be good to have some direction on this.

enter image description here

2
1. May I know what's your question? 2. Actually, the office 365 accounts is AAD accounts.Wayne Yang
Sorry, Yang. To simplify, I just wanted to know how to set up sign-in for multi-tenant Azure Active Directory in B2C.prvnsaini

2 Answers

2
votes

This article describes how to enable sign-in for users using the multi-tenant endpoint for Azure AD by using custom policies in Azure AD B2C. This allows users to sign in from their Azure AD tenants to your Azure AD B2C tenant without you configuring a technical provider for each of their Azure AD tenants.

0
votes

Office 365 supports OAuth2 https://blogs.msdn.microsoft.com/exchangedev/2014/03/25/using-oauth2-to-access-calendar-contact-and-mail-api-in-office-365-exchange-online/

We can always configure an oauth2 provider in AzureAD B2C https://docs.microsoft.com/en-us/azure/active-directory-b2c/oauth2-technical-profile

We'll require a multi tenant app which seeks minimum scope which don't require admin consent.