Share via

ADF Global Parameters validation failed using NPM Run validate command

Anonymous
2024-02-29T15:01:23+00:00

Below CICD YAML deployment code is getting failed "customCommand: 'run build validate $(Build.Repository.LocalPath) /subscriptions........" is getting failed due to usage of global parameters in various pipelines."with below error2024-02-29T14:01:25.5226531Z  Validator: Error for Expression: '@pipeline().globalParameters.ENV', Expression Error Message: 'Parameter ENV was not found under adfdevnew', attribute: '{"name":"value","display":"Set variable","templatable":true,"_owner":{"name":"SetVariable","display":["Set variable activity","Set variable activities"]}}', obj: '{"_object":{},"_owned":{},"_ancestor":{},"_model":{},"_aObject":{}}', resolution: '{"kind":0,"details":{}}', resolution.error: '{"kind":0,"details":{}}'In ADF activity, we are just setting a set variable with below dynamic query builder@concat('https://management.azure.com/subscriptions/',pipeline().globalParameters.SubscriptionID,'/resourceGroups/',pipeline().globalParameters.ACG_ResourceGroup,'/providers/Microsoft.ContainerInstance/containerGroups/',pipeline().globalParameters.ACG_Name)Any better solutions will be appreciated.

Microsoft 365 and Office | Publisher | For business

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-03-04T21:47:13+00:00

    Hi itsjyotirm,

    Just to clarify, Microsoft Q&A Community and this community are two different platforms. I can't move your thread to the Microsoft Q&A Community directly. You need to go to Microsoft Q&A Community and post a new thread there for help.

    Sincerely,

    George | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-03-03T10:47:34+00:00

    Thank you George. Could you help me to change this.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-02-29T18:41:30+00:00

    Hi itsjyotirm,

    Thanks for posting in the community. We are happy to help you.

    Please note that the Publisher category is for Microsoft Publisher which is a graphic design application. According to your description, my understanding is the situation is related to Azure Data Factory.

    If not, please point it out and let us know.

    If so, since we have a specific channel Microsoft Q&A Community coping with such Azure Data Factory questions, I suggest you post a new thread (assign the tab Azure Data Factory) there for expert help.

    Sorry for that our category may have limited resources to check on your concern further.

    Thanks for your understanding.

    George | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments