question

RanjanGupta-9108 avatar image
0 Votes"
RanjanGupta-9108 asked SamaraSoucy-MSFT answered

Logic App can not connect to Storage Account which is restricted newtwork enabled

I am trying to connect storage account which has firewall and virtual network enabled from Logic App. I am trying to use the Extract File operation which needs a connection to storage account and have defined source and target location. But connection is failing. I followed all provided details , add all the outbound IP address from the region and added in whitelist, allowed trusted services connection from Microsoft, also allowed LogicApp to be connected, enabled the managed identity and provided a contributor level RBAC role. Nothing works and I am still getting the same error

Error code: '403', Message: 'This request is not authorized to perform this operation. clientRequestId: 4E01EC88-F805-4FF1-BB1B-2FCA1C3ECF1B'. More diagnostic information: x-ms-client-request-id is '4E01EC88-F805-4FF1-BB1B-2FCA1C3ECF1B'.

Let me know what can be done.

azure-logic-appsazure-storage-accounts
· 3
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.

Just to verify, was the role assignment 'Contributor' or 'Storage Blob Data Contributor'? This is the most common reason for this type of scenario.

0 Votes 0 ·

actually I did both.....

0 Votes 0 ·

I am also facing the same error in statndard logic app

1 Vote 1 ·

1 Answer

SamaraSoucy-MSFT avatar image
0 Votes"
SamaraSoucy-MSFT answered

@RanjanGupta-9108 and @HarshilAssudani-2397 Con you check for me which list of IP addresses you set in the firewall? There are two different sets. When something is running through an HTTP request it uses this list, but when using a managed connector like Azure File Storage uses a different list: https://docs.microsoft.com/en-us/connectors/common/outbound-ip-addresses


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.