-
Notifications
You must be signed in to change notification settings - Fork 850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to authenticate on Azure China Cloud using CLI based authentication #22705
Comments
I guess this is about the error mentioned in turbot/steampipe-plugin-azuread#167 (if not, please share details about the error)? That error suggests the CLI requested a token for Graph in Azure Public Cloud from Azure China i.e., someone called |
Hi @bigdatasourav. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation. |
Thanks for the quick reply @chlowell, So below is the correct way(Set the base URL) to set the China Cloud endpoint? or do I need to update the authentication provider as well -
|
That looks like the right function to me because judging by its name, NewAzureIdentityAccessTokenProviderWithScopes does what you need, but I'm not familiar with these modules (they aren't part of the Azure SDK). You may need to pass |
Hi @bigdatasourav, since you haven’t asked that we |
Bug Report
Here is my code -
It should work with Azure China Cloud
The text was updated successfully, but these errors were encountered: