azure-functions - Azure 函数无法在 Azure 门户中下载 PowerShell Core 的托管依赖项

标签 azure-functions azure-powershell azureportal azure-function-app

我有 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/

相关文章:

azure-functions - 我可以在天蓝色函数中实现异步 "fire and forget"HTTP 触发器吗

c# - 如何通过 POST 将参数传递给 Azure 函数?

c# - 在 Azure Function .net 5 中处理 blob 触发器时出现 Microsoft.Azure.Functions.Worker.Diagnostics.Exceptions.FunctionInputConverterException

azure - 我可以设置一个警报,以便在函数应用中更新配置时通知我吗?

powershell - 获取Azure VM的存储帐户

azure - Get-AzureRmRoleAssignment - 拒绝访问指定的 API 版本

powershell - ArgumentNullException - 获取 AzureService

.net - Azure 应用服务在日志中显示“"This page isn' t 现在正在工作 http 40 0"but the request is "200 OK”

azure - 在 Azure 门户中设置首选部署位置

Azure WebJobs 和队列相关指标