'azure data factory web activity properties
I want to use a web activity to access my storage account and I want to used System Managed Idenity to authenticate but I don't know what to write in the Resource field.
Am I supposed to put the resource the data factory trying to access to, the storage, or the resource who is accessing, the data factory?
Solution 1:[1]
In your storage account,
- Add role assignment with a role as Storage Blob Data Contributor.
- Assign access to Managed identity
- Select Member and add your data factory as a member.
In Azure data factory web activity:
Provide the URL of your blob as below.
ex: https://storageaccountname.blob.core.windows.net/containername/filename
Method: GET
Add headers
x-ms-version: 2017-11-09
xs-ms-blob-type: BlockBlob
Authentication: System Assigned Managed Identity
Resource: https://storage.azure.com/
Output:
Reference: https://www.youtube.com/watch?v=ZrMpZoh4UcY
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | NiharikaMoola-MT |