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 External ID - registering a user

(2) ShareShare
ReportReport
Posted on by 2
Hi all,
 
Hoping someone can help me here. I'm sure there must be an answer to this one but can't seem to pinpoint it. We are going to use Entra External ID for our external users. We have this configured and, so long as we use the buttons on Power Pages, everything works as you'd expect. You can register and you can sign-in okay.
 
However, the issue we have is the registering process as you need to click Sign-in (or go in via Register) and you see a Sign-in page where you need to click the "No account? Create one" link that is there (not very intuitive). So I know you can get around this by following an example on the Woodgrove demo site: woodgrovedemo.com/#usecase=SignUpLink. So you can add prompt=create as well as the email address as the login_hint to a URL. Great...but I'm not sure how we should be constructing the link for this.
 
I have a link that points the user to the Entra External ID page, has the prompt=create and the login_hint. This then displays the Create account page as we expect with the email address prepopulated. We click Next, get the one-time passcode, add this and then are taken to the form to complete the User Flow details (first name, last name, etc.). When we click Next the local account is created (all good) and then we are prompted about staying signed in or not (standard browser fair). No matter what we choose we are taken back to the Power Pages site but we are not signed in. We need to click the sign in button just once and the system then signs us in automatically (assume because the browser still knows about the creation of the account).
 
I know when you start a Register process normally (via Power Pages) it adds state=OpenIdConnect.AuthenticationProperties... and nonce= ... and we don't have this in our constructed URL (since these are created at Power Pages side). We have the site for the Entra External ID, the Client ID, redirect_uri, response_type, scope, response_mode, ui_locales, prompt and login_hint.
 
Does anyone know how we can get this "over the line" and have the process complete so that a user is registered and then signed on automatically? We are sending the link out to the user registering with us using Power Automate. They are completing a Customer Voice form giving us some details, a flow picks this up and send out the email with the link so we can do whatever we need to in Power Automate. I've tried to send out the Invitation using this method but the process is way worse and more confusing for users.
 
Any advice/suggestions welcomed as always.
 
Steven
Categories:
I have the same question (0)
  • Suggested answer
    Jon Unzueta Profile Picture
    1,215 Super User 2025 Season 2 on at
    Entra External ID - registering a user
     

    1. Redirect to the Power Pages authentication flow
    Instead of sending the user directly to Entra ID, redirect them to the Power Pages login URL, but with parameters indicating they should initiate the registration flow.


    Example:

    https://<your-site>.powerappsportals.com/signin?provider=entra&prompt=create&login_hint=email@example.com

    2. Use the Power Pages invitation flow
    Although you mentioned it's more complex, the invitation flow allows you to:

    Create the contact in Dataverse.

    Send an invitation link that includes the necessary parameters.
    Automatically authenticate the user after completing registration.
    You can simplify this flow by using Power Automate to generate and send the invitation link.

    3. Custom Post-Registration Redirect
    If you decide to continue using the direct link to Entra ID, you can try redirecting the user to a URL that forces a login after registration:

    https://<your-site>.powerappsportals.com/signin?provider=entra

     

    🏷️ Tag me if you have any further questions or if the issue persists. ✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems. ❤️ Give it a Like if you found the approach useful in any way.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2

Featured topics