Skip to content

Commit 6b760e2

Browse files
authored
Fix US GovCloud AD endpoint for AZURE_ARM provider
Use active directory endpoint from `az cloud list` output.
1 parent c899034 commit 6b760e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libcloud/common/azure_arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def parse_error(self):
101101
"sqlManagementEndpointUrl": "https://management.core.usgovcloudapi.net:8443/",
102102
"sqlServerHostnameSuffix": ".database.usgovcloudapi.net",
103103
"galleryEndpointUrl": "https://gallery.usgovcloudapi.net/",
104-
"activeDirectoryEndpointUrl": "https://login-us.microsoftonline.com",
104+
"activeDirectoryEndpointUrl": "https://login.microsoftonline.us",
105105
"activeDirectoryResourceId": "https://management.core.usgovcloudapi.net/",
106106
"activeDirectoryGraphResourceId": "https://graph.windows.net/",
107107
"activeDirectoryGraphApiVersion": "2013-04-05",

0 commit comments

Comments
 (0)