Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

Azure AD contact

(0) ShareShare
ReportReport
Posted on by

Hi All,

I am using Azure AD button to login into portal. So when user use Azure AD button to login then a contact record is created in Contact entity. My question is- in portal I have one page using which I am creating contact record. Suppose I create a record for A. Then suppose user A tried to login into portal using Azure AD button. Then what happens? At that time does it create a new record? or link that user with the existing contact record?

  • VIDIT Profile Picture
    666 on at
    Re: Azure AD contact

    Hi @justinburch , Thank you for helping, will ping you in case I face any issues

  • Verified answer
    justinburch Profile Picture
    Microsoft Employee on at
    Re: Azure AD contact

    This is a document that discusses the pricing model briefly, but there are also pricing calculators available if you look for them. According to this, the first 50k authentications appear to be free. it’s been a few years since I used B2C, and I don’t recall how this compared to my previous implementations.

    https://docs.microsoft.com/en-us/azure/active-directory-b2c/billing#about-the-monthly-active-users-mau-billing-model

  • VIDIT Profile Picture
    666 on at
    Re: Azure AD contact

    Oh I see, can you please share with me any link that shows the pricing for Azure AD B2C

  • justinburch Profile Picture
    Microsoft Employee on at
    Re: Azure AD contact

    I’m glad it helped @ViditGholam, but definitely try the deprecation without B2C first. The snippet above makes it sound like it should automatically convert from your local accounts to the default Azure as well, which might be easier for you.

     

    • if B2C also works, that’s great. Just know it will come with an additional Azure cost, so that’s something to consider. Outside of that, I’ve had good success with it in the past.
  • VIDIT Profile Picture
    666 on at
    Re: Azure AD contact

    Thank you @justinburch for helping will try migrating to Azure AD B2C

  • Verified answer
    justinburch Profile Picture
    Microsoft Employee on at
    Re: Azure AD contact

    Hi @ViditGholam,

     

    In that case, I would try to use the deprecation process in the above link. Here's a snippet of text from there:

     

    The portal allows multiple identities to be associated with a single contact record. When multiple providers are deprecated, a portal user must consent to the terms and conditions multiple times. Whenever a user signs in with a deprecated identity provider, the account migration process is started for each deprecated provider and the contact record is associated with the non-deprecated provider after account migration.

     

    The reason the mapping Site Setting isn't working might be because the "AzureAD" provider might not be correct, but I'm not sure if the default button has a provider it works with.


    For Azure B2C, yes, you can set it up so that users can't self-register. That's the default style until you add a User Flow for signup.

  • VIDIT Profile Picture
    666 on at
    Re: Azure AD contact

    Also is it possible to disable Registrations in Azure AD B2C I want to provide access to only specific users and not anyone who can come and register

  • VIDIT Profile Picture
    666 on at
    Re: Azure AD contact

    Yes, My contacts are my Azure AD Guest users

  • justinburch Profile Picture
    Microsoft Employee on at
    Re: Azure AD contact

    Hi @ViditGholam,

    Ahh, I see. With the default Azure AD, your Contacts would essentially also be CRM / Dataverse users. Is this the case?

     

    If not, then you really want to use Azure B2C to replace Local Contacts. With that, the PG has produced some OOTB options for easily transitioning, which can be found here: Migrate identity providers to Azure AD B2C - Power Apps | Microsoft Docs

  • VIDIT Profile Picture
    666 on at
    Re: Azure AD contact

    Yes @justinburch, actually the site setting to match existing contacts is not working but yeah pretty much I am facing the issue you described, other site settings are as shown in the screenshot below

    ViditGholam_0-1642778729467.pngViditGholam_1-1642778759219.png

    ViditGholam_2-1642778819228.png

    I am very confused about the portal login, We use to use Local Login were when ever a contact is created in CRM it would make it a portal contact and set some default password for it using the OOB actions.

     

    But since the local login is deprecating, I am not sure how to convert the functionality we were getting from the local login in some other Login method.

     

    All I need is my contacts should see the cases related to their accounts, but with Azure AD it creates a new contact and that new contact is not linked to my account, I am confused. 

    Can you suggest some login method which will help me achieve the functionality I described above.

     

    Thanks You for all the help !

     

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