Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{AzureSubscription} fixes #20812 fix the workload parameter
fixes #20812 While we run the PS cmdlet `New-AzSubscriptionAlias` it fails with the error: New-AzSubscriptionAlias -AliasName MyTestAlias -BillingScope '/providers/Microsoft.Billing/billingAccounts/XXXXXX/enrollmentAccounts/XXXXXX' -SubscriptionName MysSubscription New-AzSubscriptionAlias: Operation returned an invalid status code 'BadRequest' Debug output: { "error": { "code": "InvalidWorkLoad", "message": "Invalid WorkLoad provided, Only Production or DevTest are allowed" }, "code": "InvalidWorkLoad", "message": "Invalid WorkLoad provided, Only Production or DevTest are allowed" } This PR makes the workload parameter mandatory to avoid the above error.
- Loading branch information