question

AlexanderSorenzon-2448 avatar image
0 Votes"
AlexanderSorenzon-2448 asked NandeeshSwami-2505 answered

Creating a claim with multiple roles for a SAML app, receive multiple roles for a user.

Hello,

Would appreciate some help.

We are trying to create a claim with multiple roles for an app on azure.
Each role has different group applied to it.
We have joined a user to some groups applied to different roles.
But when connecting with this user to the app, we see only 1 role for that user, instead of multiple. ( funniest thing is that the role it receives is always the last one, if we delete the group from that role, it receives the next role from the bottom )

So the question is, is it possible to make the user receive multiple roles, connecting with SAML?

Thanks!

azure-ad-saml-sso
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

NandeeshSwami-2505 avatar image
0 Votes"
NandeeshSwami-2505 answered

If you have AAD Premium Lvl 2, you can associate application roles with groups and when you assign a user to that group, they will gain the roles automatically. The automatic assignment only works for Premium Lvl 2 though.
If you already have L2 and already following what I have mentioned above, Can you provide more context? Take 1 or 2 examples and provide us what roles have you applied to which group, etc.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.