Replies: 0 comments 9 replies
-
|
@mikhailkoliada any thoughts into this please? i am getting the same exact issue as @tedm13 . |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I faced similar issue and I resolved issue by registering resource provider of azure storage account az provider register –namespace Microsoft.Storage |
Beta Was this translation helpful? Give feedback.
-
|
I tried various things, but I think it was literally just a matter of waiting < 1 hr. for the new account to be set up. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I've recently had troubles running the scripts specifically the GenerateResourcesAndImage, the result is with an error saying it is unable to find the Subscription however it will create the resource group but it will not create the storage account to hold the resources. I've had this working in a different subscription but not in a subscription I just created to isolate all the build images. The new subscription has the proper IAM roles and I've tried creating a app registration thinking there was an access issue but it didn't work.
I'm also running this script locally in windows/powershell and have had it working but when switching the target subscription I receive errors.
Below is the command I run.
GenerateResourcesAndImage -SubscriptionId {SubscriptionID} -ResourceGroupName "rg-st-ubuntu-eastus" -ImageGenerationRepositoryRoot "$pwd" -ImageType Ubuntu2004 -AzureLocation "East US" -AzureClientId {AzureClientId} -AzureClientSecret {AzureClientSecret} -AzureTenantId {AzureTenantId }
This is the output that I get
Name : DevOps Pipelines {IDs}
Account : {SubsAccount}
Environment : AzureCloud
Subscription : {SubscriptionID}
Tenant : {TenantID}
TokenCache :
VersionProfile :
ExtendedProperties : {}
ResourceGroupName : rg-st-ubuntu-eastus
Location : eastus
ProvisioningState : Succeeded
Tags :
TagsTable :
ResourceId : /subscriptions/{SubscriptionID}/resourceGroups/rg-st-ubuntu-eastus
ManagedBy :
Delete Resource Group
The resource group you specified already exists. Do you want to clean it up?
[Y] Yes [N] No [S] Stop [?] Help (default is "Y"): N
GenerateResourcesAndImage : Subscription {SubscriptionID} was not found.
At line:1 char:1
Platforms affected
Virtual environments affected
Image version and build link
I'm using the latest from master
Is it regression?
No
Expected behavior
To be able to generate the resources and images.
Actual behavior
Erroring out right after the resource group is created.
Repro steps
Beta Was this translation helpful? Give feedback.
All reactions