Getting error 9006 when creating a Data Factory linked Service from Amazon S3
Hello,
I am getting error 9006 when creating a Data Factory linked Service from Amazon S3,
The details returned are -
"Credential is incorrect or do not have the permission to access. Access Denied The remote server returned an error: (403) Forbidden. Activity ID: ff2ddf6c-38fa-4c23-b1c2-a42e3b4ba20e.:
I also get an error when trying to use the azcopy copy command instead of using ADF.
Here are the details of the error -
INFO: Authentication failed, it is either not correct, or expired, or does not have the correct permission -> github.com/Azure/azure-storage-blob-go/azblob.newStorageError, /home/vsts/go/pkg/mod/github.com/!azure/azure-storage-blob-go@v0.15.0/azblob/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=CannotVerifyCopySource) =====
Description=Forbidden
RequestId:19d2978e-701e-0007-6011-516d8f000000
Time:2023-03-07T16:24:34.7681897Z, Details:
Code: CannotVerifyCopySource
...
--------------------------------------------------------------------------------
RESPONSE Status: 403 Forbidden
Content-Length: [200]
Content-Type: [application/xml]
Date: [Tue, 07 Mar 2023 16:24:33 GMT]
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
X-Ms-Client-Request-Id: [8fa81503-02d9-416d-432e-629064934632]
X-Ms-Error-Code: [CannotVerifyCopySource]
X-Ms-Request-Id: [19d2978e-701e-0007-6011-516d8f000000]
X-Ms-Version: [2020-10-02]
My feeling is that it's related to our account permissions on the S3 site, as we are able to perform this task against another company without issue.
Our permissions with the site throwing the error is as follows -
"Action": [
"s3:GetObject",
"s3:ListBucket",
"s3:GetObjectTagging",
"s3:GetObjectVersion",
"s3:DeleteObject",
"s3:GetBucketLocation",
"s3:PutObject",
"s3:PutObjectAcl"
],
Note that 's3:ListAllMyBuckets' is not included, which is a permission we have with the site that works.
Any help or assistance would be appreciated.
Thanks.