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 / Portal Login Page - Re...
Power Pages
Unanswered

Portal Login Page - Restrict Azure AD B2C Login Redirection

(0) ShareShare
ReportReport
Posted on by 184

Hello

 

I have a Powerapps portal login page as below.

 

portal login sample.PNG

 

When external user click 'Azure AD B2C' button, it redirects them to the Microsoft login page to enter their username and password. To improve user experience by reducing redirection I would like to know if we can have the Azure AD B2C login username and password fields in this page itself?

 

Could you advise me on this please?

 

Thanks

Vik 

Categories:
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi, the Azure AD login is an external authentication, for this reason you can't embed the username/pwd in the Portals. any external login will always redirect the user to the authentication provider page.

    Are you using the local login at all? you can remove the local sign-in by changing some site settings.

    Please review this article for a better understanding of the options available: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/set-authentication-identity

     

  • arjunmusuvathy Profile Picture
    184 on at

    Hi @OliverRodrigues 

     

    Thanks for the reply, this makes sense.

     

    Yes I will be removing the local account login fields, thanks for the link you shared. 

     

    Thanks

  • justinburch Profile Picture
    Microsoft Employee on at

    Hi @arjunmusuvathy,

    You can customize the login page to be embedded in your Portal itself. I did a quick POC on this a few years ago, and it wasn't the easiest thing to implement. Hopefully it's a little better now: Customize the Azure Active Directory B2C user user interface for portals. - Power Apps | Microsoft Docs

  • arjunmusuvathy Profile Picture
    184 on at

    @justinburch  Thanks for the reply, can I know how did you embed the Microsoft login page in the main login page itself please? Is it possible?

  • justinburch Profile Picture
    Microsoft Employee on at

    Hi @arjunmusuvathy,

    You wouldn't embed in the existing page, as that template is not editable. Instead, you would follow the documentation provided to create your own page (which then embeds the data from Azure B2C), and change your "Sign In" button's target.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 18

#2
11manish Profile Picture

11manish 16 Super User 2026 Season 2

#3
Harshit Chaubisa Profile Picture

Harshit Chaubisa 4

Last 30 days Overall leaderboard