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

Doesn't work on Azure.Gov subscriptions #11

Open
rfarmer-inet opened this issue Oct 26, 2018 · 0 comments
Open

Doesn't work on Azure.Gov subscriptions #11

rfarmer-inet opened this issue Oct 26, 2018 · 0 comments

Comments

@rfarmer-inet
Copy link

rfarmer-inet commented Oct 26, 2018

Fails to set the Subscription ID in Azure.Gov subscriptions.

2018-10-26T19:18:13.0318481Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM\5.7.0\AzureRM.psd1 -Global
2018-10-26T19:18:24.9083939Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM.Profile\4.6.0\AzureRM.Profile.psd1 -Global
2018-10-26T19:18:24.9618470Z ##[command]Add-AzureRMAccount -ServicePrincipal -Tenant *** -Credential System.Management.Automation.PSCredential
2018-10-26T19:18:25.9253957Z ##[command]Select-AzureRMSubscription -SubscriptionId ********************** -TenantId ***
2018-10-26T19:18:26.1296402Z ##[error]Please provide a valid tenant or a valid subscription.

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

No branches or pull requests

1 participant