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 / How to get the user's ...
Power Pages
Answered

How to get the user's sign-in or regsitration type

(0) ShareShare
ReportReport
Posted on by 150

On power pages there are 2 ways to sign in or register. First is the local sign in and the second one is through azure AD(or azure ad b2c).

bssienes_0-1683042604500.png

 

I want to assign a web role to the user who signed in through azure AD. But I cannot differentiate this user from the users who logged in through the local sign in.

 

Is there a way to do that?

Categories:
I have the same question (0)
  • Verified answer
    Fubar Profile Picture
    8,528 Super User 2026 Season 1 on at

    The portal user that has used an identity provider (e.g. Azure AD) will have an External Identity record linked to their Contact record (one for each identity provider if they have logged in using multiple), someone that is purely local login will have no External Identity records.  (you can see these in the Portal Management App, open Contact then use the Portal Contact form and look under the Web Authorization tab)

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
sannavajjala87 Profile Picture

sannavajjala87 38 Super User 2026 Season 1

#2
Valantis Profile Picture

Valantis 37

#3
11manish Profile Picture

11manish 22

Last 30 days Overall leaderboard