azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

New-AzSubscription cmdlet's future?

Open 1scscott opened this issue 5 years ago • 4 comments

We use this cmdlet in our Azure subscription provisioning application built in Azure functions. We had the function's requirements.psd1 set to pull down the latest version for major version 0.*.

When version 0.8.0 came out the cmdlet was no longer included. To correct we set the version to 'Az.Subscription' = '0.7.3'

Question, is the cmdlet being retired? if so why and what should we use in its place?

We have an EA with Microsoft and need the ability to set Enrollment ID, Offer Type and Object ID of the Subscription Owner.

1scscott avatar Dec 04 '20 20:12 1scscott

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @anuragdalmia, @shilpigautam, @ramaganesan-rg.

Issue Details

We use this cmdlet in our Azure subscription provisioning application built in Azure functions. We had the function's requirements.psd1 set to pull down the latest version for major version 0.*.

When version 0.8.0 came out the cmdlet was no longer included. To correct we set the version to 'Az.Subscription' = '0.7.3'

Question, is the cmdlet being retired? if so why and what should we use in its place?

We have an EA with Microsoft and need the ability to set Enrollment ID, Offer Type and Object ID of the Subscription Owner.

Author: 1scscott
Assignees: -
Labels:

Service Attention, Subscription, customer-reported, question

Milestone: -

ghost avatar Dec 06 '20 13:12 ghost

Involve service team to look into this question.

dingmeng-xue avatar Dec 06 '20 13:12 dingmeng-xue

Thank you. Team will look into this!

ramaganesan-rg avatar Jan 26 '21 23:01 ramaganesan-rg

@1scscott - we have released our GA version for subscription creation APIs which is to use New-AzSubscriptionAlias cmdlet for subscription creation automations. You can see this documented in detail at https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-subscription-enterprise-agreement?tabs=rest-getEnrollments%2Crest-EA.

We are asking everyone to move to adopt to this new cmdlet which is GA. We will keep the preview cmdlet around (only in older versions) until folks have had the chance to migrate and dont have a timeline when we will stop supporting preview versions.

anuragdalmia avatar Jan 26 '21 23:01 anuragdalmia