I'm able to deploy Azure Bot registration channel using Azure CLI template
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-deploy-cli
But I can't figure out how to set Facebook Channel credentials for new-created channel in the same script.
https://docs.microsoft.com/en-us/bot-framework/bot-service-manage-channels
I can't find any informations in the official docs
Here is part of my deployment template:
{
"resources": [
{
"type": "Microsoft.BotService/botServices",
"sku": {
"name": "[parameters('sku')]"
},
"kind": "[parameters('kind')]",
"name": "[parameters('botId')]",
"apiVersion": "2017-12-01",
"location": "global",
"properties": {
"name": "[parameters('botId')]",
"displayName": "[parameters('botId')]",
"endpoint": "[variables('botEndpoint')]",
"msaAppId": "[parameters('appId')]",
"developerAppInsightsApplicationId": "[variables('insightsName')]",
"developerAppInsightKey": "[reference(resourceId('microsoft.insights/components/', variables('insightsName')), '2015-05-01').InstrumentationKey]",
"enabledChannels": [
"webchat",
"directline",
"facebook"
],
"configuredChannels": [
"webchat",
"facebook"
]
},
"dependsOn": [
"[resourceId('microsoft.insights/components/', variables('insightsName'))]"
]
}
]
}
Any ideas here?