Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Security
Suggested answer

Redirect to "Add External Account" After MFA Login in Power Pages (Graph API User)

(1) ShareShare
ReportReport
Posted on by 4

Hi everyone,

I'm facing an issue after creating a user via Graph API and logging into a Power Pages site using Azure AD B2C.

Here’s what’s happening:



  •  

    I’m creating a user in my Azure AD B2C tenant using Microsoft Graph API with the Member user type.


  •  

    The user is created successfully, and everything looks fine.


  •  

    When the user logs into my Power Pages site, they are prompted for MFA.


  •  

    MFA completes successfully, but instead of redirecting to the profile or homepage, they are sent to a page asking to “Add a new external account.”



  •  
 

It seems like the system is treating the user as partially registered or expecting another identity provider to be linked.

 

Has anyone else faced this? Is there something I might be missing in the Graph API creation process or in Power Pages/AD B2C config that causes this behavior?

 

I’ve attached a screenshot of the “Add an external account” page for reference.

 

Thanks in advance for any help!

Categories:
  • SJ-14040634-0 Profile Picture
    4 on at
    Redirect to "Add External Account" After MFA Login in Power Pages (Graph API User)
    I am using custom policy 
  • Suggested answer
    Ajlan Profile Picture
    127 on at
    Redirect to "Add External Account" After MFA Login in Power Pages (Graph API User)
    Hello,

    Go into your Sign Up / Sign In user flow in Azure AD B2C, and under Application Claims, make sure to select the "Email Addresses" claim to be included in the token.


    Cheers 🎉

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,631 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,976 Most Valuable Professional

Leaderboard

Featured topics