microsoft / BotFramework-Emulator

A desktop application that allows users to locally test and debug chat bots built with the Bot Framework SDK.
https://aka.ms/botemulator
MIT License
1.82k stars 756 forks source link

Botframework Emulator not working with UserAssignedMSI #2418

Closed frostymountain closed 1 year ago

frostymountain commented 1 year ago

I've upgraded my bot to .Net6 and want to test it with the Botframework Emulator.

On Azure I am using a UserAssignedMSI for my Azure Bot. For this to work I need to leave the password blank. But when I try to use the Emulator with the UserAssignedMSI credentials that I have entered in the the appsettings.json file I get the following error:

Cannot post activity. Unauthorized.

frostymountain commented 1 year ago

Right, I have to test with multi-tenant.