Forum Discussion
Deployment Pipeline Error
- 1 year ago
Hi km267
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
Hi km267
Welcome to the Microsoft Fabric Forum.
The error 'WorkspaceId' cannot be null occurs because the expression @pipeline().DataFactory is not valid in Microsoft Fabric. This expression is specific to Azure Data Factory and is not supported in Fabric pipelines. To resolve this issue, define the necessary values such as workspaceId and artifactId as pipeline parameters, and reference them using @pipeline().parameters.workspaceId and @pipeline().parameters.artifactId in your activity JSON. Then, use the deployment pipeline interface to create parameter rules that map these parameters to the correct values for each environment, including development, test, and production. This method ensures that the pipeline receives the correct environment-specific values during deployment.
If this information helps resolve your issue, kindly consider marking this response as the Accepted Solution, as it may assist other community members facing similar challenges.
Thank You!