-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[EventHub]"azure.eventhub.exceptions.AuthenticationError: Unable to open authentication session on connection EHProduce" on UsGov and China cloud #20875
Comments
@yunhaoling What are your ideas on this issue? |
hey @v-xuto , could you give some guidance on creating resources on the UsGov and China cloud? e.g. links would be helpful |
@yunhaoling Creating resources is the same as in the public cloud. I don't understand your question too much. |
@v-xuto , sorry for not making it clear. so when I tried to create EH resource on portal.azure.come, I didn't find a location with name "China" or "US Gov" in it: so I'm wondering whether it needs a separate dedicated subscription or the China/US Gov cloud has its own portal. |
@yunhaoling The China/US Gov cloud has its own portal.
|
thanks @v-xuto , I'll try it! |
@yunhaoling when using the SDK you have to specify the right endpoint suffixes and tenant ids/authority hosts. Often this involves updating the ARM template to use the parameter |
@benbp - To resolve this issue, please help add a parameter variable to suffix UsGov - |
@benbp Any progress? Please help configure |
@v-xuto this is already available as
|
@benbp Okay. Thanks. Are you sure you set the parameter Because after I modified the file However, I directly update |
@v-xuto Ok I think there was an issue with Azure Pipelines not refreshing it's cache of the subscription configuration secrets. Sorry I didn't notice that earlier. I refreshed the cache and re-ran your failed pipeline jobs, but for some reason I think it's picking up your latest changes with the |
@v-xuto I'm doing some testing but the issue should be fixed now. My updating scripts were targeting the wrong secret :( I'm going to prioritize some work to move these values into a more observable place so you can update and inspect them yourself, and also support logging non-secret arm parameter values. |
We are running live Tests against other clouds like US Gov and Azure China Cloud. The goal is to check whether new azure sdk package work with other clouds or not.
Error Description:
When running the Test Samples sync_samples/authenticate_with_azure_named_key_credential.py on UsGov and China cloud, it runs failed and the error message is shown as following, for more details please check here:
Error Track:
The code that failed is here:
Expected Behavior:
In file test-resources.json, EVENT_HUB_HOSTNAME is available in UsGov and China Cloud.
@benbp , @jameszliao-msft , @lmazuel , @lilyjma , @ramya-rao-a and @annatisch for notification.
The text was updated successfully, but these errors were encountered: