Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
dhwani
Microsoft Employee
Microsoft Employee

POWER BI CI/ CD using the Power BI API

I have Azure Analysis services as my source and I am trying to do CI CD with power shell and Service Principal.

I do not have any gateways as it is not required. Here is the problem.

I am able to update my connection string from DEV to PPE and from PPE to Dev the reports are working. I validated using get- data sources in the group and it is updated and looks good as below.

I do not have any gateway , But what is this gateway ID?

 

{
  "@odata.context": "http://df-msit-scus-redirect.analysis.windows.net/v1.0/myorg/groups/ab5c3fad-3dc1-4ace-a458-87d7712682d0/$metadata#datasources",
  "value": [
    {
      "datasourceType": "AnalysisServices",
      "connectionDetails": {
        "server": "Proper COnnection String",
        "database": "Proper Name"
      },
      "datasourceId": "Some ID",
      "gatewayId": "SOme ID"
    }
  ]
}

When I am changing the connection string to Prod , my reports are not working and when I tried with get- datasource details the output is different.
There is no datasource ID and gateway ID . what is the isue here?

{ "@odata.context": "http://df-msit-scus-redirect.analysis.windows.net/v1.0/myorg/groups/ab5c3fad-3dc1-4ace-a458-87d7712682d0/$metadata#datasources",
"value": [ { "datasourceType": "AnalysisServices",
"connectionDetails":
{
"server": "Proper COnnection String",
"database": "Proper Name"
},
}
] }

@Jayendran Any idea?

 

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi , @dhwani 

Sorry, I have never encountered similar problem before.

It is suggest to  create a support ticket in Power BI Support to get further help.

https://powerbi.microsoft.com/en-us/support/ 

 

Best Regards,
Community Support Team _ Eason

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors