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 Pages
Suggested Answer

Azure AD B2C Signup

(0) ShareShare
ReportReport
Posted on by 3
How to take user directly to Signup page when using combined signin and signup Azure b2c user flow in Powerpages
 
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    Just to be clear, you want to use the combined flow, which enables a user to sign in, or sign up (if they choose too), but instead you want to take them directly to the sign up page?
     
    My question is, what is the user is already signed up? WHy would you want to force them to a page they already have done.
     
    Can you clarify your exact reasons and desires on this?
     
    If you are always going to force them then just use the Sign up flow and redirect them later to the sign in. I don't see why you would use the combined if you plan on forcing them always to the sign up.
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • Opeyemi Ayilara Profile Picture
    3 on at
    Thank you @Micheal ,
     
    So the issue is new users do not want to click on Signin before they click on Sign up button , hence I have created two buttons, such that the Signin button takes the users to signin, however I have not been able to direct them to Sign up directly. Hence the question.
     
    Thank you 
     
  • Suggested answer
    Suriyanarayanan V Profile Picture
    201 on at

    When you use the combined sign‑in/sign‑up Azure AD B2C user flow in Power Pages, the URL always opens on the Sign‑in panel first.
    This is expected behaviour — the combined flow does not support a direct link that forces the UI to open on the “Sign up” panel.

    Why you can’t link directly to Sign‑up

    Azure AD B2C combined policies do not expose a query parameter like:

    ?prompt=signup
    

    or

    ?ui=signup
    

    The UI is controlled internally by B2C, and Power Pages simply redirects to the policy URL.
    So there is no supported URL that takes the user straight to the Sign‑up form.

    This is why your Sign‑in button works (it just opens the policy), but your Sign‑up button cannot.

    Supported workaround (recommended by Microsoft)

    Use two separate user flows:

    1. Sign‑in only

    2. Sign‑up only

    Then configure Power Pages authentication to use:

    • The Sign‑in policy for normal login

    • A custom link to the Sign‑up policy for new users

    This gives you two URLs:

    • /signin → Sign‑in only

    • /signup → Sign‑up only

    Your buttons can then link directly to each.

    This is the only reliable way to take users straight to the registration screen.

    How to implement it

    1. In Azure AD B2C

    Create:

    • B2C_1A_SignIn (sign‑in only)

    • B2C_1A_SignUp (sign‑up only)

    2. In Power Pages

    Go to:

    Set up → Identity providers → Azure AD B2C

    Configure:

    • Primary login policy → Sign‑in only

    • Custom registration link → URL of the Sign‑up policy

    3. On your site

    Your “Sign up” button can now link directly to:

    /signin?policy=B2C_1A_SignUp
    

    (or whatever your policy name is)

    This opens the Sign‑up page immediately.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 38

#2
Valantis Profile Picture

Valantis 36

#3
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard