Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run setup script, Add-AzureAccount fails (not an admin?) #31

Open
dlstucki opened this issue Nov 2, 2018 · 1 comment
Open

Comments

@dlstucki
Copy link
Contributor

dlstucki commented Nov 2, 2018

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

  1. Running setup.bat and this CreateAzureResources.ps1fails with this error.

Expected Behavior

  1. Setup.bat/ps1 should succeed.
@jfggdl
Copy link

jfggdl commented Nov 8, 2019

Is this using RDFE?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants