Forum Discussion
Ketill Antoníus Ágústsson
Aug 01, 2017Copper Contributor
Calling SharePoint Online REST API from an Outlook add in
Hi guys, this will be my first post on here and I am in dire need of help. Fairly obviously I'm a SP novice and appreciate any and all comments and suggestions. I've been bouncing around the interweb...
paulpascha
Bronze Contributor
If all you have to do is creating an item in a List you could use Microsoft Graph:
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/listItem_create
JavaScript-based authentication libraries for Microsoft Graph are available depending on which version of the Azure AD endpoints you use. For a detailed description see the article below:
https://developer.microsoft.com/en-us/graph/docs/concepts/auth_overview
Hope this helps!
Ketill Antoníus Ágústsson
Aug 02, 2017Copper Contributor
Oh, awesome it was my understanding that graph had only reached GA for sites and not for lists or list items :/ Is it still recommended to use them?