- Introduced secrets detection feature to safeguard sensitive data.
When the PowerShell module Version 0.10.0 of the Az.Subscription got released, it was reported that there were significant number of breaking changes related to mismatch of parameters that got added to the module. Our public facing help document also depicted the older version of the module and hence there was a discrepancy.
The latest module that got auto generated from Swagger resulted not only in changing certain parameter names, but also introducing new parameters which we did not support in the past. Additionally, our public help facing document was still displaying the module with older cmdlet parameters that was a cause of confusion.
We did a hotfix for this issue and created a new release 0.11.0. Most of the changes made, reflect parity with the public Swagger and we have now fixed the parameters issue. Features of the new release mentioned below:
New-AzSubscriptionAlias
now supports additional input "ManagementGroup" to associate the subscription with, additional owner and tenant for the subscription.- The parameter
SubscriptionName
has been changed toDisplayName
. However,SubscriptionName
is still available as an alias parameter forDisplayName
. Updated-AzSubscription
cmdlet which was used for cancel, enable, and rename operations is replaced with new separate cmdlets to directly reflect actions:Disable-AzSubscription
,Enable-AzSubscription
, andRename-AzSubscription
.- New cmdlets (
Get-AzSubscriptionAcceptOwnershipStatus
&Invoke-AzSubscriptionAcceptOwnership
) are introduced to handle / to work with invitation model - to get the status and to accept the invitation for new subscription creation. - Public documentation updated for PowerShell version for create subscription flow as 0.9.0.
- Removed the default value for the
New-AzSubscriptionAlias
cmdlet parameterSubscriptionId
. - Removed the default value for the
Get-AzSubscriptionAcceptOwnershipStatus
cmdlet parameterSubscriptionId
and mark the parameter as mandatory. - Removed the default value for the
Invoke-AzSubscriptionAcceptOwnership
cmdlet parameterSubscriptionId
and mark the parameter as mandatory.
- Upgrade API version to 2021-10-01.
- Fixed
New-AzSubscriptionAlias
cmdlet to make the Workload parameter mandatory.
- Updated Microsoft.Azure.Management.Subscription .Net SDK version to 2.0.0
- Added new cmdlets
New-AzSubscriptionAlias
,Get-AzSubscriptionAlias
,Remove-AzSubscriptionAlias
and Removed cmdletNew-AzSubscription
- Added new cmdlet
Update-AzSubscription
- Update references in .psd1 to use relative path