How to Get Azure Active Directory All Users List in Blazor Webassembly ?

Kuldeep Y 41 Reputation points
2022-11-14T10:02:12.66+00:00

Hello,
I Want to Save all Azure active directory user information in my local database, so I want to fetch all Azure active directory Users data through Blazor web assembly app Any help would be awesome.

Developer technologies .NET Blazor
Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2022-11-14T17:48:50.637+00:00

    your blazor app will need to login (msal) to azure ad with an account that has enough permission. then use graphapi to get the account data. see docs:

    https://learn.microsoft.com/en-us/aspnet/core/blazor/security/webassembly/graph-api?view=aspnetcore-7.0


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.