Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Security
Suggested answer

Redirect URI with Entra ID External ID Problem

(0) ShareShare
ReportReport
Posted on by 27
I am trying to set up a system to authenticate external users for a Power Pages App. Its for partners, not employees and thus we need to focus on external ID's.
 
if you look at the screenshots below, i am able to register a new user in Entra, but as soon as we have register the user, then i seem to be sent to the wrong page. the same error happens if i run in Power Pages (preview) or if i run the user flow from Entra. 
 
 
when i click on 'sign in' in the app i get sent to the page i would expect in Entra.
 
I click through the screens and all is good and get to this one
 
Fill in the detail above and click 'next'. at this stage the user appears in Entra (as expected) 
 
i am redirected to this URL https://xxx.powerappsportals.com/signin-openid_1#id_token=xxx which isn't recognised on my site.  
 
The redirect URI is the default one and to confirm you can see the original Redirect URI that i posted into Entra (and Entra is redirecting back to),
 
any ideas?
 
 
Categories:
  • Suggested answer
    JBC777 Profile Picture
    27 on at
    Redirect URI with Entra ID External ID Problem
    Thanks for the replies. I think the solution to my problem was simply time!
     
    My issue seems to have been that just pressing sync and also restarting the site, didn't sync all the changes. 
     
    As a 'developer in a rush' i was likley making additional changes when the original ones hadn't synced, and thus 'looked' like errors.
     
    I haven't done anything different than i did in the document apart from wait, and much more than 15 mins. 
     
    Sorry for just a 'boaring' solution but i took me a week to figure this out.
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,228 Most Valuable Professional on at
    Redirect URI with Entra ID External ID Problem
    Hi
     
    Within Entra External, in your App Registration, can you confirm what is the Redirect URL that you have setup there?
     
    I have it pointing to my portal home page, and JWT for testing purposes but that's optional
     
  • MikeUllrich Profile Picture
    2 on at
    Redirect URI with Entra ID External ID Problem
    We had a similar problem but only with 2 users out of 10. Both non working users are from tenants with users that are working.
     
    It seems there is a problem with the invitation code which was generated by Dynamics automatically. generating a new invitation code worked. Maybe this solves your problem, too.

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!

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,636 Most Valuable Professional

Leaderboard

Featured topics