Access Storage Accounts behind Firewalls from Logic Apps within the same region

Published Feb 19 2021 12:36 AM 7,485 Views
Microsoft

Storage accounts behind firewalls will not be accessible by Logic apps within the same region using Azure blob storage connector, because we can not add firewall rules to give access for the connector outgoing IP addresses; please check the following link for details: https://docs.microsoft.com/en-us/azure/connectors/connectors-create-api-azureblobstorage#access-stor...

 

Azure blob storage connector will be returning 403 error, as shown below:

403.png

 

As a workaround, we use the HTTP action to call storage account REST API's using managed identity; to do so, please follow the steps below:

 

  1. Enable your logic app managed identity:
    1. Go to your logic app.
    2. Go to Settings -> Identity.
    3. Select System assigned.
    4. Select Status -> On.
    5. Click Save.                                                                                                                                   Identity.png
  2. In your storage account, add role assignment for your logic app:
    1. Go to your storage account.
    2. Click on access Control (IAM).
    3. Click on Role assignments tab.
    4. Click Add and select Add role assignment:
      1. From the Role dropdown list, select Storage Blob Data Contributor.
      2. From Assign access to dropdown list, select Logic App.
      3. Under the Select field, type the name of your logic app to search for it and select it once it’s found, it will appear under the selected members list.
      4. Click Save.                                                                                                                         Role assignment.png
  3. In your storage account, make sure that the exception to allow trusted Microsoft services to access this storage account is selected:
    1. Go to your storage account.
    2. Go to Settings -> Networking.
    3. Select Firewalls and virtual networks.
    4. Scroll down to Exceptions.
    5. Select Allow trusted Microsoft services to access this storage account.
    6. Click Save.                                                                                                                               trusted services.png
  4. Connect your logic app to storage account using HTTP action to call storage account REST API:
    1. Go to your logic app
    2. Click on View in logic apps designer
    3. Add an action
    4. Search for and select HTTP action:
      1. From method dropdown list, select a method (GET, PUT, etc.).
      2. Enter the URI for the folder under your storage account (https://your account name.blob.core.windows.net/container name/file Name)
      3. Under headers, add the following key value pairs:
        1. Key: x-ms-blob-type, Value: BlockBlob.
        2. Key: x-ms-version, Value: 2019-07-07.
      4. In the body field, enter or select the variable or data token that holds your file content, in case of using PUT method.
      5. From add new parameter, select authentication:
        1. From Authentication type dropdown list, select Managed Identity.
        2. From Managed Identity dropdown list, select System Assigned Managed Identity.
        3. For audience, enter https://storage.azure.com                                                        Blob HTTP.png
14 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-1997801%22%20slang%3D%22en-US%22%3EAccess%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1997801%22%20slang%3D%22en-US%22%3E%3CP%3EStorage%20accounts%20behind%20firewalls%20will%20not%20be%20accessible%20by%20Logic%20apps%20within%20the%20same%20region%20using%20Azure%20blob%20storage%20connector%2C%20because%20we%20can%20not%20add%20firewall%20rules%20to%20give%20access%20for%20the%20connector%20outgoing%20IP%20addresses%3B%20please%20check%20the%20following%20link%20for%20details%3A%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fazure%252Fconnectors%252Fconnectors-create-api-azureblobstorage%2523access-storage-accounts-behind-firewalls%26amp%3Bdata%3D04%257C01%257Ctalsaifi%2540microsoft.com%257C24c8736dc9e04312d08d08d8a3344340%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637438792170093778%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DDNwumbpJQjdgJPrNc3D0mA8i7O%252Fap6xs34U3USZZnk4%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fconnectors%2Fconnectors-create-api-azureblobstorage%23access-storage-accounts-behind-firewalls%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20blob%20storage%20connector%20will%20be%20returning%20403%20error%2C%20as%20shown%20below%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22403.png%22%20style%3D%22width%3A%20410px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F243815i37B305E92C07CC08%2Fimage-dimensions%2F410x347%3Fv%3D1.0%22%20width%3D%22410%22%20height%3D%22347%22%20role%3D%22button%22%20title%3D%22403.png%22%20alt%3D%22403.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20a%20workaround%2C%20we%20use%20the%20HTTP%20action%20to%20call%20storage%20account%20REST%20API's%20using%20managed%20identity%3B%20to%20do%20so%2C%20please%20follow%20the%20steps%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EEnable%20your%20logic%20app%20managed%20identity%3A%3COL%20class%3D%22lia-list-style-type-lower-alpha%22%3E%0A%3CLI%3EGo%20to%20your%20logic%20app.%3C%2FLI%3E%0A%3CLI%3EGo%20to%20%3CSTRONG%3ESettings%3C%2FSTRONG%3E%20-%26gt%3B%20%3CSTRONG%3EIdentity%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3ESelect%20%3CSTRONG%3ESystem%20assigned%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3ESelect%20%3CSTRONG%3EStatus%3C%2FSTRONG%3E%20-%26gt%3B%20%3CSTRONG%3EOn%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EClick%20%3CSTRONG%3ESave%3C%2FSTRONG%3E.%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Identity.png%22%20style%3D%22width%3A%20410px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F243800i7D32677940DB56E6%2Fimage-dimensions%2F410x354%3Fv%3D1.0%22%20width%3D%22410%22%20height%3D%22354%22%20role%3D%22button%22%20title%3D%22Identity.png%22%20alt%3D%22Identity.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3EIn%20your%20storage%20account%2C%20add%20role%20assignment%20for%20your%20logic%20app%3A%3COL%20class%3D%22lia-list-style-type-lower-alpha%22%3E%0A%3CLI%3EGo%20to%20your%20storage%20account.%3C%2FLI%3E%0A%3CLI%3EClick%20on%20%3CSTRONG%3Eaccess%20Control%20(IAM)%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EClick%20on%20%3CSTRONG%3ERole%20assignments%3C%2FSTRONG%3E%20tab.%3C%2FLI%3E%0A%3CLI%3EClick%20%3CSTRONG%3EAdd%3C%2FSTRONG%3E%20and%20select%20%3CSTRONG%3EAdd%20role%20assignment%3C%2FSTRONG%3E%3A%3COL%20class%3D%22lia-list-style-type-lower-roman%22%3E%0A%3CLI%3EFrom%20the%20%3CSTRONG%3ERole%3C%2FSTRONG%3E%20dropdown%20list%2C%20select%20%3CSTRONG%3EStorage%20Blob%20Data%20Contributor%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EFrom%20%3CSTRONG%3EAssign%20access%20to%3C%2FSTRONG%3E%20dropdown%20list%2C%20select%20%3CSTRONG%3ELogic%20App%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EUnder%20the%20%3CSTRONG%20style%3D%22font-family%3A%20inherit%3B%22%3ESelect%3C%2FSTRONG%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%20field%2C%20type%20the%20name%20of%20your%20logic%20app%20to%20search%20for%20it%20and%20select%20it%20once%20it%E2%80%99s%20found%2C%20it%20will%20appear%20under%20the%20%3C%2FSPAN%3E%3CSTRONG%20style%3D%22font-family%3A%20inherit%3B%22%3Eselected%20members%20list%3C%2FSTRONG%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3EClick%20%3CSTRONG%3ESave%3C%2FSTRONG%3E.%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Role%20assignment.png%22%20style%3D%22width%3A%20430px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F243801i724ABBC192B38394%2Fimage-dimensions%2F430x204%3Fv%3D1.0%22%20width%3D%22430%22%20height%3D%22204%22%20role%3D%22button%22%20title%3D%22Role%20assignment.png%22%20alt%3D%22Role%20assignment.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3EIn%20your%20storage%20account%2C%20make%20sure%20that%20the%20exception%20to%20allow%20trusted%20Microsoft%20services%20to%20access%20this%20storage%20account%20is%20selected%3A%3COL%20class%3D%22lia-list-style-type-lower-alpha%22%3E%0A%3CLI%3EGo%20to%20your%20storage%20account.%3C%2FLI%3E%0A%3CLI%3EGo%20to%20%3CSTRONG%3ESettings%3C%2FSTRONG%3E%20-%26gt%3B%20%3CSTRONG%3ENetworking%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3ESelect%20%3CSTRONG%3EFirewalls%20and%20virtual%20networks%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EScroll%20down%20to%20%3CSTRONG%3EExceptions%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3ESelect%26nbsp%3B%3CSTRONG%3EAllow%20trusted%20Microsoft%20services%20to%20access%20this%20storage%20account%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EClick%20%3CSTRONG%3ESave%3C%2FSTRONG%3E.%3CSTRONG%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22trusted%20services.png%22%20style%3D%22width%3A%20431px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F255988i52570FBE60F81082%2Fimage-dimensions%2F431x253%3Fv%3D1.0%22%20width%3D%22431%22%20height%3D%22253%22%20role%3D%22button%22%20title%3D%22trusted%20services.png%22%20alt%3D%22trusted%20services.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3EConnect%20your%20logic%20app%20to%20storage%20account%20using%20HTTP%20action%20to%20call%20storage%20account%20REST%20API%3A%3COL%20class%3D%22lia-list-style-type-lower-alpha%22%3E%0A%3CLI%3EGo%20to%20your%20logic%20app%3C%2FLI%3E%0A%3CLI%3EClick%20on%20%3CSTRONG%3EView%20in%20logic%20apps%20designer%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EAdd%20an%20action%3C%2FLI%3E%0A%3CLI%3ESearch%20for%20and%20select%20%3CSTRONG%3EHTTP%20action%3C%2FSTRONG%3E%3A%3COL%20class%3D%22lia-list-style-type-lower-roman%22%3E%0A%3CLI%3EFrom%20%3CSTRONG%3Emethod%3C%2FSTRONG%3E%20dropdown%20list%2C%20select%20a%20method%20(GET%2C%20PUT%2C%20etc.).%3C%2FLI%3E%0A%3CLI%3EEnter%20the%20%3CSTRONG%3EURI%3C%2FSTRONG%3E%20for%20the%20folder%20under%20your%20storage%20account%20(%3CA%20href%3D%22https%3A%2F%2Fyour%2520account%2520name.blob.core.windows.net%2Fcontainer%2520name%2Ffile%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2F%3CSTRONG%3Eyour%20account%20name%3C%2FSTRONG%3E.blob.core.windows.net%2F%3CSTRONG%3Econtainer%20name%3C%2FSTRONG%3E%2F%3CSTRONG%3Efile%3C%2FSTRONG%3E%3C%2FA%3E%20%3CSPAN%3E%3CSTRONG%3EName%3C%2FSTRONG%3E%3C%2FSPAN%3E)%3C%2FLI%3E%0A%3CLI%3EUnder%20%3CSTRONG%20style%3D%22font-family%3A%20inherit%3B%22%3Eheaders%3C%2FSTRONG%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%2C%20add%20the%20following%20key%20value%20pairs%3A%3C%2FSPAN%3E%3COL%20class%3D%22lia-list-style-type-upper-roman%22%3E%0A%3CLI%3EKey%3A%20x-ms-blob-type%2C%20Value%3A%20BlockBlob.%3C%2FLI%3E%0A%3CLI%3EKey%3A%20x-ms-version%2C%20Value%3A%202019-07-07.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3EIn%20the%20%3CSTRONG%3Ebody%3C%2FSTRONG%3E%20field%2C%20enter%20or%20select%20the%20variable%20or%20data%20token%20that%20holds%20your%20file%20content%2C%20in%20case%20of%20using%20PUT%20method.%3C%2FLI%3E%0A%3CLI%3EFrom%20%3CSTRONG%3Eadd%20new%20parameter%3C%2FSTRONG%3E%2C%20select%20%3CSTRONG%3Eauthentication%3C%2FSTRONG%3E%3A%3COL%20class%3D%22lia-list-style-type-upper-roman%22%3E%0A%3CLI%3EFrom%20%3CSTRONG%3EAuthentication%20type%3C%2FSTRONG%3E%20dropdown%20list%2C%20select%20%3CSTRONG%3EManaged%20Identity%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EFrom%20%3CSTRONG%3EManaged%20Identity%3C%2FSTRONG%3E%20dropdown%20list%2C%20select%20%3CSTRONG%3ESystem%20Assigned%20Managed%20Identity%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EFor%20%3CSTRONG%3Eaudience%3C%2FSTRONG%3E%2C%20enter%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fstorage.azure.com%252F%26amp%3Bdata%3D04%257C01%257Ctalsaifi%2540microsoft.com%257C4cbffd500e0e421b139d08d8a034d71e%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637435496124105604%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DCgJWkDxXe%252BPH1QyGx2gnWFBXoUohw0TeTS1KB84%252FPeY%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fstorage.azure.com%3C%2FA%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Blob%20HTTP.png%22%20style%3D%22width%3A%20411px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F243803i2B9FF50271FC6AAF%2Fimage-dimensions%2F411x344%3Fv%3D1.0%22%20width%3D%22411%22%20height%3D%22344%22%20role%3D%22button%22%20title%3D%22Blob%20HTTP.png%22%20alt%3D%22Blob%20HTTP.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1997801%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AzureBlob.png%22%20style%3D%22width%3A%20399px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F241366iA990B055FD4BD551%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AzureBlob.png%22%20alt%3D%22AzureBlob.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAccess%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1997801%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELogic%20Apps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2166109%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2166109%22%20slang%3D%22en-US%22%3E%3CP%3EGreat%20content!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2227278%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2227278%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20was%20a%20life%20safer.%20Thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2277665%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2277665%22%20slang%3D%22en-US%22%3E%3CP%3EGreat%20job!!!%3C%2FP%3E%3CP%3EBut%20when%20I%20try%20to%20connect%20against%20table%20storage%20I%20receive%20a%20401%20error%2C%20even%20if%20I%20pass%20it%20the%20correct%20authorization%20header.%20In%20Postman%20it%20works%20but%20not%20in%20the%20logic%20app.%3C%2FP%3E%3CP%3EDo%20you%20know%20how%20solve%20it%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2279763%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2279763%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1030056%22%20target%3D%22_blank%22%3E%40robergc%3C%2FA%3E%26nbsp%3BThis%20will%20not%20work%20with%20table%20storage%2C%20logic%20app%20and%20storage%20account%20need%20to%20be%20in%20two%20different%20regions%20to%20be%20able%20to%20connect%20to%20table%20storage%20and%20the%20reason%20for%20this%20is%20that%20table%20storage%20does%20not%20support%20Azure%20AD%20integration.%3C%2FP%3E%0A%3CP%3EPlease%20check%20the%20following%20link%20for%20more%20info%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fstorageservices%2Fauthorize-requests-to-azure-storage%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAuthorize%20requests%20to%20Azure%20Storage%20(REST%20API)%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2548093%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2548093%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F903480%22%20target%3D%22_blank%22%3E%40talsaifi%3C%2FA%3E%26nbsp%3BIs%20there%20any%20way%20that%20a%20Logic%20App%20can%26nbsp%3Bconnect%20to%20table%20storage%20with%20a%20Storage%20account%20behind%20Firewalls%20within%20the%20same%20region%3F%20If%20not%20any%20alternative%20ways%2Fmethods%3F%3CBR%20%2F%3E%3CBR%20%2F%3E(%20Tried%20above%20and%20was%20seeing%20%3CSPAN%3E403%20error%20%2C%3C%2FSPAN%3Ewhere%20I%20could%20able%20to%20connect%20through%20Postman%20but%20not%20through%20Logic%20App)%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20please%20assist%3F%20As%20we%20really%20need%20Table%20storage%20for%20our%20logic%20apps%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2551444%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2551444%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103471%22%20target%3D%22_blank%22%3E%40AsheN0ne%3C%2FA%3E%26nbsp%3BActually%2C%20at%20the%20time%20when%20this%20article%20was%20published%2C%20the%20above%20was%20not%20possible%20with%20Azure%20table%20storage!%20The%20good%20news%20is%20that%20now%20table%20storage%20supports%20Azure%20AD%20Integration%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2F%408341BD79091AF36AA2A09063B554B5CD%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20follow%20the%20steps%20above%2C%20except%3A%3C%2FP%3E%0A%3CP%3E1-%20Use%20%3CSTRONG%3EStorage%20Table%20Data%20Contributor%3C%2FSTRONG%3E%20instead%20of%26nbsp%3B%3CSTRONG%3EStorage%20Blob%20Data%20Contributor%3C%2FSTRONG%3E%26nbsp%3Bwhen%20adding%20role%20assignment.%3C%2FP%3E%0A%3CP%3E2-%20Your%20HTTP%20action%20should%20look%20as%20follows%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22talsaifi_0-1626340533101.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F296080i2E9795F79FB492A4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22talsaifi_0-1626340533101.png%22%20alt%3D%22talsaifi_0-1626340533101.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%20class%3D%22lia-list-style-type-lower-roman%22%3E%0A%3CLI%3EEnter%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EURI%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20the%20table%20under%20your%20storage%20account%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fyour%2520account%2520name.blob.core.windows.net%2Fcontainer%2520name%2Ffile%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2F%3CSTRONG%3Eyour%20account%20name%3C%2FSTRONG%3E.table.core.windows.net%2F%3CSTRONG%3Etable%3C%2FSTRONG%3E%3C%2FA%3E%3CSTRONG%3E%26nbsp%3Bname%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EUnder%3CSPAN%3E%26nbsp%3B%3CSTRONG%3EH%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3Eeaders%3C%2FSTRONG%3E%3CSPAN%3E%2C%20add%20the%20following%20key%20value%20pairs%3A%3C%2FSPAN%3E%3COL%20class%3D%22lia-list-style-type-upper-roman%22%3E%0A%3CLI%3EKey%3A%20%3CSTRONG%3EAccept%3C%2FSTRONG%3E%2C%20Value%3A%20%3CSTRONG%3Eapplication%2Fjson%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EKey%3A%20%3CSTRONG%3Ex-ms-version%3C%2FSTRONG%3E%2C%20Value%3A%20%3CSTRONG%3E2019-07-07%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20list%20of%20REST%20API%20operations%20on%20table%20entities%2C%20check%20the%20following%20link%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fstorageservices%2Foperations-on-entities%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOperations%20on%20entities%20(REST%20API)%20-%20Azure%20Storage%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20other%20option%20is%3A%3C%2FP%3E%0A%3CP%3E1-%20Have%20the%20storage%20account%20and%20logic%20app%20in%20different%20regions.%3C%2FP%3E%0A%3CP%3E2-%20Use%20the%20Azure%20Table%20Storage%20connector%3B%20for%20connector%20reference%2C%20check%20the%20following%20link%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fconnectors%2Fazuretables%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Table%20Storage%20-%20Connectors%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E3-%20Add%20the%20logic%20app%20connector%20outgoing%20IP%20addresses%20to%20the%20storage%20account%20firewall%20to%20allow%20access.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2554019%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2554019%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F903480%22%20target%3D%22_blank%22%3E%40talsaifi%3C%2FA%3E%26nbsp%3BThank%20you%20for%20the%20prompt%20reply!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20I%20have%20the%20logic%20app%20and%20the%20storage%20account%20on%20the%20same%20region%26nbsp%3B%3CBR%20%2F%3EDid%20followed%20the%20steps%20above%3A%3CBR%20%2F%3E1-%20I%20have%20assigned%26nbsp%3B%3CSTRONG%3EStorage%20Table%20Data%20Contributor%2C%26nbsp%3BStorage%20Table%20Data%20Reader%26nbsp%3B%3C%2FSTRONG%3Eroles%20and%20also%20added%20outgoing%20IP%20addresses%20to%20the%20storage%20account%3CBR%20%2F%3E2-%20And%20I%20am%20trying%20to%20%3CFONT%20color%3D%22%23008000%22%3EInsert%20Entity%3C%2FFONT%3E%20REST%20API%20operation%20for%20Table%20Storage%20which%20looks%20like%20below%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AsheN0ne_2-1626379831108.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F296220iD71302BC70023495%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22AsheN0ne_2-1626379831108.png%22%20alt%3D%22AsheN0ne_2-1626379831108.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20included%20the%20below%20headers%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%7B%0A%20%20%22Accept%22%3A%20%22application%2Fjson%22%2C%0A%20%20%22Content-Type%22%3A%20%22application%2Fjson%22%2C%0A%20%20%22DataServiceVersion%22%3A%20%223.0%3BNetFx%22%2C%0A%20%20%22MaxDataServiceVersion%22%3A%20%223.0%3BNetFx%22%2C%0A%20%20%22x-ms-date%22%3A%20%22Thu%2C%2015%20Jul%202021%2019%3A10%3A40%20GMT%22%2C%0A%20%20%22x-ms-version%22%3A%20%222019-07-07%22%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3Eand%20still%20having%20403%22AuthorizationFailure%22%20error%20--%20%3CFONT%20color%3D%22%23FF6600%22%3EThis%26nbsp%3Brequest%26nbsp%3Bis%26nbsp%3Bnot%26nbsp%3Bauthorized%26nbsp%3Bto%26nbsp%3Bperform%26nbsp%3Bthis%26nbsp%3Boperation%3C%2FFONT%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20really%20don't%20understand%20what%20I%20am%20doing%20wrong%20here%20%3A(%3C%2Fimg%3E%20as%20I%20was%20able%20to%20connect%20to%20Blob%20storage%20but%20not%20Table%20Storage.%20Could%20you%20please%20tell%20what%20am%20I%20missing%20here%3F%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F903480%22%20target%3D%22_blank%22%3E%40talsaifi%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EThank%20you%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2555179%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2555179%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1103471%22%20target%3D%22_blank%22%3E%40AsheN0ne%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERemove%20any%20additional%20headers%2C%20the%20HTTP%20action%20should%20look%20as%20follows%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22talsaifi_0-1626421700034.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F296292i77B285351734E9AB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22talsaifi_0-1626421700034.png%22%20alt%3D%22talsaifi_0-1626421700034.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2556199%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2556199%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F903480%22%20target%3D%22_blank%22%3E%40talsaifi%3C%2FA%3E%26nbsp%3BTrust%20me!!%20I've%20tried%20all%20different%20ways%20I%20could%2C%20to%20get%20this%20work%20%3A(%3C%2Fimg%3E%20but%20nothing%20helped.%20Did%20tried%20like%20above%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AsheN0ne_0-1626442728807.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F296380i1361CAE07DD06879%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22AsheN0ne_0-1626442728807.png%22%20alt%3D%22AsheN0ne_0-1626442728807.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20can%20give%20any%20further%20details%20if%20needed%2C%20just%20can't%20understand%20what%20I%20am%20missing%20here..%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3ECould%20you%20please%20assist!!%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2F%409839A717402516D64549B98324F4F0C1%2Fimages%2Femoticons%2Fsad_40x40_1.gif%22%20alt%3D%22%3Asad%3A%22%20title%3D%22%3Asad%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2823348%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2823348%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F903480%22%20target%3D%22_blank%22%3E%40talsaifi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eyour%20solution%20work%20but%20i%20got%20some%20trouble%20in%20my%20scenario.%3C%2FP%3E%3CP%3EI%20have%20to%20take%20attachement%20from%20email%20and%20copy%20it%20to%20storage%20account%2C%20the%20problem%20is%20that%20file%20saved%20is%20corrupted%20if%20is%20a%20xlsx%20or%20changed%20if%20is%20a%20csv(it%20save%20the%20body%20of%20previous%20step%20in%20my%20flow).%20My%20flow%20is%20configured%20as%20follow%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22emanuele86_0-1633624424905.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315927iC21E646E222EC8C8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22emanuele86_0-1633624424905.png%22%20alt%3D%22emanuele86_0-1633624424905.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22emanuele86_2-1633624499823.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315929i2842A0270D26138D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22emanuele86_2-1633624499823.png%22%20alt%3D%22emanuele86_2-1633624499823.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22emanuele86_3-1633624540311.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F315930i03071934E56F1068%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22emanuele86_3-1633624540311.png%22%20alt%3D%22emanuele86_3-1633624540311.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethere%20is%20a%20way%20to%20take%20the%20attachment%20and%20save%20it%20as-is%3F%20(independently%20by%20file%20extension)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2824567%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2824567%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20this%20post%20which%20helped%20me%20get%20the%20result%20I%20needed%20for%20posting%20to%20a%20queue.%20For%20reference%20in%20case%20others%20need%20to%20do%20this%2C%20the%20syntax%20is%20as%20follows%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMethod%3A%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BPOST%3C%2FP%3E%3CP%3EURI%3A%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2F%26lt%3Bstorage%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F%3CSTORAGE-%3E%3C%2FSTORAGE-%3E%3C%2FA%3Ename%26gt%3B.queue.core.windows.net%2F%3CQUEUE-NAME%3E%2Fmessages%3C%2FQUEUE-NAME%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHeaders%3A%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3EAccept%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3Eapplication%2Fjson%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3Ex-ms-date%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3EutcNow('R')%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3Ex-ms-version%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%20height%3D%2230px%22%3E2019-07-07%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBody%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22100%25%22%3E%3CQUEUEMESSAGE%3E%3CBR%20%2F%3E%3CMESSAGETEXT%3EYOUR-MESSAGE%3C%2FMESSAGETEXT%3E%3CBR%20%2F%3E%3C%2FQUEUEMESSAGE%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAuthentication%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%3EAuthentication%20type%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%3EManaged%20Identity%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%3EManaged%20identity%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%3ESystem-assigned%20managed%20identity%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2250%25%22%3EAudience%3C%2FTD%3E%3CTD%20width%3D%2250%25%22%3E%3CA%20href%3D%22https%3A%2F%2Fstorage.azure.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstorage.azure.com%3C%2FA%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20information%20which%20I%20needed%20to%20make%20this%20work%20(esp.%20getting%20the%20format%20of%20the%20x-ms-date%20field%20right%20which%20is%20a%20mandatory%20field%20was%20from%20the%20REST%20API%20guide%20here%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fstorageservices%2Fput-message%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fstorageservices%2Fput-message%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2840944%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2840944%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1125146%22%20target%3D%22_blank%22%3E%40emanuele86%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20resolve%20the%20issue%2C%20please%20apply%20the%20%3CSTRONG%3Ebase64toBinary()%3C%2FSTRONG%3E%20function%20on%20the%20%3CSTRONG%3EAttachments%20Content%3C%2FSTRONG%3E%20in%20the%20%3CSTRONG%3EBody%3C%2FSTRONG%3E%20field%2C%20your%20HTTP%20Body%20code%20view%20should%20look%20as%20follows%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSTRONG%3E%22body%22%3A%26nbsp%3B%22%40base64toBinary(items('For_each')%3F%5B'ContentBytes'%5D)%22%2C%3C%2FSTRONG%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3EBy%20the%20way%2C%20there%20is%20no%20need%20for%20the%20%3CSTRONG%3EGet%20Attachment%20(V2)%3C%2FSTRONG%3E%20action%2C%20the%20%3CSTRONG%3EInclude%20Attachments%3C%2FSTRONG%3E%20option%20is%20set%20to%20%3CSTRONG%3EYes%3C%2FSTRONG%3E%20on%20the%20trigger%20and%20that%20will%20retrieve%20the%20attachments.%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2841669%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2841669%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F903480%22%20target%3D%22_blank%22%3E%40talsaifi%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Egreat%20thank%20you!%20It%20works!%20i%20also%20removed%20get%20email%20attachment%20v2.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOther%20question%2C%20there%20is%20a%20way%20to%20save%20only%20the%20file%20in%20attachment(csv%2C%20xlsx...)%3F%20Becouse%20the%20flow%20store%20also%20image%20into%20email%20signature%2C%20for%20example.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2845184%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20Storage%20Accounts%20behind%20Firewalls%20from%20Logic%20Apps%20within%20the%20same%20region%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2845184%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1125146%22%20target%3D%22_blank%22%3E%40emanuele86%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%22body%22%3A%26nbsp%3B%22%40base64toBinary(items('For_each')%3F%5B'ContentBytes'%5D)%22%3C%2FSTRONG%3E%26nbsp%3Bwill%20work%20for%20any%20file%20type.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegarding%20your%20other%20question%2C%20you%20can%20use%20the%20%3CSTRONG%3EAttachments%20is%20Inline%3C%2FSTRONG%3E%20property%20in%20a%20%3CSTRONG%3EControl%3C%2FSTRONG%3E%20-%20%3CSTRONG%3ECondition%3C%2FSTRONG%3E%20action%20to%20exclude%20any%20inline%20attachments%2C%20your%20%3CSTRONG%3EFor%20each%3C%2FSTRONG%3E%20loop%20will%20look%20as%20follows%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22talsaifi_0-1634199833536.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F317295i026E9AFEE4FC4AF8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22talsaifi_0-1634199833536.png%22%20alt%3D%22talsaifi_0-1634199833536.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Feb 19 2021 12:35 AM
Updated by: