Teams graph api
4 TopicsHow to Send Replies in Microsoft Teams Using Bot Name Instead of Username via Graph API?
I'm working on an external 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: The bot is authenticated and authorized using OAuth2 with the appropriate permissions. I use the /reply Or /message endpoint to send messages. I know we can use incoming webhook, but we can't use it. What I'm looking for: Any specific configurations needed in the Azure portal or Microsoft Graph API to achieve this. How to Send the message with the bot's name instead of the user's name. Any help would be greatly appreciated!697Views0likes5CommentsTeams Wiki content Migration Issue
I am trying to Migrate Teams Wiki Tab Content across the tenant. I found that teams wiki contents are stored in the teams SharePoint hidden list with channel name. Hidden List and .mht file is created when we click on the wiki tab in teams group. Is there any way to perform the Hidden list and .mht file creation using Power shell or C# without clicking the wiki tab.Solved3.6KViews0likes3CommentsMicrosoft graph add member
I'm trying to add a member to an existing team through graph API. I'm doing the following: 1. Obtained the bearer access token by using client_credentials flow 2. Obtained the id of the user and group object 3. Invoked the graph api (https://graph.microsoft.com/v1.0/groups/%7bgroupd_id%7d/members/$ref) using the bearer token and the following odata object in the body { "@odata.id": "https://graph.microsoft.com/v1.0/directoryObjects/%7buser_id%7d" } I get the following error when doing so. I checked the permission for the applications and everything seems to be right (see below). What could be the problem?1.1KViews0likes1Comment