User Pinned Files - MS Graph EndPoint - microsoft-graph-api

I am trying to pin a file or get user pinned files. I am searching through MS Graph API, but could not find any info.
Is there any other API to get user pinned files and pin a file. pinned files appear in client office applications.

This isn't available from the Microsoft Graph API.
I recommend visiting the UserVoice and adding your suggestion.

Related

Is it possible to give read permissions to users in sharepoint using Microsoft Graph

I'm using Microsoft Graph API to upload large files to sharepoint using createUploadSession endpoint.
Is there a way to give read permissions in upload process to a specific user or I have to use other endpoint for this?
Yes it is possible to manage and change permissions of SharePoint online using Microsoft Graph API EndPoints: link
Permissions are managed separately through MS Graph End Points designated for permissions: link
Another stackover article on the same with slight different issue: link

Is there any way to fetch the recycle bin items of share point office365 using graph API?

Is there any way to fetch the share point O365 site's recycle bin items using graph API?
I am looking for option using IGraphServiceClient c# interface.
As you said there is no such Graph API call that can get data from the recycle bin. There is also a feature request already raised by some users in the Microsoft Graph Feedback Forum. Please upvote this feature so that the product team can implement it in the future.

Microsoft graph api search doesn't return all files

I have a folder hierarchy in OneDrive containing around 1000 files spread out under those folders. All files are .mp4 files.
When I do a search using the graph api and specify q='.mp4' it returns only 500 files (paged with 200 in each page). I have tried using $top=1000 but then I get one page only with 500 files.
Is there a limit of 500 for the search?
I had the same issue during a customers project, where I requested the users group membership using Microsoft Graph.
For me, the solution was to use the $top parameter as you already mentioned.
GET
https://graph.microsoft.com/v1.0/me/memberOf/?$top=999
I am not aware if there is any kind of limitation or difference as soon as you use the OneDrive Graph endpoint.

Restore Microsoft Teams Channel via Graph API

I have a service which utilises MS Graph API and I'm looking for a way to delete and restore deleted channel(s) using MS Graph API.
To delete a channel I am utilising /teams/{id}/channels/{id} Graph API, however I am struggling to find a way to recover deleted channel.
In the description of above call it is mentioned that data is stored for couple of weeks (21 days since delete) so there should be a way to recover it?
I know it can be done using Teams application, however I would like to do it via Graph API.
I checked below article and Graph documentation but was not able to find suitable solution. Am I missing something or this has not been implemented yet?
https://blogs.technet.microsoft.com/uclobby/2018/08/21/restore-deleted-teams-and-channels-from-microsoft-teams/
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0

Office365 Graph API: Fetch Calendar Share Permissions

I'm trying to extract the share permissions for a Calendar through Microsoft Graph (or even the old Outlook REST API) but it seems that there is no Graph endpoint to get a calendar's sharing permissions.
When fetching a calendar's details, the closest I found was isShared on the Calendar resource - but that doesn't give me the full data I see from the Web UI:
Basically, trying to receive the equivalent of Google Calendar's ACL list.
Am I missing anything?
Since you cannot share the calendar through the graph api, or open a calendar from some other user that they shared with you, there is no point in showing the ACL.
You might have better luck using the Exchange Web Service (or EWS) they do have those properties on folders. https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/folders-and-items-in-ews-in-exchange
Or if you really need it in the graph api (since the EWS is no longer the recommended way to talk to Office 365) you can create a ticket on UserVoice (if it doesn't exist already).

Resources