microsoftgraph / msgraph-cli-archived

The Microsoft Graph CLI repository has moved. This repository is now an archive.
https://github.com/microsoftgraph/msgraph-cli
Other
44 stars 9 forks source link

Adding A Cloud Fails During Local Certificate Verification #89

Closed jobala closed 3 years ago

jobala commented 3 years ago

Describe the bug When users add a new cloud, the command will fail with a invalid endpoint error

To Reproduce Steps to reproduce the behavior:

  1. Run mg profile add-cloud --name Custom --graph-endpoint 'https://graph.microsoft.com' --azure-ad-endpoint https://login.microsoftonline.com

Expected behavior Expected to have the cloud added successfuly.

Screenshots N/A

Additional context We validate the graph endpoint by making a get request to it using urllib for this. AB#9008