[BUG] DataFactoryResource.GetDataFactoryLinkedService(string name) JSON deserialization error for SAPTable LinkedService if sncMode property is specified #45772
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Data Factory
Mgmt
This issue is related to a management-plane library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
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
The text was updated successfully, but these errors were encountered: