【问题标题】:Powershell Webjob fails to runPowershell Webjob 无法运行
【发布时间】:2015-05-29 19:41:34
【问题描述】:

我创建了一个用于 Azure 逻辑应用程序的 Powershell Webjob。该代码试图生成一个签名的 URI,以便最终用户可以在文件可用时下载该文件。为此,我创建了一个简单的 Powershell Webjob。

New-AzureStorageContext : The term 'New-AzureStorageContext' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. 
CommandNotFoundException New-AzureStorageBlobSASToken : The term 'New-AzureStorageBlobSASToken' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

我知道这些是 Azure Powershell 的一部分。但是他们有其他选择吗?还是我需要解析为单独的控制台应用程序?

【问题讨论】:

  • 如果我包含 Azure powershell 模块。我遇到了这个错误“请在执行前连接到互联网”

标签: powershell azure-webjobs


【解决方案1】:

经过大量google搜索,我发现Azure Powershell作业不支持Azure命令。他们有计划允许这样做,但目前您无法在 WebApps Webjob 上运行 Azure PowerShell 作业。

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2020-12-05
  • 2021-05-13
  • 2016-07-23
  • 1970-01-01
  • 1970-01-01
  • 2021-12-20
  • 2020-02-12
  • 2021-05-10
相关资源
最近更新 更多