I'm building a bot using the C# Bot Framework, and I'm encountering issues when sending messages to certain Skype channels. While my bot successfully sends messages to an initial test channel, it fails to send messages to newly created Skype channels, even though the same token acquisition and message-sending code is used in both cases.
For the newly created channels, I receive the following error response:
I observed that the conversationId for the initial working channel ends with @thread.v2, while the conversationId for the failing channels ends with @thread.skype. I’m not sure if this is relevant, but I wanted to provide that observation.
var credentials = new MicrosoftAppCredentials(appId, appPassword)
{
ChannelAuthTenant = tenantId
};
var activity = new Activity()
{
Type = ActivityTypes.Message,
Text = "This is a message from Bot Connector Client (.Net)"
};
using (var client = new ConnectorClient(new Uri("https://skype.botframework.com", UriKind.Absolute), credentials))
{
await client.Conversations.SendToConversationAsync(conversationId, activity);
}
I don't see any channel-specific configuration available in the Azure portal.
I'm looking for guidance or a solution to resolve this issue.
I'm building a bot using the C# Bot Framework, and I'm encountering issues when sending messages to certain Skype channels. While my bot successfully sends messages to an initial test channel, it fails to send messages to newly created Skype channels, even though the same token acquisition and message-sending code is used in both cases.
For the newly created channels, I receive the following error response:
I observed that the
conversationId
for the initial working channel ends with@thread.v2
, while theconversationId
for the failing channels ends with@thread.skype
. I’m not sure if this is relevant, but I wanted to provide that observation.I don't see any channel-specific configuration available in the Azure portal.
I'm looking for guidance or a solution to resolve this issue.