You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
The issue was found for the following scenario:
Please add an 'x' for the scenario(s) where you found an issue
When signing in with the "DirectoryViewers" role , the list of groups where the user is member of is not returned (page is displayed but no list of groups)
When using the UerReader role I can see the list of all users just fine (API permissions are correct and confirmed)
No app errors anywhere, it feels like at some point the graphhelpher call for the groups is coming back empty
Expected behavior
With DirectoryViewers role , signed in user should be able to List all the groups and roles the signed in user is a member of
Actual behavior
Groups not listed (previous versions of the sample are working fine)
Possible Solution
Only a theory, but could far from the solution , I think the _graphServiceClient.Me.MemberOf.Request().GetAsync(); call is coming back empty
Additional context/ Error codes / Screenshots
Any log messages given by the failure
Add any other context about the problem here, such as logs.
You can enable Middleware diagnostics by uncommenting the following lines
You can enable personally identifiable information in your exceptions to get more information in the open id connect middleware see Seeing [PII is hidden] in log messages
This issue is for a: (mark with an
x
)The issue was found for the following scenario:
Please add an 'x' for the scenario(s) where you found an issue
Repro-ing the issue
Repro steps
I followed all the documentation from https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/5-WebApp-AuthZ/5-1-Roles to clone the app and deployed it in an Azure App service
When signing in with the "DirectoryViewers" role , the list of groups where the user is member of is not returned (page is displayed but no list of groups)
When using the UerReader role I can see the list of all users just fine (API permissions are correct and confirmed)
No app errors anywhere, it feels like at some point the graphhelpher call for the groups is coming back empty
Expected behavior
With DirectoryViewers role , signed in user should be able to List all the groups and roles the signed in user is a member of
Actual behavior
Groups not listed (previous versions of the sample are working fine)
Possible Solution
Only a theory, but could far from the solution , I think the _graphServiceClient.Me.MemberOf.Request().GetAsync(); call is coming back empty
Additional context/ Error codes / Screenshots
Any log messages given by the failure
Add any other context about the problem here, such as logs.
OS and Version?
Win 11
Versions
Attempting to troubleshooting yourself:
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: