Can't get roles from user when SSO implemented on an application

Sima 41 Reputation points
2022-02-25T13:23:15.497+00:00

I have a problem getting user roles when implementing SSO on my application. I tried sending it via 'claims & attributes' but the attribute user.assignedroles doesn't work. Can I get some help please?
Kind regards, Bojan

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Accepted answer
  1. James Hamil 27,221 Reputation points Microsoft Employee Moderator
    2022-03-01T20:31:07.393+00:00

    Thank you @Sima for providing a solution. I'll summarize it here so other users can reference it. Please verify it if you don't mind!

    When configuring role claims as described in this document, be sure to Create a user instead of inviting them. With the newly created "Member" type user, you can call the APIs.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.