Welcome to the Bot Framework samples repository. Here you will find task-focused samples in C#, JavaScript/TypeScript, and Python to help you get started with the Bot Framework SDK!
Is your feature request related to a problem? Please describe.
Add parameter to specify if deployment is for Public Azure or US Gov Cloud.
Describe the solution you'd like
Since only one sovereign/national cloud is currently supported by Azure Bot Service, add a flag that toggles the specific environment variable/Application Setting (Azure Web Apps) that needs to be configured for an US Gov bot to work correctly. (Authentication with a non-public Azure App Registration)
Describe alternatives you've considered
Documenting how to set the required Gov cloud setting, which would add more for a user to read and another command for the user to run before the can successfully deploy their bot to Gov. This would provide a noticably difference in UX for US Gov vs Public Azure users.
In the future, this setting should probably be an enum, and an object variable in the ARM template would be used to verify/get the actual value for the Application Setting (e.g. "usgov" == "https://botframework.azure.us")
Note: for Public Cloud, there is no setting that needs to be set.
Is your feature request related to a problem? Please describe. Add parameter to specify if deployment is for Public Azure or US Gov Cloud.
Describe the solution you'd like Since only one sovereign/national cloud is currently supported by Azure Bot Service, add a flag that toggles the specific environment variable/Application Setting (Azure Web Apps) that needs to be configured for an US Gov bot to work correctly. (Authentication with a non-public Azure App Registration)
Describe alternatives you've considered Documenting how to set the required Gov cloud setting, which would add more for a user to read and another command for the user to run before the can successfully deploy their bot to Gov. This would provide a noticably difference in UX for US Gov vs Public Azure users.
In the future, this setting should probably be an enum, and an object variable in the ARM template would be used to verify/get the actual value for the Application Setting (e.g.
"usgov" == "https://botframework.azure.us"
)Note: for Public Cloud, there is no setting that needs to be set.
[enhancement]