Hi Kumar, Anand - Thanks for reaching out.
Can you please share what is error / exception message, that you received post configuration. This might help in further investigation/troubleshooting or deciding the next action plan.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have an Azure Function App with an associated storage account, automatically created when the Function App was set up. This storage account contains azure-webjobs-hosts
, azure-webjobs-secrets
, and a file in file shares. Currently, the Function App uses the storage account via account keys. I want to disable SAS key access and switch to using a System-Assigned Managed Identity. I followed the steps in the Microsoft documentation as below link for setting up System-Assigned Managed Identity but was unsuccessful.
Any suggestions how to do that?
Hi Kumar, Anand - Thanks for reaching out.
Can you please share what is error / exception message, that you received post configuration. This might help in further investigation/troubleshooting or deciding the next action plan.
I found the following error messages under Function App -> Diagnose and Solve Problems:
System.UnauthorizedAccessException A host error has occurred during startup operation 'e4****f7'. Access to the path 'C:\home\site\wwwroot' is denied.
System.ComponentModel.Win32Exception
Failed to start Worker Channel. Process fileName: C:\Program Files (x86)\SiteExtensions\Functions\4.34.2\workers\dotnet-isolated/bin/FunctionsNetHost.exe An error occurred trying to start process 'C:\Program Files (x86)\SiteExtensions\Functions\4.34.2\workers\dotnet-isolated/bin/FunctionsNetHost.exe' with working directory 'C:\home\site\wwwroot'. The directory name is invalid.
Removing errored webhost language worker channel for runtime: do
Removing errored webhost language worker channel for runtime: dotnet-isolated workerId:b25***38 System.AggregateException : One or more errors occurred. (An error occurred trying to start process 'C:\Program Files (x86)\SiteExtensions\Functions\4.34.2\workers\dotnet-isolated/bin/FunctionsNetHost.exe' with working directory 'C:\home\site\wwwroot'. The directory name is invalid.) ---> An error occurred trying to start process 'C:\Program Files (x86)\SiteExtensions\Functions\4.34.2\workers\dotnet-isolated/bin/FunctionsNetHost.exe' with working directory 'C:\home\site\wwwroot'. The directory name is invalid.
Function app: Function host is not running.