microsoftgraph / aspnetcore-connect-sample

[ARCHIVED] This ASP.NET Core MVC sample shows how to connect to Microsoft Graph using delegated permissions and the Azure AD v2.0 (MSAL) endpoint.
MIT License
123 stars 96 forks source link

Retrieve user groups in Startup.cs #64

Closed sameer-kumar closed 1 year ago

sameer-kumar commented 4 years ago

Bug description A clear and concise description of what the bug is.

Repro steps I'm trying to modify the your sample to pull user group membership in Startup.cs class file so that I can add user groups as claims. But I could not make it to work. Is it something not possible or I'm doing something wrong? Can you please help me with sample code or pointers? Thank you!

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

jasonjoh commented 1 year ago

Closing issue as we are archiving this repository.