Export Azure AD users with Microsoft Graph PowerShell
The old Azure AD module will soon be deprecated, so you need to use the MS Graph PowerShell module to get the user information. With the Get-MgUser cmdlet, you can get and export all Azure AD user details. In this…