Podijelite povratne informacije:
Voljeli bismo vaše povratne informacije o dokumentima za programere usluge Microsoft Teams. Molimo vas da odgovorite na našu kratku anketu od tri pitanja.Ispunite anketu
Ovaj preglednik više nije podržan.
Nadogradite na Microsoft Edge da iskoristite najnovije osobine, sigurnosna ažuriranja i tehničku podršku.
You can use certificate- or MSI-based authentication to validate your bot app instead of bot ID and secret. This authentication resolves the compliance concerns related to the use of Microsoft Entra ID and bot secret.
Prerequisites
Ensure that you have a Teams bot app deployed to Azure with the following resources:
An Azure bot.
An Entra ID with a secret used for bot authentication.
A resource that hosts your bot app, such as Azure App Service, Azure Functions.
Select your Resource group from the dropdown list.
If you don't have an existing resource group, you can create a new resource group. To create a new Azure bot service and managed identity, follow these steps:
Select Create new.
Enter the resource name and select OK.
Select a location from New resource group location dropdown list.
Under Microsoft App ID, select Type of App as User-Assigned Managed Identity.
From the Creation type, select Create new Microsoft App ID.
OR
You can manually create a managed identity first, then create the Azure Bot using the Use existing app registration.
Update the new Azure Bot messaging endpoint and channels to match those of the old service.
Go to your apps hosting resource.
Select Settings > Identity > User assigned.
Add the managed identity that you've created.
Update your bot app code for MSI
To update the bot app code for MSI, follow these steps:
Open your bot app project in Visual Studio or Visual Studio Code.
Izvor za ovaj sadržaj može se naći na usluzi GitHub, gdje takođe možete da kreirate i pregledate probleme i povučete zahtjeve. Za više informacija pogledajte naš vodič za saradnike.
Platform Docs povratne informacije
Platform Docs je projekat otvorenog koda. Odaberite vezu za pružanje povratnih informacija:
This module is designed to provide administrators with the knowledge and skills needed to manage authentication effectively using Microsoft Entra ID, ensuring secure access to resources and enhancing user experience.
Learn how to use an existing Microsoft Entra app in TeamsFx or create a new app for TeamsFx, set up info in TeamsFx project, and upload the app to Azure.
Learn how to enable authentication using third-party provider to a bot app in Teams using Entra ID. Learn to create and register bot resource group and service plan.
Learn about TeamsFX multiple environment, use env files with Teams Toolkit, create a new environment manually in Visual Studio Code, and select target environment.