Azure / Azure/azure-rest-api-specs
`Microsoft.Subscription` - Failed to create alias subscription
Open
Nobody has claimed this yet.
customer-reported
question
Service Attention
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 6k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 432
Description
Hi, our customer got the following error when creating an alias subscription with the PUT API, could someone kindly help have a check?
PUT /providers/Microsoft.Subscription/aliases/c15354e0-07ea-42b5-ba43-fd024b977f92?api-version=2020-09-01 HTTP/1.1
[31566](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31566)
Host: management.azure.com
[31567](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31567)
User-Agent: Go/go1.19.3 (amd64-linux) go-autorest/v14.2.1 Azure-SDK-For-Go/v66.0.0 subscription/2020-09-01 HashiCorp Terraform/1.3.6 (+https://www.terraform.io)/ Terraform Plugin SDK/2.10.1 terraform-provider-azurerm/dev pid-222c6c49-1b0a-5959-a213-6608f9eb8820
[31568](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31568)
Content-Length: 287
[31569](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31569)
Content-Type: application/json; charset=utf-8
[31570](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31570)
X-Ms-Authorization-Auxiliary:
[31571](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31571)
X-Ms-Correlation-Request-Id: dbf355ac-72ff-084d-93dd-4f64d4959ace
[31572](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31572)
Accept-Encoding: gzip
[31573](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31573)
{"properties":{"displayName":"******-prod","workload":"Production","billingScope":"/providers/Microsoft.Billing/billingAccounts/******/billingProfiles/******/invoiceSections/******"}}: timestamp=2022-12-16T18:30:59.924Z
[31575](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31575)
2022-12-16T18:31:01.378Z [DEBUG] provider.terraform-provider-azurerm_v3.35.0_x5: AzureRM Response for https://management.azure.com/providers/Microsoft.Subscription/aliases/c15354e0-07ea-42b5-ba43-fd024b977f92?api-version=2020-09-01:
[31576](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31576)
HTTP/2.0 429 Too Many Requests
[31577](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31577)
Content-Length: 191
[31578](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31578)
Cache-Control: no-cache
[31579](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31579)
Content-Type: application/json; charset=utf-8
[31580](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31580)
Date: Fri, 16 Dec 2022 18:31:00 GMT
[31581](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31581)
Expires: -1
[31582](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31582)
Mise-Correlation-Id: d8b6a649-6348-4ee2-9c1c-a076a02fc4a7
[31583](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31583)
Ms-Cv: y/zacEKzSk6sUqi2l5w1OQ.0
[31584](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31584)
Pragma: no-cache
[31585](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31585)
Request-Id: dbf355ac-72ff-084d-93dd-4f64d4959ace
[31586](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31586)
Server: Microsoft-IIS/10.0
[31587](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31587)
Strict-Transport-Security: max-age=31536000; includeSubDomains
[31588](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31588)
X-Aspnet-Version: 4.0.30319
[31589](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31589)
X-Content-Type-Options: nosniff
[31590](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31590)
X-Gsm: 1.0.0.0
[31591](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31591)
X-Ms-Correlation-Request-Id: dbf355ac-72ff-084d-93dd-4f64d4959ace
[31592](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31592)
X-Ms-Ratelimit-Remaining-Tenant-Writes: 1197
[31593](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31593)
X-Ms-Request-Id: d069f58c-f1b0-47be-bf3c-e065bbcfdef8
[31594](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31594)
X-Ms-Routing-Request-Id: EASTUS2:20221216T183101Z:d069f58c-f1b0-47be-bf3c-e065bbcfdef8
[31595](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31595)
X-Powered-By: ASP.NET
[31596](https://github.com/Three-Way-Handshake/Bachelor-baseline/actions/runs/3715403153/jobs/6300939810#step:9:31596)
{"error":{"code":"TooManyRequests","message":"Subscription is not created. Please try again later."},"code":"TooManyRequests","message":"Subscription is not created. Please try again later."}: timestamp=2022-12-16T18:31:01.378Z
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Azure Subscription alias-create API documentation and the captured PUT request and 429 response in the issue. Determine whether the failure indicates a REST API specification problem or an Azure service behavior; done means documenting a confirmed cause and an actionable specification or issue resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go, terraform
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100