azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Get-AzureRmDataFactoryV2Trigge failing with error Method not found: 'Newtonsoft.Json.Serialization.IAttributeProvider Newtonsoft.Json.Serialization.JsonProperty.get_AttributeProvider()'

Open nirmalpavan opened this issue 8 years ago • 4 comments

Get-AzureRmDataFactoryV2Trigge failing with error
Get-AzureRmDataFactoryV2Trigger : Method not found: 'Newtonsoft.Json.Serialization.IAttributeProvider Newtonsoft.Json.Serialization.JsonProperty.get_AttributeProvider()'. At line:14 char:14

  • ... TgrNames = Get-AzureRmDataFactoryV2Trigger -ResourceGroupName $Resou ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : CloseError: (:) [Get-AzureRmDataFactoryV2Trigger], MissingMethodException
    • FullyQualifiedErrorId : Microsoft.Azure.Commands.DataFactoryV2.GetAzureDataFactoryTriggerCommand

Please help here.

nirmalpavan avatar Jul 17 '18 16:07 nirmalpavan

@nirmalpavan Please include the output of Get-Module -ListAvailable as well as Get-AzureRmDataFactoryV2Trigger `<parameters used to get error`> -Debug

maddieclayton avatar Jul 17 '18 17:07 maddieclayton

@nirmalpavan also, would you mind confirming that this is being run in Azure Automation? We have seen previous instances of this error and they were all from scripts run in Azure Automation.

cormacpayne avatar Jul 17 '18 18:07 cormacpayne

Closing as no response. @nirmalpavan If you are still seeing this issue feel free to reopen.

maddieclayton avatar Jul 24 '18 18:07 maddieclayton

this is from azure automation only and I got reply from automation team that it is a known issue and they are fixing it by July end. thank you for the response.

nirmalpavan avatar Jul 27 '18 22:07 nirmalpavan