Deploying the Moodle Bot in Azure not successful, following the steps in the documentation... #1143
Labels
Issue type - help wanted
General questions on how to use the plugins, e.g. configurations etc.
Plugin - local_o365
i followed all the steps to deploy the moodle bot in azure but the deployment always failed showing this error:
{
"error": {
"code": "InvalidBotData",
"message": "Invalid Service Provider Id. "
}
}
to fix this i had to follow these steps:
--> delete the already created Resources or the Resourcegroup, if you created a new one for the moodle bot, to get a fresh deployment.
--> on the "custom deploymentpage", where you enter all the data to deploy the Teams Bot click "Edit template"
--> delete the following lines in the template:
--> on Line 108 delete: "serviceProviderDisplayName": "Azure Active Directory v2",
--> on Line 172 delete: "serviceProviderDisplayName": "[variables('serviceProviderDisplayName')]",
--> Click on save, to save the template
--> fill in all the required data and click on "purchase" to start the deployment once again
--> the deployment should be successful now!
please fix the template, so it does work out of the box. Also the steps to register the Teams Bot Application are not up to date any more, since you have to do this over the azure portal (App Registrations) now. Please update the manual accordingly.
Thanks a lot!
The text was updated successfully, but these errors were encountered: