Unregister an Azure Stack from an Azure subscription

If you have registered Azure Stack in the connected scenario with an Azure subscription and want to fully unregister it, the following PowerShell CmdLet will help:

RegisterWithAzure.ps1-azureSubscriptionId $SubID -azureDirectoryTenantName `

$AADTenantID-azureAccountId $AADUserName  -azureCredential (Get-Credential) `

-ReportUsage$false  -EnableSyndication  $false -azureEnvironment “AzureCloud”

Parameters:

-ReportUsage$false

-EnableSyndication  $false 

-azureEnvironment”AzureCloud”

-azureCredential(Get-Credential)

Post author

Leave a Reply