We use a number of roles for authenticated dashboards and using OIDC to authenticate against AAD. Only certain users are getting all claims from roles.ps1.
Users that authenticate only receive:
Operator
Reader
Execute
But other users receive the custom claims from AAD groups, I have tried increasing the MaxRequestHeadersTotalSize but did not work. Do you have any other suggestions?
Are the users missing claims not receiving any claims from AAD? I would check to see what the $User object looks like in roles.ps1 for those users. It could be a configuration thing with AAD.
I’ll typically just convert it to JSON and export it.
The membership count varies but I would say max group membership ~150. The users that are not getting claims, I do not see any group claims in the json file.
The App Reg does has groupMembershipClaims set to All in the manifest.
Assignment Detail looks good on users with many groups associated with PSU Roles and on a user that only has one group assigned to a PSU Role.
In the claims json file, it does show the correct object id and tenant. But looking at it, for user that it is working on I see all of the group claims, but for users that it is not working on, I see this: