This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.13k
stars
4.52k
forks
source link
[BUG]DataFactoryPipelineCollection & DataFactoryPipelineResource Throwing {"Unable to cast object of type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' to type 'System.String'."} #43244
Azure.ResourceManager.DataFactory, 1.0.0-beta.6 (as well as 1.0.0)
Describe the bug
I am trying to fetch the pipelines list in a data factory.
When I try to loop through the collection, I get the error message:
{"Unable to cast object of type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' to type 'System.String'."}
Expected behavior
It should allow me to loop through and access the collection
Actual behavior
Error message: {"Unable to cast object of type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' to type 'System.String'."}
Library name and version
Azure.ResourceManager.DataFactory, 1.0.0-beta.6 (as well as 1.0.0)
Describe the bug
I am trying to fetch the pipelines list in a data factory. When I try to loop through the collection, I get the error message: {"Unable to cast object of type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' to type 'System.String'."}
Expected behavior
It should allow me to loop through and access the collection
Actual behavior
Error message: {"Unable to cast object of type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' to type 'System.String'."}
Reproduction Steps
DataFactoryPipelineCollection pipelines = dataFactoryResource.GetDataFactoryPipelines(); await foreach (DataFactoryPipelineResource item in pipelines.GetAllAsync()) { }
Environment
No response