Azure Data Factory Linked Service settings for SQL is not consistent when deployed via CI/CD

Desmond Fernando 31 Reputation points
2022-08-11T08:23:33.71+00:00

In the development Azure Data Factory (ADF) the linked sql connection's Authentication Type is set as System Assigned Managed Identity. As shown in the image bellow.

230305-image.png

The ADF is connected to Azure Repo and when deployed via ARM template in CI/CD the same is created in the test ADF. Bellow is the Azure Pipeline power shell configuration for deployment.

230343-image.png

But when click on the Linked Service in the Test ADF it sets Authenticaion Type as SQL Authentication. (It should be System Assigned Managed Identity)
230373-image.png

As a result of this, the linked service connection in Test environment is unable to use System Assigned Managed Identity. I to understand what is causing this issue?

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    6 deleted comments

    Comments have been turned off. Learn more

  2. Mike Wong 46 Reputation points
    2023-09-01T10:59:47.77+00:00

    If anybody else is having this problem in 2023 in Synapse, check if your connectionString value is a | instead of anything else.

    This worked for me:

    "typeProperties": {
                        "connectionString": "|",
                        "baseUrl": "=",
                        "serviceEndpoint": "="
                    },
    

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.