Bot Framework Single tenant under java

M.Guilleux 1 Reputation point
2022-06-20T09:07:33.987+00:00

Hi,

I created a single tenant bot type, and I get the following error : 'Failed to acquire token for client credentials. (AADSTS700016: Application with identifier '{Azure AD Registered App ID}' was not found in the directory 'Bot Framework'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant."

I'm using 4.14.0 version of the Bot Framework with Java .
It seems that a single tenant bot type is not supported by Java :
https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-deploy-az-cli?view=azure-bot-service-4.0&tabs=singletenant%2Cnewgroup%2Ccsharp#create-an-identity-resource

"Support for the user-assigned managed identity and single-tenant app types was added for C# and JavaScript to the Bot Framework SDK in version 4.15.0. These app types aren't supported in the other languages or in Bot Framework Composer, Bot Framework Emulator, or ngrok."

Is that correct? and if yes, it will be supported soon with java?

Thank you.

Azure Bot Service
Azure Bot Service
An Azure service that provides an integrated environment for bot development.
538 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 27,086 Reputation points Microsoft Employee
    2022-06-21T11:02:08.29+00:00

    @M.Guilleux Yes, single tenant is not yet supported for Java as mentioned in the link in description.
    The following workitem that is available in public domain features porting the required changes for Java. I am not sure about the timeline of implementing this change but you can subscribe to the issue to get notifications whenever there are updates. Thanks!!

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    No comments