keesschollaart81 / AzureCostInsights.Marketplace

Azure Cost Insights - A widget for Azure DevOps (Maintenance repo)
https://marketplace.visualstudio.com/items?itemName=keesschollaart.AzureCostInsights
25 stars 8 forks source link

Support for US Gov Subscriptions #35

Open AUGuru opened 3 years ago

AUGuru commented 3 years ago

Error: Get Token request returned http error: 400 and server response: {"error":"invalid_request","error_description":"AADSTS900382: Confidential Client is not supported in Cross Cloud request.\r\nTrace ID: c9ed2563-4de4-4eb2-a19f-77d6d977cb00\r\nCorrelation ID: fe8f5f61-c693-4eb9-9b85-3af720689ea2\r\nTimestamp: 2020-11-13 16:59:24Z","error_codes":[900382],"timestamp":"2020-11-13 16:59:24Z","trace_id":"c9ed2563-4de4-4eb2-a19f-77d6d977cb00","correlation_id":"fe8f5f61-c693-4eb9-9b85-3af720689ea2"}

It's pretty easy fix, we just need to be able to select Azure Authority Host so it uses .US instead of .Com https://blog.jongallant.com/2020/02/azure-identity-other-clouds/

Sun5Kong commented 2 years ago

The same problem as Azure China!