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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Top Solution Authors
Users online (2,571)