Azure Logic Apps · Standard logic apps: storage account
Access to the path 'C:\home\site\wwwroot\host.json' is denied
Short answer
This Azure Logic Apps (Standard) error means the logic app cannot access its storage account, typically one behind a firewall. In the Azure portal, make sure that the storage account and file share still exist.
VerifiedLast verified
01Error text
System.Private.CoreLib: Access to the path 'C:\home\site\wwwroot\host.json' is denied.02Likely causes
- The storage account is behind a firewall and the logic app cannot access the storage account services.
- The storage account or file share no longer exists, or the app settings point to the wrong one.
03How to fix it
- In the Azure portal, make sure that the storage account and file share still exist.
- In the logic app's environment variables, check that
WEBSITE_CONTENTAZUREFILECONNECTIONSTRINGandWEBSITE_CONTENTSHAREspecify the correct storage account and file share. - On the logic app resource menu, select Diagnose and solve problems, then run the Logic App Down or Reporting Errors and Network Troubleshooter detectors.
- From a virtual machine in the same virtual network, use
nslookupandpspingto check that the Blob, File, Queue and Table storage services resolve and are reachable.
04Official documentation
→Related errors
- The network path was not foundThis Azure Logic Apps (Standard) error means the logic app is unable to connect to the file share in its storage account. In the Azure portal, make sure that the storage account and file share still exist.
- The user name or password is incorrectThis Azure Logic Apps (Standard) error means the logic app is unable to authenticate to the file share in its storage account. In the Azure portal, make sure that the storage account and file share still exist.
- Could not find a part of the path 'C:\home\site\wwwroot'This Azure Logic Apps (Standard) error appears when building configuration in an external startup class and means the logic app cannot access its storage account services. In the Azure portal, make sure that the storage account and file share still exist.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Azure Logic Apps work:Open Azure Logic Apps jobsAzure Logic Apps rates and salaries