SharePoint now accessible via the Microsoft Graph beta

Last week at Ignite it was announced that finally Microsoft was bringing O365 SharePoint access to the Microsoft graph as an API. This is a huge deal for those of us who want to use O365 as a platform and develop engaging applications for customers. In my case for Office Add-ins this is great because it reduced the number of OAuth hoops I have to jump through and manage to get the data I want.

Here is a link to the documentation: Working with SharePoint sites in Microsoft Graph and a quick example.

NOTE: this is beta and will change – this is purely a demonstration of what is possible today (Oct 2016) and not to be used as future reference.

Example

Using the graph explorer demo I am able to bring up content from my default SharePoint site very easily

https://graph.microsoft.io/en-us/graph-explorer#

Here is my copper site within my SharePoint tenant

sh1

and here it is referenced from the graph API

https://graph.microsoft.com/beta/sharepoint/sites/site-id

sh2

here is the API response of the lists
https://graph.microsoft.com/beta/sharepoint/sites/site-id/lists

sh3

and here is a reference to the documents in the Shared Documents folder

https://graph.microsoft.com/beta/sharepoint/sites/site-id/lists/list-id/items

sh4

How cool is that !!!!!

 

Advertisements

Microsoft MVP for Office Development

This weekend I was thrilled to receive an email from Microsoft announcing that I had been recognized as a Microsoft Most Valuable Professional (MVP) in the Office Development technical community. This is a very natural evolution of my journey over the last two years since I branded out from nearly 20 years in IBM Domino. As I said about the xomino365 blog it was all about taking my skills on tour and seeing where it took me. While that blog served it’s purpose and I have come back to https://www.xomino.com exclusively, I am very content with the place it took me.

I wanted to take a moment to thank those people who nominated me (that I am aware of): Theo, John, Rob, Michael, Ren? and I am sure others – I really appreciate your support and belief in me.

I also wanted to thank Lisa Anderson (MVP wrangler for the mid-west) and Simon Jaeger (MS developer advocate) for their encouragement and support. They helped me know I was on the right path and are now responsible for what they helped create 😉

Finally I wanted to thank John Quirk and @PSCGroup who have given me a job and platform to allow me to do what I do best. I really love my job and the people I work with.

This (as always) is going to be fun 🙂

 

Thanks again