I want to get sharepoint groups using graph api instead of REST API Call
As far as I know Microsoft Graph doesn't expose an endpoint that allows you to get the information of SharePoint Group.
If you has this requirement, you could vote this idea on Microsoft Graph UserVoice.
Related
I am currently using Graph APIs to connect to share point list from the Teams tab(NOT SPFX TAB) that I created using Teams Toolkit. I would like to know if it's possible to use REST API or PNP library to connect to Share point list items other than Graph API.
Thanks.
You can directly use Sharepoint REST API in Teams Tab. Note that you need to update permission for Azure AD app and request for access token with proper permission with TeamsFx SDK to call Sharepoint REST API.
Does anyone know how I can fetch all sites from my SharePoint by using Microsoft Graph API?
I saw this documents but it seemed that there are no API to list sites.
And I saw this questions but answer was there were no ways.
List Microsoft Sharepoint Sites with Microsoft Graph
Could you help me?
Currently Graph API supported to get all SharePoint sites:
https://graph.microsoft.com/v1.0/sites?search=*
You can test in Graph Explorer firstly:
Reference:
Retrieve Site Collections And SubSites Using Microsoft Graph API
You can share a Sharepoint site without adding them to the member groups via the front-end (screenshot included). However I was wondering if there was a way to do this via the Microsoft Graph API?
I have scoured the docs, both v1 and beta and haven't found anything - so any help would be greatly welcomed.
Graph API Docs
According to the Microsoft Graph user voice, this feature is currently unavailable in the Graph API and is currently a suggested feature - will update this answer if/when it is implemented
Uservoice Sharepoint permission suggestion
Is there a way to get the SharePoint security groups at site collection/site level with Graph API? I have followed Graph API article by MS but no where they mentioned about pulling information from security groups. I want to use this Graph API url in my power apps to apply role based security.
It isn't possible to interact SharePoint's own user or group resource via Microsoft Graph at the moment. For the time being you would need to use the classic SharePoint REST API (i.e. /_api/web/siteusers) for this.
Which set of APIs should be use to access Office365 sharepoint which includes both sharepoint2013 and sharepoint2016.
Have gone through the following APIs
1) Sharepoint2013 REST APIs(https://msdn.microsoft.com/en-us/library/office/jj860569.aspx).
2) OneDrive new APIs(https://github.com/OneDrive/onedrive-api-docs) through which we can access the Directory folder which contains directory and files. But the present focus of APIs are for OneDrive Personal and Business.
Apart from this is there any other APIs which can access the office365 sharepoint?
You could use SharePoint REST API to retrieve, update, and manage data in Sharepoint Online ,you could find code samples and videos from here.
With Graph API you could get files/users/groups ,but SharePoint sites and lists are not yet available via Microsoft Graph .
In addition ,you could also use SharePoint client object model (CSOM) to manage data in Sharepoint Online,please read below article:
Connect to SharePoint Online using Client Object Model