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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,501)