Forum Discussion
fabin10
Aug 12, 2021Brass Contributor
How to get the organization/company name in bot and message extension
Hi, I am using the bot framework to create the bot and message extensions. I would like to know how to get the organization/company name in bot and extension. In the bot payload(context), I can s...
Prasad_Das-MSFT
Microsoft
Aug 13, 2021fabin10
There are two common reasons that cause this particular error:
The first being the Azure AD application is not figured to be available to any organization. You can confirm the Azure AD application is configured correctly by checking the supported account type configuration found in the authentication section.
The second reason you might encounter this error is due to the Azure AD consent framework.
And as you mentioned ,In the bot payload(context), you will get tenant Id but won't the organization details. You can refer this link to get Org details using MS Graph API.