Related command
Describe the bug
Starting az cli version 2.37.0, creation of keyvault in Azure Stack is failing with error "The endpoint 'microsoft_graph_resource_id' for this cloud is not set but is used"
The same command works with version 2.36.0
To Reproduce
az login # login to any Azure Stack Environment
az keyvault create --name {} --resource-group {} --location {}
Environment summary
Windows-10-10.0.22000-SP0
Python 3.10.4
Installer: MSI
azure-cli 2.37.0
Additional context
Error Log
cli.azure.cli.core.azclierror: The endpoint 'microsoft_graph_resource_id' for this cloud is not set but is used.
C:\Users\<user>\.azure\clouds.config may be corrupt or invalid.
Resolve the error or delete this file and try again.