ADF Global Parameters Error

Andrew Mitchell 1 Reputation point
2020-08-20T08:46:56.337+00:00

I have deployed a global parameter for a connection string and am receiving the following error when I try and test the connection

The parameters and expression cannot be resolved for schema operations. Error Message: { "Message": "ErrorCode=InvalidTemplate, ErrorMessage=The expression 'pipeline().globalParameters.gp_SQLDW_Server' cannot be evaluated because property 'globalParameters' doesn't exist, available properties are ''.." }

I am not currently deploying this with CICD

Regards
Andy

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
{count} votes

2 answers

Sort by: Most helpful
  1. HarithaMaddi-MSFT 10,146 Reputation points
    2020-08-20T16:47:09.48+00:00

    Hi anonymous userMitchell,

    Thanks for posting the query. As per documentation, Global parameters can only been referenced in pipelines, and, you can pass them through a dataset and then to the linked service. I confirmed the same with Product team and below is an approach I followed to parameterize username, please check if this helps to resolve the issue. Kindly let me know for further questions and I will be glad to assist further.

    19128-usingglobalparameterslinkedserviceadf.gif

    1 person found this answer helpful.

  2. Marcin Dąbrowski 1 Reputation point
    2020-10-05T08:49:10.037+00:00

    Hi, I have exactly the same issue.
    I think the problem is connected with git integration.
    I have Azure DevOps connected to the Data Factory.
    When I change something in development branch and then published it, I'm getting this issue.
    All pipelines are working OK in GIT mode, but the failure is in Data Factory mode.
    Only disconnecting from DevOps, removing adf_publish branch, connecting again, and publishing again helps.

    Please try to reproduce it.

    Regards,
    Marcin

    0 comments No comments

Your answer

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