Firstly, the warning comes with the CLI deployment command you are using. Use "az deployment group" CLI command along with the required arguments for successful bot service deployment.
Refer ARM templates MS Doc for more relevant detailed procedure of deploying it.
Now, coming to the issue it looks that the APPINSIGHTS_INSTRUMENTATIONKEY property has not been correctly configured in the "properties" block of a bot resource provider. It should be in the below given format.
"properties": {
"applicationInsights": {
"instrumentationKey": "[parameters('appInsightsInstrumentationKey')]"
}
}
You can also go through with this Github document for Bot app complete ARM structure.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.