From the course: Microsoft Teams Bot Development

Bots as AzureAD applications

From the course: Microsoft Teams Bot Development

Bots as AzureAD applications

- [Instructor] Now with my bot registered in the Azure portal and the teams channel added, I see this curious little link here called Manage. Microsoft App ID Manage. What does that do? Let's click on it. Now, it'll ask me to sign in again because I'm not signed into that particular area, that particular website that allows me to manage this as an app. If it takes you indirectly please make sure that you're signed in using the same identity here as you're going to sign in here. So, let me provide those credentials. So see they're the same identity or definitely in the same tenancy, but you need to log in as an admin for that tenancy. Now you see here that my bot appears, hey, just as an Azure AD Application. If you scroll down here it's already generated a password for me, but, you know what, I don't know what this password is. It generated it for me, but it never told me what the password is. So, the first password generated is pretty much useless. I am sure this experience will get better with time, but what you need to do is you need to generate a new password here and that app ID and that password is what you paste in your code. Okay, so I'm not going to repeat that demo because we just saw it, but that's what you do. Just to prove that this is just an Azure AD Application, when I click on this add a platform button you see that I can enable it via web application, Native app, Web API. So, I have another course on LinkedIn where I talk about Microsoft Graph where I've talked of these options in depth. So, I'd recommend you check that out. Owners, you can add owners and check this out. The same thing I taught in the Microsoft Graph Course where you have this delegated permissions, application permissions, and the same sort of permissions that any Azure AD Application has I can add those for my bot. So yeah, the bot is an Azure AD Application as far as teams is concerned. So, anything that Azure AD Applications can do like talking to Microsoft Graph, your bot can do, right. So this is how, generally speaking, how bots are registered and how they work inside of Azure portal and if you have existing bot registrations that are in the old portal, you can simply click this migrate button and it'll take you through a simple dialog box, a little wizard and basically at the end of this wizard your bot will now be working inside of Azure portal. So, this is how bots are registered in Azure portal and that the service app inside of Azure AD is nothing, but just Azure AD Applications.

Contents