Unable to connect to GCS from ADF

kks8589 101 Reputation points
2020-09-28T06:59:23.413+00:00

Hi Team

When creating a linked service in ADF to connect to GCS, the connection is getting failed.

we were provided with the GCS service account access id and key and URI

Any other permissions need to be taken care at gcs side to establish the connection.Could anyone help us with this

Thanks & Regards

kks8589

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,567 questions
{count} votes

Accepted answer
  1. HarithaMaddi-MSFT 10,136 Reputation points
    2020-10-13T09:07:32.51+00:00

    Hi @kks8589 ,

    Thanks for your patience. I connected with Product team and below are observations

    • The mapping from storage.buckets.get, storage.buckets.list, or storage.objects.get to roles in GCS IAM will be included in the documentation
    • storage.buckets.get, storage.buckets.list is not mapped to "Storage object viewer" role in GCS IAM and this is needed to enable root level permissions. "Test connection" in linked service is checking for permissions at root level and hence without this role, the connection shows failed. Ex: "Storage Admin" can be enabled for the account
    • Similar to "Amazon S3" linked service in ADF as below, ADF team is working on a backlog item to use this layout for GCS connection where specific file path (Bucket) can be tested in GCS linked service

    31984-image.png

    • Using only "storage.objects.get" permission i.e., storage object viewer role, will enable to read from specific bucket in dataset for which account has permissions and ADF still loads the data.

    Additional details will be added to documentation, thanks for your contribution.

    Hope this helps! Please let us know for more queries and we will be glad to assist further.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.