Not able to use "Copy Attachment to Folder" spoke action for copy attachment to SP from ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago - last edited 5 hours ago
I want to copy attachment from ServiceNow to SharePoint. To achieve this functionality, There is one out of box spoke action "Copy Attachment to Folder" available in Microsoft SharePoint Online Spoke. This action needs 4 inputs.
1. Tenant
2. Site Location
3. Document Library Name
4. Folder Location
5. Attachment
My target SharePoint URL is https://<COMPANY_NAME>.sharepoint.com/teams/NonProdInstance/Shared Documents/Forms/AllItems.aspx
In this website, We have one folder - "MyAttachments". I want to copy attachments to this folder.
When I am passing below parameters, getting error - "Incorrect formatted Request"
1. Tenant: <passing tenant ID here, connection is working fine. I tested for other actions>
2. Site Location: https://<COMPANY_NAME>.sharepoint.com/teams/NonProdInstance
3. Document Library Name: Shared Documents
4. Folder Location: MyAttachments
5. Attachment: attachment sys ID
Please guide how can i achieve this functionality. what logic/step is missing??