Sending proactive message example fails (+fix) #11461
Labels
needs-triage 🔍
teams-developer-support
Question related to extensibility (Bot, ME, Tab) would be marked under this label
Steps to reproduce
Copied bug from: OfficeDev/teams-toolkit#12206
Details from original post:
Describe the bug
This line fails with both in test tools and in Azure due to process.env.MicrosoftAppId being undefined
//await adapter.continueConversationAsync(process.env.MicrosoftAppId, confRef, async (context) => {
Changing to this line works at least on local.
await adapter.continueConversationAsync(
new ClaimsIdentity([], true),
confRef,
async (context) => {
await context.sendActivity("proactive hello");
}
);
Does this fix makes sense? Or do I need to change something else?
roee.oz<>microsoft.com
Expected behavior
Changing to this line works at least on local.
await adapter.continueConversationAsync(
new ClaimsIdentity([], true),
confRef,
async (context) => {
await context.sendActivity("proactive hello");
}
);
Actual behavior
This line fails with both in test tools and in Azure due to process.env.MicrosoftAppId being undefined
//await adapter.continueConversationAsync(process.env.MicrosoftAppId, confRef, async (context) => {
Error details
No response
The text was updated successfully, but these errors were encountered: