Forum Discussion

muhammadimran-dev's avatar
Mar 11, 2021
Solved

Get All Users from Tenant

Kindly share your ideas on how can I get all of the users data from Azure Active Directory and store all of those users to my any SQL database?

  • You can retrieve the users through the Graph API or Azure AD Powershell.
    You can use the command Get-AzureADUser -All $true

    You can than transfer that data into an SQL DB

2 Replies

  • Thijs Lecomte's avatar
    Thijs Lecomte
    Bronze Contributor
    You can retrieve the users through the Graph API or Azure AD Powershell.
    You can use the command Get-AzureADUser -All $true

    You can than transfer that data into an SQL DB

Resources