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.49k
stars
4.82k
forks
source link
[BUG] DataFactoryResource.GetDataFactoryLinkedService(string name) JSON deserialization error for SAPTable LinkedService if sncMode property is specified #45772
Trying to get an instance of a SAPTable LinkedService from data factory using DataFactoryResource.GetDataFactoryLinkedService(string name) method. There is an exception raised if the LinkedService is containing the sncMode:
"Unable to cast object of type 'System.Boolean' to type 'System.String'."
Expected behavior
DataFactoryLinkedServiceResource is instantiated properly for SAPTable LinkedService with sncMode specified.
Actual behavior
If the "sncMode" property is specified in the LinkedService there is an exception during method call DataFactoryResource.GetDataFactoryLinkedService(string name):
"Unable to cast object of type 'System.Boolean' to type 'System.String'."
Reproduction Steps
Define a LinkedService of type SAPTable in data factory and try to access it using DataFactoryResource.GetDataFactoryLinkedService(string name)
Library name and version
Azure.ResourceManager.DataFactory 1.3.0
Describe the bug
Trying to get an instance of a SAPTable LinkedService from data factory using DataFactoryResource.GetDataFactoryLinkedService(string name) method. There is an exception raised if the LinkedService is containing the sncMode: "Unable to cast object of type 'System.Boolean' to type 'System.String'."
Expected behavior
DataFactoryLinkedServiceResource is instantiated properly for SAPTable LinkedService with sncMode specified.
Actual behavior
If the "sncMode" property is specified in the LinkedService there is an exception during method call DataFactoryResource.GetDataFactoryLinkedService(string name): "Unable to cast object of type 'System.Boolean' to type 'System.String'."
Reproduction Steps
Define a LinkedService of type SAPTable in data factory and try to access it using DataFactoryResource.GetDataFactoryLinkedService(string name)
Environment
No response