The commands you are using are for connecting the CLI to Azure Stack Hub. If you are trying to Register the ASDK with Azure, you can find instructions here.
Please let me know what you are trying to accomplish so I can assist you further.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
trying to run following command
az cloud register -n 'AzureCloud'
--endpoint-resource-manager "https://management.local.azurestack.external/" --suffix-storage-endpoint "local.azurestack.external"
--suffix-keyvault-dns ".vault.local.azurestack.external" `
--endpoint-active-directory-graph-resource-id "https://graph.windows.net/"
results in this error
azaz : ERROR: Unable to get endpoints from the cloud.
At C:\Users\mike.fife\Documents\Cloud Register ASDK.ps1:2 char:1
Please ensure you have network connection. Error detail: HTTPSConnectionPool(host='management.local.azurestack.external', port=443):
Max retries exceeded with url: //metadata/endpoints?api-version=2015-01-01 (Caused by SSLError(SSLError("bad handshake: Error([('SSL
routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
certificates are installed and have even tried these commands
set AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1
set adal_python_ssl_no_verify=1
STILL NO JOY
any ideas?
The commands you are using are for connecting the CLI to Azure Stack Hub. If you are trying to Register the ASDK with Azure, you can find instructions here.
Please let me know what you are trying to accomplish so I can assist you further.
I got to this page by receiving the same error Jim did when I actually was trying to connect the CLI to Azure Stack Hub. Turned out to be that I had forgotten to reconnect the VPN to AzureStack after rebooting my client machine. (Idiot!) Just in case this happens to someone else.