web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Azure AD login, why?
Power Pages
Answered

Azure AD login, why?

(0) ShareShare
ReportReport
Posted on by 252

As mentioned by Microsoft and strongly supported by the community, account creation using Azure AD is recommended. Following this path, however, I think it is not applicable to our use case for Power Pages. 

 

We'd want our account creation to be by invitation basis by first filling out a separate form, then notifying our team to send out an automated invitation email. With this, we can assign the accounts initial account creation of the users. 

 

I'd like to ask why is it recommended to use Azure AD, and could the Azure AD method be used to comply with our requirements? To add, I followed this community post from 2021 as a guide (Solved: Confirmation email on Registration - Power Platform Community (microsoft.com))

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,471 Most Valuable Professional on at

    Hi, please note that Azure AD and Azure AD B2C are two different things.

     

    Azure AD - to be used by internal users

    Azure AD B2C - to be used by external users (recommended by Microsoft) 

  • apangeles Profile Picture
    252 on at

    Ah, so I have to enable the Azure B2C first for external stakeholders. Copy. I'll test the OOTB Azure AD with my colleagues here at the office. The title is misleading because it says to sign in with an external account, as shown below:

    apangeles_0-1674013411258.png

     

    Final question, if I enabled the Azure B2C, upon successful login, it will also create a line item inside the contacts table, correct? Thank you. 

     

  • apangeles Profile Picture
    252 on at

    @OliverRodrigues 

     

    I tried Azure AD login with my teammate here. It prompts him to still create an account that will still be placed inside the contacts table. Initially, we disabled the register tab on the sign-in page, upon doing the Azure AD method, it directs him to the redeem invitation tab. 

     

    For the thing you're saying with Azure AD being used for internal users, where does this function look to know that the user is an internal user? I'm confused.

     

    In our use case, we disabled the external login forcing our clients to fill up a form for an account invitation. If I enable the external login feature, then that would defeat the purpose of our use case. What should I do?

  • Verified answer
    oliver.rodrigues Profile Picture
    9,471 Most Valuable Professional on at

    Every Portal user becomes a Contact record, either this is coming from Azure AD / Azure AD B2C or others.

    If you disable registration you will face the issue that you are seeing, you can achieve what you are trying by adding JS to the Content Snippet behind the SignIn page: Account/SignIn/PageCopy

    if that snippet doesn't exist you can simply create a new one and set it to HTML, then add the following code:

    <script>
    $(document).ready(function(){
     var navBar = $(".nav-tabs.nav-account");
     var registrationTab = navBar.find("li > a[href*='/Account/Login/Register']");
     registrationTab.hide();
     
    });
    </script>
  • apangeles Profile Picture
    252 on at

    Oooh, okay. By using this, I can hide the registration tab? Okay. I'll test it and I'll get back to you here. Thanks, @OliverRodrigues 

  • apangeles Profile Picture
    252 on at

    I got it working. Thanks, @OliverRodrigues!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 59

#2
11manish Profile Picture

11manish 51

#3
omkarsupreme Profile Picture

omkarsupreme 27

Last 30 days Overall leaderboard