Get-AzEnvironment and Get-AzContext return deprecated ManagementPortalUrl #15429
Labels
Accounts
Issues in Az.Accounts except authentication related
customer-reported
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Description
The cmdlets
Get-AzEnvironment
andGet-AzContext
return an invalidManagementPortalUrl
at least for AzureCloud and AzureChinaCloud environments.The URLs retrieve appear to redirect to the Classic Portals, which I found having been deprecated in December 2017 and shut down in January 2018. Hence the links provided are invalid and in fact not reachable:
I would expect to obtain https://portal.azure.com/ and https://portal.azure.cn/ respectively.
Steps to reproduce
Run either one of the following commands in Powershell, and try visiting the link returned by the cmdlet:
Environment data
Module versions
Debug output
The text was updated successfully, but these errors were encountered: