Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Power Apps Portal - Azure AD B2C Custom Policies

Posted on by 295

Hi,

I have followed various blog posts to set up my authentication to be managed through Azure AD B2C.

https://readyxrm.blog/2019/07/24/configure-azure-ad-b2c-for-powerapps-portals/

https://debajmecrm.com/2019/04/04/deep-dive-dynamics-365-portal-authentication-with-azure-ad-b2c-provider/

The problem however, is that this is only for local authentication on the Azure AD B2C tenant and does not enable single sign on of users from multiple tenants (Office 365) 

I have done some reading and it looks like this can be implemented using custom policies using Azure AD (multi tenant) as the external identity provider.

https://docs.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-get-started?tabs=applications

https://docs.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant-custom?tabs=applications

Has anyone got any examples on achieving this for Power Apps Portal? The ideal situation would be:

  1. Users can sign up from different Office 365 accounts through single sign on
  2. Restrict user sign up for ONLY contacts that exist in Dynamics 365.

At the moment I am following the Microsoft documentation and I am finding it overwhelmingly complicated.

  • Stanley Lai Profile Picture
    Stanley Lai 295 on at
    RE: Power Apps Portal - Azure AD B2C Custom Policies

    Not with Azure B2C - in the end we just used standard Azure AD configured with multi tenant access.

    portal.iotap.com/.../en-us

    This works perfectly and don't have to add each customer as a guest user in Azure AD!

  • Rfarris2000 Profile Picture
    Rfarris2000 5 on at
    RE: Power Apps Portal - Azure AD B2C Custom Policies

    Did you ever find a solution to this?  I'm running into the same issue but I cannot get it to work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans