85.bot-authentication-sni for Python works with tunneling, but fails when you deploy in Azure using template-BotApp-with-rg.json
due to missing variables necessary for SN+I certfiicate
#4031
Labels
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information
Describe the bug
Need to add additional variables in template-BotApp-with-rg.json for the keyvault to retrieve certificate.
In
parameters-for-template-BotApp-with-rg.json
you also need to make sure to map itAzure CLI fails when running
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the CLI to say deployment was successful. Furthermore, I expect this to work from the test in webapp when deployed to Azure.
{"code": "InvalidTemplate", "message": "Deployment template validation failed: 'The following parameters were supplied, but do not correspond to any parameters defined in the template: 'UMSIName, UMSIResourceGroupName'. The parameters defined in the template are: 'groupName, groupLocation, azureBotId, azureBotSku, azureBotRegion, botEndpoint, appType, appId, tenantId'. Please see https://aka.ms/arm-pass-parameter-values for usage details.'.", "additionalInfo": [{"type": "TemplateViolation", "info": {"lineNumber": 0, "linePosition": 0, "path": ""}}]}
If applicable, add screenshots to help explain your problem.
Additional context
I got rid of UMSIName, UMSIResourceGroupName and added keyVaultName, certficateName, and certficateThumbprint in the parameters. The Azure CLI deployment is successful after that, however, the webapp still fails to respond and appears to fail to start up due to the following from the log stream from Azure webapp
The text was updated successfully, but these errors were encountered: