-
Notifications
You must be signed in to change notification settings - Fork 12
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
Azure Government Support #15
Comments
Hi @shmack01 - thanks for reporting this. I've attached an updated version of the extension (gov-friendly-vscode-azurecognitivesearch.zip) for you with a small tweak that will make this work for gov cloud. To install it:
After installing the extension, please make sure the settings of the Azure Account extension look like this: And that the settings for the Azure Cognitive Seach extension (Settings -> Extensions -> Azure Cognitive Search) look like this: Could you let me know if that works for you? |
In case you're wondering, the updated extension I attached changes the value of this line to point to I will try to get an update in so this is a better experience and doesn't require a separate version of the extension. |
Works perfectly! Thank you for adding the update for the US Gov endpoint. |
Awesome, glad to hear it :) |
This is a great extension, but it doesn't pick up the current Azure Account environment setting, such as APIM, Function Apps, etc. In VS Code, when you are signed in with the "Azure Account" extension for Azure Government the following error occurs:
Error: The access token has been obtained for wrong audience or resource 'https://management.core.windows.net/". It should exactly match with one of the allowed audiences 'https://management.core.usgovclientapi.net"....
The text was updated successfully, but these errors were encountered: