Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] DataFactoryResource.GetDataFactoryLinkedService(string name) JSON deserialization error for SAPTable LinkedService if sncMode property is specified #45772

Open
rn-zeiss opened this issue Sep 2, 2024 · 2 comments · May be fixed by #46342
Assignees
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

Comments

@rn-zeiss
Copy link

rn-zeiss commented Sep 2, 2024

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

@github-actions github-actions bot added 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 labels Sep 2, 2024
Copy link

github-actions bot commented Sep 2, 2024

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@HarveyLink
Copy link
Member

HarveyLink commented Sep 29, 2024

This issue may be a service issue, open issue in rest api repo: Azure/azure-rest-api-specs#30783

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants