我有 4 个函数应用程序。只有一个函数应用程序才能成功运行一个函数,即使它们是相同的函数。其他 3 个函数要么不会运行,要么给我一个托管依赖项下载错误,如下所示:
> 2019-09-16T14:37:51.707 [Error] Executed
> 'Functions.UiPath_New_User_Email' (Failed,
> Id=557d0895-1765-4558-9dc6-2346ddaa1841) Result: Failure Exception:
> Fail to install FunctionApp dependencies. Error: 'Fail to create
> FunctionApp dependencies destination path
> 'D:\home\data\ManagedDependencies\190916143602765.r'. Please make sure
> you have write access to this location. Error 'There is not enough
> space on the disk :
> 'D:\home\data\ManagedDependencies\190916143602765.ri''. ' Stack: at
> Microsoft.Azure.Functions.PowerShellWorker.DependencyManagement.DependencyManager.WaitOnDependencyInstallationTask()
> in
> C:\projects\azure-functions-powershell-worker\src\DependencyManagement\DependencyManager.cs:line
> 239 at
> Microsoft.Azure.Functions.PowerShellWorker.DependencyManagement.DependencyManager.WaitForDependenciesAvailability(Func`1
> getLogger) in
> C:\projects\azure-functions-powershell-worker\src\DependencyManagement\DependencyManager.cs:line
> 145 at
> Microsoft.Azure.Functions.PowerShellWorker.RequestProcessor.ProcessInvocationRequest(StreamingMessage
> request) in
> C:\projects\azure-functions-powershell-worker\src\RequestProcessor.cs:line
> 233
最佳答案
我从错误中猜测这些是 PowerShell 函数。错误在 "managed dependencies" feature 附近这将引入您为您定义的模块。
您能否确认所有应用的 requirements.psd1 都相同?如果是这样,可能值得提出一个问题 here如果可以,还包括函数应用程序的名称。
关于azure-functions - Azure 函数无法在 Azure 门户中下载 PowerShell Core 的托管依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57959902/