From the course: Microsoft Teams Bot Development
Testing the bot in Microsoft Teams
From the course: Microsoft Teams Bot Development
Testing the bot in Microsoft Teams
- [Instructor] At this point, my bot is running in web chat. I have enabled site loading of bots and teams in my tenancy. The next thing to do, is simply go to channels and find the channel for Microsoft Teams and simply click on it. Look at the URL at my status bar though. It says users is equal to... And that's the gued 20th colon and then the gued of my bot. So, yeah you can simply use that URL directly that's all it takes. Once you click on it, it will prompt you to open Microsoft Teams, do ahead and open it. Microsoft Teams launches. Go ahead and sign in. Then once you sign in, it launces you into a conversation with your bot. It's really as simple as this. This is a one to one conversation. But remember I said that bots can also participate in more than one to one. Like they can participate in a group or they can send the user a notification. In order to test those kinds of bots I have to side load the bot inside of Microsoft Teams. I'll cover that in the next chapter. But for now, let's look at just executing the bot in my one to one chat. So, I'll say, search. Wow, so my bot is responding in Microsoft Teams. So, I'll say, who am I searching for? I'll say Sahil Malik. And the card looks different now but yes it is the same card. I can click on a user and it pops open the card and I can as usual click on this and it launches me in here. But here, I have all the features of teams available so I can like this message for instance. Isn't that awesome? So, this is my bar, running inside of my Microsoft Teams.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Make code changes for Teams4m 23s
-
Registering your bot6m 4s
-
Adding the Teams channel1m 20s
-
Exposing the bot using ngrok1m 58s
-
Testing your bot via web chat1m 51s
-
Enable side loading bots in teams1m 56s
-
Testing the bot in Microsoft Teams1m 54s
-
Registering the bot in Azure Portal4m 24s
-
Bots as AzureAD applications2m 48s
-
-
-