Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

How to Azure AD for PowerApps Portals

(0) ShareShare
ReportReport
Posted on by 82

Dear Community!

 

We are going to implement the Partner (news, some links to the external documents) and Customer support portal (cases) for the client on PowerApp Portal platform.

 

Regarding integration with other O365 apps: We are planning to integrate documents for Partners via Sharepoint at some point later in the implementation phases.

 

But I have some additional questions:

 

  • How is the existing contact in the CRM paired/matched with Azure AD B2C? Is the email key for that? What would happen in case if there is no match or multiple contacts in the system?
  • Are web roles automatically assigned?
  • Is it possible to modify the registration page in a way that it copies values such as VAT, company name, country, etc. to the CRM contact? We would like to have different fields in case of Partner than a Customer support portal.
  • Is it possible to have B2B and B2C available together? We would implement Partner and Customer portal on the same platform and split these two by multibrand portal structure. Or can we use B2C also for partners?

 

Thank you!

  • Verified answer
    MarkBiggerstaf Profile Picture
    Microsoft Employee on at
    Re: How to Azure AD for PowerApps Portals

    Hello,

     

    I hope you are keeping well.  You can map the sign-in to an existing contact.

    This is outlined in the link above, but I will provide something more specific here.

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/azure-ad-b2c#allow-auto-association-to-a-contact-record-based-on-email

     

    You need to add a portal setting to allow contact mapping.  This will work as I have described above and map to the primary email address emailaddress1.

     

    Thanks,

     

    Mark Biggerstaff

    Dynamics Support

     

  • mihamocnik Profile Picture
    82 on at
    Re: How to Azure AD for PowerApps Portals

    Hi Mark,

     

    currently, on Dynamics 365 Portal is designed in a way that the contact is always created even though the contact that already exists with the same email. We had to implement our own "registration" page for our clients. I guess that this has been improved with PowerApps Portal right? Or did we do something wrong with settings during implementations?

     

    Thank you for all info and help!

  • MarkBiggerstaf Profile Picture
    Microsoft Employee on at
    Re: How to Azure AD for PowerApps Portals

    Hello,

     

    • How is the existing contact in the CRM paired/matched with Azure AD B2C? Is the email key for that? What would happen in case if there is no match or multiple contacts in the system?

    The primary email address is how any authentication is matched to an existing contact.

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/set-authentication-identity#confirm-an-email-address

    If there is no contact, a new contact would be created when the registration setting is turned on. Authentication/Registration/OpenRegistrationEnabled set to true would be required.

    If that setting is false and no contact exists, the authentication would fail.

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-portal-authentication

    • Are web roles automatically assigned?

    Web roles are not automatically assigned. You need to create a workflow to perform that action if you want to automate the process.

    • Is it possible to modify the registration page in a way that it copies values such as VAT, company name, country, etc. to the CRM contact? We would like to have different fields in case of Partner than a Customer support portal.

    Each portal will have individual settings and configurations. You can map fields to the contact using claims mapping.

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/azure-ad-b2c#claims-mapping

    • Is it possible to have B2B and B2C available together? We would implement Partner and Customer portal on the same platform and split these two by multibrand portal structure. Or can we use B2C also for partners?

    Yes, you can have more than one external authentication configured.

    Both portals can be connected to the same environment. Each would have its own URL and landing page (Home page). You could put a link on one of the Home pages for the other portal.

     

    I hope the information provided answered your questions.  Portal external authentication is complex and I would recommend opening a support case if you need assistance.

     

    Thanks,

     

    Mark Biggerstaff

    Dynamics Support

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35