microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
870 stars 372 forks source link

Error Publishing to Government Cloud #8028

Open tconnellredmane opened 3 years ago

tconnellredmane commented 3 years ago

I get 2002 and 1001 error messages when attempting to publish a bot to Azure Government cloud. Sometimes I get a 2002 error and sometimes I get a 1001 error:

image image

This happens whether I am attempting to publish to new or existing Azure resources. My login is authenticating successfully, as an attempt with an incorrect password yields a different error message. The CLI also recognizes that I am already logged in.

My guess is that it is trying to find my subscriptions, but is looking in the wrong cloud environment. I can build the project in VS and publish it using the CLI, but have to call "az cloud set --name AzureUSGovernment" prior to login. Does there need to be a comparable switch/setting in Composer?

cwhitten commented 3 years ago

Hi @tconnellredmane. You are correct, and we are looking to prioritize this in a release in the near future. Please continue to use VS/CLI for the time being, and thank you for your patience.

GeoffCoxMSFT commented 3 years ago

@benbrown Is this already fixed in R14 with your tenant/auth improvements?

benbrown commented 3 years ago

I'm not sure @GeoffCoxMSFT