简体   繁体   English

HTTP状态代码:Powershell中的AzureRM.Datafactoryv2 cmdlet找不到错误

[英]HTTP Status Code: Not found error for AzureRM.Datafactoryv2 cmdlets in powershell

When i run Get-AzureRmDataFactoryV2ActivityRun in PowerShell i get an error as shown below 当我在PowerShell中运行Get-AzureRmDataFactoryV2ActivityRun ,出现如下所示的错误

Get-AzureRmDataFactoryV2ActivityRun : HTTP Status Code: NotFound Error Code: NotFound Error Message: Operation returned an invalid status code 'NotFound' Request Id: ID Timestamp (Utc):05/31/2018 04:32:39 At line:2 char:1 + Get-AzureRmDataFactoryV2ActivityRun -DataFactoryName "maxscadfdev" -R ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Get-AzureRmDataFactoryV2ActivityRun], ErrorResponseException + FullyQualifiedErrorId : Microsoft.Azure.Commands.DataFactoryV2.GetAzureDataFactoryActivityRunCommand Get-AzureRmDataFactoryV2ActivityRun:HTTP状态代码:未找到错误代码:未找到错误消息:操作返回了无效的状态代码'未找到'请求ID:ID时间戳(UTC):05/31/2018 04:32:39在线:2字符: 1 + Get-AzureRmDataFactoryV2ActivityRun -DataFactoryName“ maxscadfdev” -R ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + CategoryInfo:CloseError:(:) [Get-AzureRmDataFactoryV2ActivityRun],ErrorResponseException + FullyQualifiedErrorId:Microsoft.Azure.Commands.DataFactoryV2.GetAzureDataFactoryActivityRunCommand

Very likely you have pushed incorrect Resource Group Name. 您很可能已推送了错误的资源组名称。 Check the following steps: 检查以下步骤:
1) update AzureRmDataFactoryV2 module first. 1)首先更新AzureRmDataFactoryV2模块。
2) restart PowerShell session (if needed) 2)重新启动PowerShell会话(如果需要)
3) check the correctness of passing Resource Group Name 3)检查传递资源组名称的正确性

I have wrote post with more details: 我写了更详细的帖子:
https://sqlplayer.net/2018/09/notfound-status-code-when-working-with-adfv2-via-azurerm-datafactoryv2-powershell-module/ https://sqlplayer.net/2018/09/notfound-status-code-when-working-with-adfv2-via-azurerm-datafactoryv2-powershell-module/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用AzureRM模块时发生PowerShell错误-HTTP状态代码:未找到 - PowerShell Error while using the AzureRM Module - HTTP Status Code: NotFound 使用 PowerShell 和 AzureRm 模块创建 Azure 数据工厂触发器时获取 HTTP 状态代码:BadRequest - Getting HTTP Status Code: BadRequest when creating Azure Data Factory Trigger using PowerShell with AzureRm module 将连接字符串与AzureRM.ServiceBus PowerShell cmdlet一起使用? - Use connection string with AzureRM.ServiceBus PowerShell cmdlets? 调用 Azure Powershell cmdlet 时出现“未在上下文中找到订阅”错误 - "No subscription found in the context" error when invoking Azure Powershell cmdlets Azure Powershell cmdlet-找不到请求的值“启用” - Azure Powershell cmdlets - Requested value 'enable' was not found 我们可以查看 PowerShell cmdlet 的源代码吗? - Can we see the source code for PowerShell cmdlets? 在C#中执行Powershell Cmdlet代码 - Executing Powershell Cmdlets Code in C# Azure Powershell cmdlet - New-AzureWebsite:未找到请求的值“Premium” - Azure Powershell cmdlets - New-AzureWebsite : Requested value 'Premium' was not found 使用 Python 运行 PowerShell 脚本时出现未知的 cmdlet 错误 - Unknown cmdlets error when running PowerShell script with Python 在Powershell中连接多个cmdlet - Concatenating Multiple cmdlets in Powershell
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM