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
Carousel News & Announcements 768460.png

What's New in the Community?

Check out the latest News & Events in the community!

Carousel Community Blog 768x460.png

Check out the Community Blog

Read all about the most recent blogs in the community!

MPP IDEAS updated 768x460.png

Ideas

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

Need Assistance in the Community.PNG

Community Support

Learn more about how to interact in the community and more.

Users online (2,978)