我创建了一个Powershell Webjob,用于Azure Logic App。代码正在尝试生成签名的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的一部分。但是他们还有另一种选择吗?或者我需要解析为单独的控制台应用程序吗?
答案 0 :(得分:2)
经过大量的谷歌搜索,我发现Azure Powershell作业不支持Azure命令。他们有计划允许这样做,但目前您无法在WebApps Webjob上运行Azure PowerShell作业。