To upload reports from ServiceNow to Sharepoint using microsoft graph
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12 hours ago
Hi All,
Currenlty, I am working on establishing connection between ServiceNow and SharePoint using microsoft graph.I am currently struck with setting up the endpoint point to upload files in Folder.Can anyone please help me with the format.
I tried with below URL format but it wasn't successful,
PUT https://graph.microsoft.com/v1.0/sites/{site-id}/drives/{drive-id}/root:/Shared Documents/{filename}:/content
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi @Niranjani1 ,
Try this
PUT https://graph.microsoft.com/v1.0/sites/{site-id}/drives/{drive-id}/root:/{filename}:/content
For uploading into a subfolder (e.g. Shared Documents/Invoices):
PUT https://graph.microsoft.com/v1.0/sites/{site-id}/drives/{drive-id}/root:/Shared Documents/Invoices/{filename}:/content