Forum Discussion

kdoherty's avatar
kdoherty
Advocate I
8 months ago
Solved

Deployment pipeline: Selective deployment via API

I am using the Fabric API to deploy content via a deployment pipeline.  https://learn.microsoft.com/en-us/rest/api/fabric/core/deployment-pipelines/deploy-stage-content   There is an option to dep...
  • v-hashadapu's avatar
    v-hashadapu
    7 months ago

    Hi kdoherty , Thank you for reaching out to the Microsoft Community Forum.

     

    Deployment pipelines in Microsoft Fabric do not have any built-in capability to detect what has changed between stages. The Deploy stage content API can deploy everything in the workspace or a list of item IDs that you explicitly provide, but Fabric itself does not expose any way to compare source and target stages, track versions or identify which reports or semantic models were modified. Because of this, pipelines behave as full promotion mechanisms rather than incremental ones. If you want to deploy only a single changed report, the pipeline has no way to determine that automatically, you must already know which items changed and pass only those item IDs to the deployment call.

     

    In practice, this means selective deployment requires external change tracking, such as source control (PBIP + Git) or a release process that records which artifacts were modified. Without that external context, redeploying all items is the way of Fabric deployment pipelines today.