Get-AzureRmDataFactoryV2Trigge failing with error Method not found: 'Newtonsoft.Json.Serialization.IAttributeProvider Newtonsoft.Json.Serialization.JsonProperty.get_AttributeProvider()'
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 Please include the output of Get-Module -ListAvailable as well as Get-AzureRmDataFactoryV2Trigger `<parameters used to get error`> -Debug
@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.
Closing as no response. @nirmalpavan If you are still seeing this issue feel free to reopen.
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.