Skip to main content

Notifications

Power Pages - Security
Suggested answer

Redirect URI with Entra ID External ID Problem

(0) ShareShare
ReportReport
Posted on by 24
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
    JBC777 24 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
    oliver.rodrigues 8,962 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
    MikeUllrich 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,215

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,290

Leaderboard

Featured topics