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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dhwani
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors