Parameter 'PhysicalPath' should point to existing path, on Azure File Share #595
Labels
waiting for author response
The pull request is waiting for the author to respond to comments in the pull request.
I am trying to create a webApplication on IIS pointing to Azure File share using PowerShell DSC xWebApplication as below
xWebApplication AppName
{
DependsOn = "[xWebSite]xWebSiteName"
Name = "appname"
PhysicalPath = "\azurefileshare\etc"
WebAppPool = $AppPoolName
Website = $WebSiteName
}
I am getting "Parameter 'PhysicalPath' should point to existing path." error where the mentioned path can be accessed manually and able to set to IIS application manually.
All the user accounts involved in the process have full control access on file share
Also observed in Process Monitor that PowerShell DSC kicks off "C:\windows\system32\wbem\wmiprvse.exe" running as NT AUTHORITY\SYSTEM and not sure how to change user when running th PowerShell DSC.
Can someone help in this regard please.
The text was updated successfully, but these errors were encountered: