The CreatorCon Call for Content is officially open! Get started here.

Not able to use "Copy Attachment to Folder" spoke action for copy attachment to SP from ServiceNow

as00929632
Tera Contributor

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??

 

0 REPLIES 0