Attached is the script.
Prerequisites to run the script:
MSOnline and AzureRM PowerShell modules must be installed, user must be domain admin.
To install MSOnline cmdlet, Run 'Import-Module MSOnline'
Attached is the script.
Prerequisites to run the script:
MSOnline and AzureRM PowerShell modules must be installed, user must be domain admin.
To install MSOnline cmdlet, Run 'Import-Module MSOnline'