Deploying Standard Logic App to Storage Account behind Firewall using Service or Private Endpoints

Published Aug 09 2021 03:11 AM 2,016 Views
Senior Member

Standard LogicApp is powered by new Azure single-tenant LogicApp runtime. Single-tenant Logic App offering runs as an extension on top of Azure Function runtime. Like Azure Functions, the standard Logic App leverages storage account services such as blob, File Share, Queue and Table for various purposes. For instance, the website content is stored in File Share which will be accessed by Logic App site for up and running. You can refer to this blog to understand how the storage services are leveraged in standard Logic App.

 

In this article, we will see how to access the Storage account services on secured network using Service endpoints (or) Private Endpoints from Standard Logic App.

 

By default, the portal creation experience of the Logic Apps expects the storage account must be accessible on public endpoint.  Let us explore the below options on how to access the storage account over a secured network.

 

Deploy Logic App standard resource having secured access to Storage account using Portal:

 

  • Storage account need to be accessible on Public Endpoint i.e. Network access set to 'All Networks'.
  • Create a Logic App resource, selecting the above created storage account during Logic App creation process.
  • Enable the Service Endpoint or Private Endpoints (for all services i.e. blob, table, file, queue) on the storage account.
  • Enable the VNET integration for Logic App resource with respective VNET and subnet have access to Storage account on Service Endpoint (SE) or Private Endpoints (PE).
  • Set the below configuration settings (app settings) to access the storage on SE or PE’s.                     

S.No

Configuration Setting

Value

Comments

1

WEBSITE_VNET_ROUTE_ALL

             1

It routes all outbound traffic from LogicApp resource via integration VNET and Subnet.

2

WEBSITE_DNS_SERVER

    168.63.129.16

             (or)

     Custom DNS server  IP Address

It is used for resolving all host names to Ips. You can set either default Azure DNS IP or Custom DNS IP address.

3

WEBSITE_CONTENTOVERVNET

              1

It enables Logic App resource to access the website content over VNET traffic i.e. on SE or PE’s.

4

WEBSITE_DNS_ALT_SERVER

    Alternate DNS        server IP address

IP address of fallback DNS server for outgoing connections while WEBSITE_DNS_SERVER unable to resolve.

 

  • No need to restart the Logic App site when you update any app settings or adding new workflows, Logic App gracefully restarts in an incremental mode without impacting any existing runs. However, it isn't suggested to make changes when there are any in-process transactions.
  • Change the storage account network settings to selected networks 
  • Logic App may experience some interruption as the connectivity switch between public and private endpoints may take some time and you may not see workflows for sometime. You may restart the Logic App and wait for few mins and check whether workflows are loading or not.

 

Deploy Logic App standard resource having secured access to Storage account using automated deployment tools:

 

You can overcome the issue of exposing the storage account to public internet with the portal creation experience using ARM template deployment. With ARM deployment, you no need to open it for all Networks and can be deployed directly with Service endpoints or Private Endpoints.

 

 If you would like to deploy Standard Logic App to secure storage account from automated tools such as DevOps using ARM templates.   You can refer to the sample templates available in the below Git-Hub.

VeeraMS/LogicApp-deployment-with-Secure-Storage: Deploying Logic App standard resource with Storage ...

 

Below GIF's provides a glimpse on how to configure the Logic App to access storage account using Service or Private endpoints.

 

Access over Storage Service Endpoint:

 

Access_Using_ServiceEndpoint.gif

 

 Access over Storage Private Endpoints:

 

PrivateEndpoint.gif

 

Note: vnetRouteAllEnabled app setting is replaces, overrides and takes precedence over the legacy setting WEBSITE_VNET_ROUTE_ALL.

 

Common Errors when Storage account is behind Firewall:

 

We generally observe the below common errors when deployment storage account is behind firewall which indicates that Logic App is unable to access the storage account services.

 

  • Access to host.json is denied:

System.Private.CoreLib: Access to the path 'C:\\home\\site\\wwwroot\\host.json' is denied.

veerareddy_0-1628490576596.png

 

  • Unable to load workflows in Logic App:

     You may observe that workflows are not visible in the Logic App while Storage access is changed to selected networks or Private Endpoints. You can check the browser logs and it may show below error.
 {"Code":"BadRequest","Message":"Encountered an error (ServiceUnavailable) from host runtime.","Target":null,"Details":       [{"Message":"Encountered an error (ServiceUnavailable) from host runtime."},{"Code":"BadRequest"},{"ErrorEntity":                       {"Code":"BadRequest","Message":"Encountered an error (ServiceUnavailable) from host runtime."}}],"Innererror":null}

 

Troubleshooting common errors:

 

We can’t troubleshoot the above common errors from the kudu console as the Logic App site itself isn’t up or working . You can use the below to troubleshoot the access to the storage account services.

 

  • Create an Azure VM with in the same Logic App integrated VNET, it can be a different subnet.
  • The simpler test can be accessing the Storage account services using the Storage explorer tool. If any issues in connectivity using this tool, continue with the below steps.
  • Check nslookup in the command prompt and make sure that the storage services are resolvable to intended IP addresses. If its on Service Endpoint, it should resolve to Public IP and if it has Private Endpoints, verify all services are resolvable to respective NIC private IP addresses. 
            nslookup [StorageaccountHostName] [OptionalDNSServer]

 

          Verify for all storage services:

                           nslookup {StorageaccountName}.blob.core.windows.net

                           nslookup {StorageaccountName}.file.core.windows.net

                           nslookup {StorageaccountName}.queue.core.windows.net

                           nslookup {StorageaccountName}.table.core.windows.net

 

 

  • If the DNS queries are resolvable, we can check psping or tcpping to storage account over 443 port.
                 psping [StorageaccountHostName] [Port] [OptionalDNSServer]

 

         Verify for all storage services:

                         psping {StorageaccountName}.blob.core.windows.net:443

                         psping {StorageaccountName}.file.core.windows.net:443

                         psping {StorageaccountName}.queue.core.windows.net:443

                         psping {StorageaccountName}.table.core.windows.net:443

 

  • If it is resolvable from Azure VM, we can check the DNS server is used for resolution in VM and set the same in the Logic App WEBSITE_DNS_SERVER setting and verify. Also, make sure that VNET integration is done with the appropriate VNET and subnet in Logic App.

 

References: You may refer to the below blogs for deep dive into Standard Logic App runtime and deployment using DevOps.

Azure Logic Apps Running Anywhere – Runtime Deep Dive (microsoft.com)

Deploying an Azure Logic Apps Standard workflow through Azure DevOps Pipeline - Microsoft Tech Commu...

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2626286%22%20slang%3D%22en-US%22%3EDeploying%20Standard%20Logic%20App%20to%20Storage%20Account%20behind%20Firewall%20using%20Service%20or%20Private%20Endpoints%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2626286%22%20slang%3D%22en-US%22%3E%3CP%3EStandard%20LogicApp%20is%20powered%20by%20new%20Azure%20single-tenant%20LogicApp%20runtime.%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Flogic-apps%2Fsingle-tenant-overview-compare%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESingle-tenant%20Logic%20App%3C%2FA%3E%26nbsp%3Boffering%20runs%20as%20an%20extension%20on%20top%20of%20Azure%20Function%20runtime.%20Like%20Azure%20Functions%2C%20the%20standard%20Logic%20App%20leverages%20storage%20account%20services%20such%20as%20blob%2C%20File%20Share%2C%20Queue%20and%20Table%20for%20various%20purposes.%20For%20instance%2C%20the%20website%20content%20is%20stored%20in%20File%20Share%20which%20will%20be%20accessed%20by%20Logic%20App%20site%20for%20up%20and%20running.%20You%20can%20refer%20to%20this%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fintegrations-on-azure%2Fazure-logic-apps-running-anywhere-runtime-deep-dive%2Fba-p%2F1835564%22%20target%3D%22_blank%22%3Eblog%3C%2FA%3E%20to%20understand%20how%20the%20storage%20services%20are%20leveraged%20in%20standard%20Logic%20App.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20article%2C%20we%20will%20see%20how%20to%20access%20the%20Storage%20account%20services%20on%20secured%20network%20using%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-network%2Fvirtual-network-service-endpoints-overview%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EService%20endpoints%3C%2FA%3E%20(or)%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fprivate-link%2Fprivate-endpoint-overview%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EPrivate%20Endpoints%3C%2FA%3E%20from%20Standard%20Logic%20App.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBy%20default%2C%20the%20portal%20creation%20experience%20of%20the%20Logic%20Apps%20expects%20the%20storage%20account%20must%20be%20accessible%20on%20public%20endpoint.%26nbsp%3B%20Let%20us%20explore%20the%20below%20options%20on%20how%20to%20access%20the%20storage%20account%20over%20a%20secured%20network.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-2114232659%22%20id%3D%22toc-hId-2114232684%22%3E%3CSTRONG%3EDeploy%20Logic%20App%20standard%20resource%20having%20secured%20access%20to%20Storage%20account%20using%20Portal%3A%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EStorage%20account%20need%20to%20be%20accessible%20on%20Public%20Endpoint%20i.e.%20Network%20access%20set%20to%20'All%20Networks'.%3C%2FLI%3E%0A%3CLI%3ECreate%20a%20Logic%20App%20resource%2C%20selecting%20the%20above%20created%20storage%20account%20during%20Logic%20App%20creation%20process.%3C%2FLI%3E%0A%3CLI%3EEnable%20the%20Service%20Endpoint%20or%20Private%20Endpoints%20(for%20all%20services%20i.e.%20blob%2C%20table%2C%20file%2C%20queue)%20on%20the%20storage%20account.%3C%2FLI%3E%0A%3CLI%3EEnable%20the%20VNET%20integration%20for%20Logic%20App%20resource%20with%20respective%20VNET%20and%20subnet%20have%20access%20to%20Storage%20account%20on%20Service%20Endpoint%20(SE)%20or%20Private%20Endpoints%20(PE).%3C%2FLI%3E%0A%3CLI%3ESet%20the%20below%20configuration%20settings%20(app%20settings)%20to%20access%20the%20storage%20on%20SE%20or%20PE%E2%80%99s.%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%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CTABLE%20style%3D%22width%3A%20612px%3B%22%20width%3D%22612%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2246.8281px%22%3E%3CP%20class%3D%22lia-align-left%22%3E%3CSTRONG%3ES.No%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22227.469px%22%20class%3D%22lia-align-left%22%3E%3CP%3E%3CSTRONG%3EConfiguration%20Setting%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151.312px%22%20class%3D%22lia-align-left%22%3E%3CP%3E%3CSTRONG%3EValue%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22185.391px%22%20class%3D%22lia-align-left%22%3E%3CP%3E%3CSTRONG%3EComments%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2246.8281px%22%3E%3CP%3E1%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22227.469px%22%3E%3CP%3EWEBSITE_VNET_ROUTE_ALL%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151.312px%22%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B1%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22185.391px%22%3E%3CP%3EIt%20routes%20all%20outbound%20traffic%20from%20LogicApp%20resource%20via%20integration%20VNET%20and%20Subnet.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2246.8281px%22%3E%3CP%3E2%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22227.469px%22%3E%3CP%3EWEBSITE_DNS_SERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151.312px%22%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20168.63.129.16%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B(or)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BCustom%20DNS%20server%26nbsp%3B%20IP%20Address%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22185.391px%22%3E%3CP%3EIt%20is%20used%20for%20resolving%20all%20host%20names%20to%20Ips.%20You%20can%20set%20either%20default%20Azure%20DNS%20IP%20or%20Custom%20DNS%20IP%20address.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2246.8281px%22%3E%3CP%3E3%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22227.469px%22%3E%3CP%3EWEBSITE_CONTENTOVERVNET%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151.312px%22%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%201%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22185.391px%22%3E%3CP%3EIt%20enables%20Logic%20App%20resource%20to%20access%20the%20website%20content%20over%20VNET%20traffic%20i.e.%20on%20SE%20or%20PE%E2%80%99s.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%2246.8281px%22%20class%3D%22lia-align-left%22%3E%3CP%3E4%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22227.469px%22%20class%3D%22lia-align-left%22%3E%3CP%3EWEBSITE_DNS_ALT_SERVER%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151.312px%22%20class%3D%22lia-align-left%22%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20Alternate%20DNS%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20server%20IP%20address%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22185.391px%22%3E%3CP%20class%3D%22lia-align-left%22%3EIP%20address%20of%20fallback%20DNS%20server%20for%20outgoing%20connections%20while%20WEBSITE_DNS_SERVER%20unable%20to%20resolve.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ENo%20need%20to%20restart%20the%20Logic%20App%20site%20when%20you%20update%20any%20app%20settings%20or%20adding%20new%20workflows%2C%20Logic%20App%20gracefully%20restarts%20in%20an%20incremental%20mode%20without%20impacting%20any%20existing%20runs.%20However%2C%20it%20isn't%20suggested%20to%20make%20changes%20when%20there%20are%20any%20in-process%20transactions.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-306778196%22%20id%3D%22toc-hId-306778221%22%3E%3CSTRONG%3EDeploy%20Logic%20App%20standard%20resource%20having%20secured%20access%20to%20Storage%20account%20using%20automated%20deployment%20tools%3A%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20overcome%20the%20issue%20of%20exposing%20the%20storage%20account%20to%20public%20internet%20with%20the%20portal%20creation%20experience%20using%20ARM%20template%20deployment.%20With%20ARM%20deployment%2C%20you%20no%20need%20to%20open%20it%20for%20all%20Networks%20and%20can%20be%20deployed%20directly%20with%20Service%20endpoints%20or%20Private%20Endpoints.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3BIf%20you%20would%20like%20to%20deploy%20Standard%20Logic%20App%20to%20secure%20storage%20account%20from%20automated%20tools%20such%20as%20DevOps%20using%20ARM%20templates.%26nbsp%3B%20%26nbsp%3BYou%20can%20refer%20to%20the%20sample%20templates%20available%20in%20the%20below%20Git-Hub.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FVeeraMS%2FLogicApp-deployment-with-Secure-Storage%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EVeeraMS%2FLogicApp-deployment-with-Secure-Storage%3A%20Deploying%20Logic%20App%20standard%20resource%20with%20Storage%20account%20having%20Private%20endpoints%20(github.com)%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EBelow%20GIF's%20provides%20a%20glimpse%20on%20how%20to%20configure%20the%20Logic%20App%20to%20access%20storage%20account%20using%20Service%20or%20Private%20endpoints.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1500676267%22%20id%3D%22toc-hId--1500676242%22%3E%3CSTRONG%3EAccess%20over%20Storage%20Service%20Endpoint%3A%3C%2FSTRONG%3E%3C%2FH3%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%22Access_Using_ServiceEndpoint.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F301691iDE2F28A2B6AE4F65%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Access_Using_ServiceEndpoint.gif%22%20alt%3D%22Access_Using_ServiceEndpoint.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-986836566%22%20id%3D%22toc-hId-986836591%22%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3CSTRONG%3EAccess%20over%20Storage%20Private%20Endpoints%3A%3C%2FSTRONG%3E%3C%2FH3%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%22PrivateEndpoint.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F301692iE656E8704DA76E21%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PrivateEndpoint.gif%22%20alt%3D%22PrivateEndpoint.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3EvnetRouteAllEnabled%20app%20setting%20is%20replaces%2C%20overrides%20and%20takes%20precedence%20over%20the%20legacy%20setting%20WEBSITE_VNET_ROUTE_ALL.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--820617897%22%20id%3D%22toc-hId--820617872%22%3E%3CSTRONG%3ECommon%20Errors%20when%20Storage%20account%20is%20behind%20Firewall%3A%3C%2FSTRONG%3E%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20generally%20observe%20the%20below%20common%20errors%20when%20deployment%20storage%20account%20is%20behind%20firewall%20which%20indicates%20that%20Logic%20App%20is%20unable%20to%20access%20the%20storage%20account%20services.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CH4%20id%3D%22toc-hId--130056423%22%20id%3D%22toc-hId--130056398%22%3E%3CSTRONG%3EAccess%20to%20host.json%20is%20denied%3A%20%3C%2FSTRONG%3E%3C%2FH4%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3ESystem.Private.CoreLib%3A%20Access%20to%20the%20path%20'C%3A%5C%5Chome%5C%5Csite%5C%5Cwwwroot%5C%5Chost.json'%20is%20denied.%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22veerareddy_0-1628490576596.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F301679i2D11F85294EC1B31%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22veerareddy_0-1628490576596.png%22%20alt%3D%22veerareddy_0-1628490576596.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CH4%20id%3D%22toc-hId--1937510886%22%20id%3D%22toc-hId--1937510861%22%3E%3CSTRONG%3EUnable%20to%20load%20workflows%20in%20Logic%20App%3A%20%3C%2FSTRONG%3E%3C%2FH4%3E%0A%26nbsp%3BYou%20may%20observe%20that%20workflows%20are%20not%20visible%20in%20the%20Logic%20App%20while%20Storage%20access%20is%20changed%20to%20selected%20networks%20or%20Private%20Endpoints.%20You%20can%20check%20the%20browser%20logs%20and%20it%20may%20show%20below%20error.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3CSTRONG%3E%7B%22Code%22%3A%22BadRequest%22%2C%22Message%22%3A%22Encountered%20an%20error%20(ServiceUnavailable)%20from%20host%20runtime.%22%2C%22Target%22%3Anull%2C%22Details%22%3A%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%5B%7B%22Message%22%3A%22Encountered%20an%20error%20(ServiceUnavailable)%20from%20host%20runtime.%22%7D%2C%7B%22Code%22%3A%22BadRequest%22%7D%2C%7B%22ErrorEntity%22%3A%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%7B%22Code%22%3A%22BadRequest%22%2C%22Message%22%3A%22Encountered%20an%20error%20(ServiceUnavailable)%20from%20host%20runtime.%22%7D%7D%5D%2C%22Innererror%22%3Anull%7D%3C%2FSTRONG%3E%3C%2FPRE%3E%0A%3CH4%20id%3D%22toc-hId-550001947%22%20id%3D%22toc-hId-550001972%22%3E%26nbsp%3B%3C%2FH4%3E%0A%3CH4%20id%3D%22toc-hId--1257452516%22%20id%3D%22toc-hId--1257452491%22%3E%3CSTRONG%3ETroubleshooting%20common%20errors%3A%3C%2FSTRONG%3E%3C%2FH4%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20can%E2%80%99t%20troubleshoot%20the%20above%20common%20errors%20from%20the%20kudu%20console%20as%20the%20Logic%20App%20site%20itself%20isn%E2%80%99t%20up%20or%20working%20.%20You%20can%20use%20the%20below%20to%20troubleshoot%20the%20access%20to%20the%20storage%20account%20services.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ECreate%20an%20Azure%20VM%20with%20in%20the%20same%20Logic%20App%20integrated%20VNET%2C%20it%20can%20be%20a%20different%20subnet.%3C%2FLI%3E%0A%3CLI%3EThe%20simpler%20test%20can%20be%20accessing%20the%20Storage%20account%20services%20using%20the%20Storage%20explorer%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-in%2Ffeatures%2Fstorage-explorer%2F%23overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Etool%3C%2FA%3E.%20If%20any%20issues%20in%20connectivity%20using%20this%20tool%2C%20continue%20with%20the%20below%20steps.%3C%2FLI%3E%0A%3CLI%3ECheck%20nslookup%20in%20the%20command%20prompt%20and%20make%20sure%20that%20the%20storage%20services%20are%20resolvable%20to%20intended%20IP%20addresses.%20If%20its%20on%20Service%20Endpoint%2C%20it%20should%20resolve%20to%20Public%20IP%20and%20if%20it%20has%20Private%20Endpoints%2C%20verify%20all%20services%20are%20resolvable%20to%20respective%20NIC%20private%20IP%20addresses.%3CSTRONG%20style%3D%22font-family%3A%20inherit%3B%22%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20nslookup%20%5BStorageaccountHostName%5D%20%5BOptionalDNSServer%5D%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSTRONG%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20Verify%20for%20all%20storage%20services%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%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%3Bnslookup%20%3CEM%3E%7BStorageaccountName%7D%3C%2FEM%3E.blob.core.windows.net%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%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%3Bnslookup%20%3CEM%3E%7BStorageaccountName%7D%3C%2FEM%3E.file.core.windows.net%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%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%3Bnslookup%20%3CEM%3E%7BStorageaccountName%7D%3C%2FEM%3E.queue.core.windows.net%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%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%3Bnslookup%20%3CEM%3E%7BStorageaccountName%7D%3C%2FEM%3E.table.core.windows.net%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIf%20the%20DNS%20queries%20are%20resolvable%2C%20we%20can%20check%20%3CSTRONG%3Epsping%3C%2FSTRONG%3E%20or%20%3CSTRONG%3Etcpping%3C%2FSTRONG%3E%20to%20storage%20account%20over%20443%20port.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CPRE%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20psping%20%5BStorageaccountHostName%5D%20%5BPort%5D%20%5BOptionalDNSServer%5D%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BVerify%20for%20all%20storage%20services%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%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%3Bpsping%20%3CEM%3E%7BStorageaccountName%7D%3C%2FEM%3E.blob.core.windows.net%3A443%3C%2FP%3E%0A%3CP%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%3Bpsping%20%3CEM%3E%7BStorageaccountName%7D%3C%2FEM%3E.file.core.windows.net%3A443%3C%2FP%3E%0A%3CP%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%3Bpsping%20%3CEM%3E%7BStorageaccountName%7D%3C%2FEM%3E.queue.core.windows.net%3A443%3C%2FP%3E%0A%3CP%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%3Bpsping%20%3CEM%3E%7BStorageaccountName%7D%3C%2FEM%3E.table.core.windows.net%3A443%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIf%20it%20is%20resolvable%20from%20Azure%20VM%2C%20we%20can%20check%20the%20DNS%20server%20is%20used%20for%20resolution%20in%20VM%20and%20set%20the%20same%20in%20the%20Logic%20App%20WEBSITE_DNS_SERVER%20setting%20and%20verify.%20Also%2C%20make%20sure%20that%20VNET%20integration%20is%20done%20with%20the%20appropriate%20VNET%20and%20subnet%20in%20Logic%20App.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EReferences%3C%2FSTRONG%3E%3A%20You%20may%20refer%20to%20the%20below%20blogs%20for%20deep%20dive%20into%20Standard%20Logic%20App%20runtime%20and%20deployment%20using%20DevOps.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fintegrations-on-azure%2Fazure-logic-apps-running-anywhere-runtime-deep-dive%2Fba-p%2F1835564%22%20target%3D%22_blank%22%3EAzure%20Logic%20Apps%20Running%20Anywhere%20%E2%80%93%20Runtime%20Deep%20Dive%20(microsoft.com)%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fintegrations-on-azure%2Fdeploying-an-azure-logic-apps-standard-workflow-through-azure%2Fba-p%2F2533050%22%20target%3D%22_blank%22%3EDeploying%20an%20Azure%20Logic%20Apps%20Standard%20workflow%20through%20Azure%20DevOps%20Pipeline%20-%20Microsoft%20Tech%20Community%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2626286%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%22veerareddy_0-1617776960674.jpeg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F301690i167CFA52DC9C7E2E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22veerareddy_0-1617776960674.jpeg%22%20alt%3D%22veerareddy_0-1617776960674.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2626286%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELogic%20Apps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Sep 20 2021 02:53 AM
Updated by: