How to parametrize in the arm-template-parameters-definition.json the referenceName for Linked Service Reference in the Datasets part.

Dina 0 Reputation points
2025-03-10T07:51:01.0166667+00:00

I would like to parametrize in the arm-template-parameters-definition.json the "referenceName" for linked service in the datasets part of the file. You can have a look at the below image the part I want to change in order the production environment to take the correct changes:

User's image

As you can see i tried to add the referenceName with the equal symbol "=" but it did not let me change the value for prod environment. I also tried the minus symbol "-" but it didn't work either. How it should be parametrized in order to have the ability to change the value for the prod environment in the pipeline?

Thank you

Azure Data Factory
Azure Data Factory

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


1 answer

Sort by: Most helpful
  1. Dina 0 Reputation points
    2026-06-22T08:43:09.65+00:00

    Hello again,

    Thank you for your previous reply.

    We didn't approach your recommended approach.

    Unfortunately now we have a serious problem with parameters limit 256. We exceeded this value to 297.

    The problem is with the datasets. We have 37 parquet datasets but only one of them uses a different a different linked on production env, that's why we have to parametrize the parquet datasets. At the moment this is the current configuration of parquet datasets:

        "Microsoft.DataFactory/factories/datasets": {
            "*": {
                "properties": {}
            },
            "Parquet": {
                "properties": {
                    "linkedServiceName": {
                        "referenceName": "=",
                        "type": "LinkedServiceReference"
                    }
                }
            },
            "Json": {
                "properties": {
                    "linkedServiceName": {
                        "referenceName": "=",
                        "type": "LinkedServiceReference"
                    }
                }
            }
        },
    

    As you can see the above approach parametrizes all the parquet type datasets. Is there a way to parametrize only the 1 datasets that changes its value from dev to prod? Can you please provide all the required steps? Is there a way to group all the other datasets that use a specific linked service?

    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.