azure-relay
azure-relay copied to clipboard
Cannot run setup script, Add-AzureAccount fails (not an admin?)
Description
Is the user required to be an Admin on one or more of their subscriptions?
Add-AzureAccount : No subscriptions are associated with the logged in account in Azure Service Management (RDFE). This
means that the logged in user is not an administrator or co-administrator for any account.\r\nDid you mean to execute
Connect-AzureRmAccount?
At D:\GitHub\azure-relay\samples\wcf-relay\scripts\azure\CreateAzureResources.ps1:56 char:16
+ $account = Add-AzureAccount
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Add-AzureAccount], ArgumentException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.AddAzureAccount
Actual Behavior
- Running setup.bat and this CreateAzureResources.ps1fails with this error.
Expected Behavior
- Setup.bat/ps1 should succeed.
Is this using RDFE?