This script makes use of "Get-AzureADUser" to export all Users in the current tenant. It includes the ownership information as well. The export is stored in XML format using Export-Clixml so it can be easily re-imported later.
.\Backup-AzureUser.ps1 [<CommonParameters>]
There are no parameters available
It creates "AAD_Users.xml" in the same location as the script is being executed from.