Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Let us continue with our previous posts on using Microsoft Bot Framework to create a simple bot application that creates a lead in CRM.
In this post, we will be publishing our Bot application to Azure and also test it on Skype. Skype is one of the channel already configured for us.
Open the Azure Portal (Create a free trial if you do not have an account)
Right click on the application and select Publish.
Select Microsoft Azure App Service as the publish target.
Create the app service
Validate the connection and on successful connection click on Publish.
The published Bot Application –
Now to register our bot go to bot framework developer site
Sign in and Click on Register a bot
Enter all the required details.
Here URL will be the Destination URL of Azure where the Bot Application was published.
Click on Manage Microsoft App ID and Password
Click on Generate an Microsoft App ID and password.
Save the password and app id which will be used for configuration later.
Enter the App Id and click on Register to register the Bot.
We will get the message “Bot created” on successful registration.
Back in our bot application, open its web.config and specify value for app id and password and republish the app.
Once it is published successfully, inside our bot we can click on Test to check the connection.
We’d get the message “Endpoint authorization succeeded”.
Scrolling down we can see two channels web and skype already configured.
Click on Add to Skype to add the bot as a contact to skype.
Click on “Add to Contacts”
Sign in with your Skype Credentials.
We can see the Bot added to our contacts.
This is how we can easily publish the Bot to azure and add it to Skype.
Hope it helps..
Business Applications communities