Recently I was unable to publish my bot to Azure using publishing profile.
I was getting: TypeError - Cannot Read property 'AzureSubscriptionId' of undefined
error.
The bot ran locally just fine.
CodePudding user response:
The error was due to incorrect LUIS prediction resource specified in my publishing profile:
"luisResource":"xxxxxx"
I'm posting it here since the error message was really unhelpful and it took me a while to troubleshoot!