question

AdalbertoGarcaEspinosa-7187 avatar image
0 Votes"
AdalbertoGarcaEspinosa-7187 asked PRADEEPCHEEKATLA-MSFT commented

This request is not authorized to perform this operation using this permission. RequestId:aad371ea-b01e-004e-29eb-6901dd000000 Time:2021-06-25T17:55:29.8540168Z

Hi,

I'm trying to copy a json file using a web activity in ADF and put in in a blog storage using also a web Activity in ADF. The following images show the this. And I'm getting an error.

109578-screen-shot-2021-06-26-at-164600.png


109579-screen-shot-2021-06-26-at-164613.png


109509-screen-shot-2021-06-26-at-164625.png



This is the error
<?xml version="1.0" encoding="utf-8"?>
<Error>
<Code>
AuthorizationPermissionMismatch
</Code>
<Message>
This request is not authorized to perform this operation using this permission. RequestId:aad371ea-b01e-004e-29eb-6901dd000000 Time:2021-06-25T17:55:29.8540168Z
</Message>
</Error>

What is missing?

azure-data-factory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PRADEEPCHEEKATLA-MSFT avatar image
0 Votes"
PRADEEPCHEEKATLA-MSFT answered PRADEEPCHEEKATLA-MSFT commented

Hello @AdalbertoGarcaEspinosa-7187,

Make sure to grant the managed identity permission in Azure Blob storage account.

When granting permission, in Azure resource's Access Control (IAM) tab -> Add role assignment -> Assign access to -> select Data Factory under System assigned managed identity -> select by factory name; or in general, you can use object ID or data factory name (as managed identity name) to find this identity.

  • As source, in Access control (IAM), grant at least the Storage Blob Data Reader role.

  • As sink, in Access control (IAM), grant at least the Storage Blob Data Contributor role.

109844-image.png

For more details, refer to MS Q&A thread addressing similar issue.

Hope this helps. Do let us know if you any further queries.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


image.png (178.2 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @AdalbertoGarcaEspinosa-7187,

Just checking in to see if the above answer helped. If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

0 Votes 0 ·

Hello @AdalbertoGarcaEspinosa-7187,

Following up to see if the above suggestion was helpful. And, if you have any further query do let us know.

1 Vote 1 ·