Forum Discussion

GeorgeR_2024's avatar
GeorgeR_2024
New Member
2 years ago
Solved

Trying to use a Sharepoint folder as Destination in CopyData activity

In Microsoft Fabric, I am trying to setup a Copy Data activity that executes a stored procedure from Azure SQL Database and outputs a csv file to a Sharepoint Folder. I have copied the link from the sharepoint folder into the Connection field. The Test connection comes up 'Connection successful', however when I run the activity it fails with the following error:

Failure happened on 'destination' side. ErrorCode=RestCallFailedWithClientError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Rest call failed with client error, status code 403 Forbidden, please check your activity settings.

Request URL: https://xxx.sharepoint.com/sites/SFDataExtract/Shared%20Documents/George%20Test?csf=1&web=1&e=gziJM5&CID=51325cbe-8ffc-43d0-8aa5-a62ab575d31f.

Response: 403 FORBIDDEN,Source=Microsoft.DataTransfer.ClientLibrary,'

 

Can anybody help with this?

4 Replies