Recall an email using Microsoft graph api - microsoft-graph-api

I am using microsoft graph api to fetch emails from office365. There is need to have recall functionality but not able to locate the required api.
Can someone help me in here. I am not sure if such API even exists

There is no endpoint in the Graph for message recall it's all private API's in the clients that implemented it. You could add this as a feature request for the the graph https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform

Related

Microsoft Graph List places api not returning updated results

Hello Microsoft Graph Team,
I am using Microsoft Graph Apis. I have added few rooms to the tenant but those are not reflected as part of response for List places api. However, findRooms api which is in Beta gives the updated response.
I am using the below api:
https://graph.microsoft.com/v1.0/places/microsoft.graph.room (Production version)
The standard api gives response after aprrox 12-24 hours.
Could you please help me on this?

Outlook add in with Graph API

I want to develop an add in for Outlook which after click on button forward selected email to hardcoded address. What I find is that I must use Graph API to do this, but I lost in documentation on how I get token to make an API call. In Outlook API it is simple as call getCallbackTokenAsync. Is it similar way to get token for Graph API? What is the simplest way of getting this token, best if it could be done without user interaction?
It's straightforward. First you need to register you application in Azure AD, make sure you provide right roles/permissions so that you can get a token. Using the token you can access a protected resource like Microsoft Graph API. You may want to get it started following the documentation/javascript sample.

Can I send a OneDrive File Request using Microsoft's Graph API?

Microsoft OneDrive allows you to send a "file request" so others can send you very large files without needing a OneDrive account themselves.
I'm wanting to use an API (probably Microsoft Graph API)) to automatically create file requests on a user's behalf, and delete them later too.
Is it possible to create a OneDrive file request via an API? If so, where is that documented?
Thanks for your time!
Looks like that feature is not available yet. I see a feature request for the same in MS Graph user voice page. Please upvote/comment on the same so that the feature team will get better visibility.

how can I add people to my Brand Account over api?

I have the access token of a youtube Brand Account owner. With this token I would like to add other people (as admin) to this account over API.
This operation is possible manually (info : https://support.google.com/youtube/answer/4628007?hl=en), but I didn't see anything about user management on youtube-data api.
is this operation is impossible over API or am I looking at the wrong google API documentation ?
It doesn't look like the YouTube v3 Data API supports this operation :(. The only other APIs are analytics and reporting.
For a complete list of what the Data API can do check out this link:
https://developers.google.com/apis-explorer/#s/youtube/v3/
It's not possible with the current YouTube API. If this operation is manually possible over webpages, you can simply write a program (e.g. nodejs application) to execute the steps needed, automatically.

Post Message to a Microsoft Teams Channel using App

I'm trying to post messages to specific Microsoft Teams Channels using Graph REST API (from my app). I'm looking at the following API endpoint, but it says it doesn't support Application permission type: Create chatMessage in a channel
Is there a better way than using the webhook/bots?
Currently, we don't have plans for posting messages with application permissions. Only option to send a message to channel using Graph API would be using delegated permission.
Please use Bot / Connectors to send messages.

Resources