I have a bot application developed in java sdk. To integrate with MS Teams, I have a connector has been created using Bot Framework and Spring Boot and a Bot Channels Registration on the Azure portal. Everything working properly. Now I'm trying to implement proactive messages by following this tutorial: https://www.vrdmn.com/2020/02/microsoft-bot-framework-v4-send.html
I can already make the bot send proactive messages on channels, but now I need to implement the post a proactive personal message to a user.
I can get data from a user:
var user = await ((Conversations)connectorClient.Conversations).GetConversationMemberAsync(mentionUserPrincipalName, teamInternalId, default);
But when running the line...
var response = await connectorClient.Conversations.CreateConversationAsync(conversationParameters);
...a bad request result is returned with the message "Invalid user identity in provided tenant":

