I hit to the same problem and despite i have tried to edit the script as shown in second post, the system still give me the same problem:
Get-AzureAdTenantDetails : The account you entered 'xxxxxxx@gmail.com' is not an administrator of any Azure Active
Directory tenant.
At C:\CloudDeployment\Setup\Common\InstallAzureStackCommon.psm1:549 char:27
+ ... ntDetails = Get-AzureAdTenantDetails -AADAdminCredential $InfraAzureD ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-AzureADTenantDetails
I'm using 2206 and before hit to this error, I have sucessfully to deploy Azure however due to the change in HW, I have to redeploy the system and this time I hit to above error.
Does anyone here have the same problem and how we can over come it?
Thank you in advance.