cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nerdifand
Frequent Visitor

external identity azure AD

Dear fellow developers,

 

we are trying to set up portal-contacts for users, before they log into the portal for the first time.

as login, these users are enabled with accounts from the azure AD.

 

Therefor we create a contact with:

 

adx_identity_username: guid
adx_identity_securitystamp: guid
adx_identity_logonenabled: true

 

and a linked record "adx_externalidentity" with:

 

adx_username: adx_identity_username
adx_identityprovidername: https://sts.windows.net/guid: (The GUID is the Directory ID which is found on the Properties settings for Azure Active Directory.)

 

after logging in this message apears (german):

image-2021-11-26-12-04-15-449.png

after navigating away (home page e.g.) the user is logged in successfully!

 

any idea, why the error message shows?

sincerely Ferdinand

3 REPLIES 3
Manar
Super User
Super User

Hello,

Do you assign a web role to the contact upon creation ? 

Thank you,
Manar

If you like this post, give it aThumbs Up. Where it solved your query, mark it as a SOLUTION so it can help other people!
nerdifand
Frequent Visitor

Yes we do.

i just discovered, that navigating to the profile page shows the error-page (/de-DE/profile/).

this is probably the destination after a successful login.

table-permissions for contact are set to the default values.

any ideas why the profile-page is not accessable?

 

You need to narrow it down but asking below questions:

  1. Does this issue happen to all logins regardless if its pre setup login or new register ?  
  2. What started this issue? did you for example moved the portal to new environment ? 
  3. Use XrmToolbox "Portal Configuration Compare" to find whats missing using a working environment as base
Thank you,
Manar

If you like this post, give it aThumbs Up. Where it solved your query, mark it as a SOLUTION so it can help other people!

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

MPP IDEAS

Ideas

Discover ideas and concepts from users like you for how to use Power Pages and take your work to the next level.

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Users online (4,570)