Relative Content

Tag Archive for azure-active-directorymicrosoft-graph-apibotframeworkmicrosoft-teamsmicrosoft-entra-id

How to Send Replies in Microsoft Teams Using Bot Name Instead of Username via Graph API?

I’m working on an application that sends replies to messages in Microsoft Teams using the Microsoft Graph API. Currently, the replies are sent using the username associated with the authenticated account. However, I want the replies to appear as if they’re coming from the bot itself, using the application name registered in the Azure portal.
The bot is also registered as a message extension app. Ideally, I want the responses to display the bot’s name, rather than the username of the account making the API call.
Here are the steps I’m currently following: