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

Community site session details

Session Id :
Power Pages - Security
Suggested Answer

Entra ID and user always being sent back to User Profile page

(0) ShareShare
ReportReport
Posted on by 65
I have a power pages site and users are authenticated using Entra External ID and for 99.9% of my users this is working fine. I have a few users with a problem that I just cant even understand why its happening or how to fix it without deleteing the accounts.
 
  1. The account is setup (by the user) in Entra and is validated. 
  2. the account is setup as a contact in dataverse (Dynamics CRM) and everything looks fine when i check Web Authentication under the contact record. they have a stamp, external ID and login is enabled. i have checked it against a 'good' user and aaprt from different GUIDs, its the same
  3. when this user logs on they are alway sent to the user profile page, never the home page - https://xxx.powerappsportals.com/User-Profile-Page/?ReturnUrl=%2F.  they can click 'home' at the top and carry on, but its a pain an extra step. This happens when you have just created your account but this users account was setup ages ago, and they get this everytime, not just once.
  4. Every other user after log on goes directly to the home page (as expected).
 
Any ideas why a user would keep being sent to the user-profile-page?
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    52,851 Super User 2025 Season 2 on at
    Entra ID and user always being sent back to User Profile page
     
    I cannot tell you for sure this is the issue, but I have seen this in one occassion.
     
    There are times when the users primary UPN and primary email is NOT the same. So if you open their account in Outlook, they show up as having 2 email addresses (its a random phenom) but in this case it was causing the users to the profile page each time because it was almost as if they had not created their account.
     
    I am going to guess @Fubar or one of the others have seen other scenarios, but that is the only one I know has been a thing (even to me) at different customers
     
    I'm not going to set this as "pick if it answers it" as I do not know it is for sure, but if it does make sense and  you check and it IS this... we had to do a custom login to redirect them properly IF they were actually authenticated etc. So...
     
     
  • Fubar Profile Picture
    8,319 Super User 2025 Season 2 on at
    Entra ID and user always being sent back to User Profile page
    When the user is sent to the Profile Page have they submitted it at least once? (or have they always navigated away from the page without ever submitting it)
  • Suggested answer
    JBC777 Profile Picture
    65 on at
    Entra ID and user always being sent back to User Profile page
    I think i can fix the issue but don't know why its caused. adx_profilemodifiedon is blank for the user that this is happening to on the dev site. if i change that in Dataverse (add a date) then the user goes to the home page.
     
    however, in my live site, none of the users appear to have this setting
  • Suggested answer
    Fubar Profile Picture
    8,319 Super User 2025 Season 2 on at
    Entra ID and user always being sent back to User Profile page
    Not sure if this is the issue or not, but there is a Site Setting that will push the user to the Profile page unless they have confirmed (submitted) the profile page - you can try setting it to True
     
    Profile/ForceSignUp
     
     

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 58

#2
Fubar Profile Picture

Fubar 46 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard

Featured topics