Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample not working as Single Tenant #1278

Closed
diegoriera opened this issue May 20, 2024 · 2 comments
Closed

Sample not working as Single Tenant #1278

diegoriera opened this issue May 20, 2024 · 2 comments

Comments

@diegoriera
Copy link

I customized the sample to implement a single tenant resource, however it is receiving 401 when try to reply to a received message from SMBA.

The method to support single tenant is not present: services.AddSingleton<BotFrameworkAuthentication, ConfigurationBotFrameworkAuthentication>();"
https://github.com/OfficeDev/TeamsFx-Samples/tree/dev/command-bot-with-sso

@SLdragon
Copy link
Contributor

Hi, @diegoriera , if you want to register single tenant bot registration, you need to use bot framework SDK >= 4.15.0. Here is the document about how to setup it:

https://learn.microsoft.com/en-us/azure/bot-service/abs-quickstart?view=azure-bot-service-4.0&tabs=userassigned#prerequisites

You can find your Microsft Entra Id for bot registration from teamsapp.yaml file in sample project:

botAadApp/create Action

@adashen
Copy link
Contributor

adashen commented Aug 5, 2024

Close as there is no more feedback. And the question is answered.

@adashen adashen closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants