s

Azure Bot Service bot framework The bot's Microsoft App ID or Microsoft App Password is incorrect edit button Edit

author
Murugan Andezuthu Dharmaratnam | calendar 09 December 2021 | 1871

I am getting this error for bots azure bot service which I have selected the option "Use existing app registration" while creating the bot service.

Error Exception

{ "message": "The bot's Microsoft App ID or Microsoft App Password is incorrect.", "status": 400 }

Solution

When the supported account types is set to single tenant, if you use a personal subscription instead of a Microsoft account, the Emulator would issue the error: The bot's Microsoft App ID or Microsoft App Password is incorrect..

Go AD Application registration : Select Authentication -> Supported Account Type -> Accounts in any organizational directory ( Any Azure AD Directory - Multitenant )

Check AD registration to see if the supported account types is set to Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Xbox).