locked
Read Azure Ad user list RRS feed

  • Question

  • User-590375999 posted

    Hi,

    I need to read all the user details in my company azure ad from asp.net web api? should i logged in to Azure Ad to get the user list?

    Wednesday, April 15, 2020 1:21 PM

All replies

  • User283571144 posted

    Hi sivapooja,

    As far as I know, you could use Graph API List users to get all the user in current Ad domain to achieve this. 

    More details about the graph api, you could refer to below article.

    https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-graph-api 

    Best Regards,

    Brando

    Thursday, April 16, 2020 6:24 AM
  • User-590375999 posted

    Dear Brando,

    I am bit confused, this is my development structure

    Web Client - Vanilla JS SPA - MSAL Implicit Flow Authentication

    Web API - .Net Framework Web API - Validate token from Web Client and send the requested resource if token valid.

    i need to get organization user list from azure ad and show in web Client

    can i query from javascript spa? or should i query from asp.net web api and send the list to Web Client

    Friday, April 17, 2020 4:15 AM