MS-600 · Question #120
You are developing a Microsoft Teams app that will use an Azure function to send scheduled messages from a bot to users. What is required for the Teams app to send a proactive message to the users?
The correct answer is D. The users must send at least one message to the bot. A proactive message is any message sent by a bot that isn't in response to a request from a user. Sending a proactive message is different from sending a regular message. There's no active turnContext to use for a reply. You must create the conversation before sending the…
Question
You are developing a Microsoft Teams app that will use an Azure function to send scheduled messages from a bot to users. What is required for the Teams app to send a proactive message to the users?
Options
- AThe bot must be approved in Azure Active Directory (Azure AD).
- BThe bot must be granted admin access to the users.
- CThe Teams app must be added for each user.
- DThe users must send at least one message to the bot.
How the community answered
(59 responses)- A10% (6)
- B3% (2)
- C7% (4)
- D80% (47)
Explanation
A proactive message is any message sent by a bot that isn't in response to a request from a user. Sending a proactive message is different from sending a regular message. There's no active turnContext to use for a reply. You must create the conversation before sending the message. https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/send- proactive-messages
Topics
Community Discussion
No community discussion yet for this question.