Forum Discussion

KateAllen's avatar
KateAllen
New Member
1 year ago
Solved

Switch gateway connection from Dev to Prod

I am using deployment pipeline to deployment reports from Dev to Prod. I am aware that we can use deployment rules or power query parameters to change the data source from Dev DB to Prod DB automatic...
  • Akash_Varuna's avatar
    1 year ago

    Hi KateAllen i think you can’t automatically change gateway mappings during deployment for this you will probably have to go with REST API for autoamtion i guess

  • manikumar34's avatar
    1 year ago

    KateAllen 
    Yes, you can automate the gateway connection mapping when deploying reports from Dev to Prod using Power BI REST API, PowerShell, or Azure DevOps pipelines. Since deployment pipelines don’t automatically switch the gateway, you’ll need to handle that separately.