none
Can I use Microsoft Graph in Sharepoint online? RRS feed

  • Question

  • Hi all.

    I'm learning using Microsoft Graph in sharepoint online.I hope control CRUD in List/Library.

    but can't find any sharepoint rest api.

    Microsoft Graph has support for sharepoint?

    • Edited by Felaray Tuesday, April 26, 2016 1:22 AM
    Tuesday, April 26, 2016 1:21 AM

All replies

  • SharePoint sites and lists are not yet available via Microsoft Graph .But you could use SharePoint APIs below(include samples) to call the SharePoint endpoint directly :

    https://msdn.microsoft.com/en-us/library/office/jj860569.aspx

    Or you could use to get a sharepoint client Context object from SharePoint Online :

       Context.Credentials = new SharePointOnlineCredentials(userName, passWord);
       var web = Context.Web;
       Context.Load(web);
       Context.ExecuteQuery();
    

    Wednesday, April 27, 2016 6:36 AM
    Moderator