Npm run build validate error for data factory validation

Sunita 22 Reputation points Microsoft Employee
2022-08-31T18:20:10.287+00:00

I was able to validate and publish the ARM templates successfully from my collab branch in ADF. However, when I try to do it via yaml pipeline, it fails at npm run build validate with the error "Activity Execute Synapse notebook has the following validation error: azure synapse analytics linked service required'. It provides a link to the ADF to correct the validation errors but there are no validation errors which show up in the ADF. I do have the Azure Synapse Analytics (Artifacts) linked service created to execute synapse notebook from ADF. Wondering if there is any known issue with the Synapse Artifacts linked service as it was recently added to ADF

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,373 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2022-09-01T22:03:41.6+00:00

    Hello @Sunita ,

    Welcome to the MS Q&A platform.

    As per the public doc: https://learn.microsoft.com/en-us/azure/synapse-analytics/cicd/continuous-integration-delivery#use-the-synapse-workspace-deployment-task

    “In Azure Synapse, unlike in Data Factory, some artifacts aren't Resource Manager resources. You can't use the ARM template deployment task to deploy Azure Synapse artifacts. Instead, use the Synapse workspace deployment task.”

    And this should be regardless of using ADO(pipelines or release pipelines) or Github (Actions).

    You can set up git integration for the artifacts deployment using the synapse deployment task or You may use the Synapse REST API or PowerShell.

    Please refer to the below document that provides guidance on how to use the API.

    https://learn.microsoft.com/en-us/powershell/module/az.synapse/set-azsynapselinkedservice?view=azps-7.1.0

    CICD documentation: https://learn.microsoft.com/en-us/azure/synapse-analytics/cicd/continuous-integration-delivery#azure-synapse-analytics

    Other prerequisites: https://learn.microsoft.com/en-us/azure/synapse-analytics/cicd/continuous-integration-delivery#other-prerequisites

    Please do follow the below blogs:
    https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/azure-synapse-studio-cicd-using-yaml-pipelines/ba-p/3045553
    https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/how-to-use-ci-cd-integration-to-automate-the-deploy-of-a-synapse/ba-p/2248060
    https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/automating-the-publishing-of-workspace-artifacts-in-synapse-cicd/ba-p/3603042

    I hope this helps. Please let me know if you have any further questions.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    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.