What should the BillingScope value be when calling New-AzSubscriptionAlias in Azure PowerShell?

RogerT-09987 21 Reputation points
2020-11-13T08:17:47.067+00:00

IAm trying to use the Az.Subscription module New-AzSubscriptionAlias function found here. The function requires a -BillingScope value. Following advice found here it shows that the BillingScope should look something like this:

"/providers/Microsoft.Billing/BillingAccounts/1234567/enrollmentAccounts/7654321"

What should the first and second numbers in that actually be? I assume the enrollment account part is the GUID ObjectId of an enrollment account.

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,285 questions
{count} votes