Forum Discussion

paritoshmishra's avatar
5 years ago
Solved

Devops Automation of Embedded Power BI

Scenario

We have 10  Azure  SQL Database  Server and each server has almost 10 databases. Each database associates with each client.

I have embedded Power BI with our enterprise sites. I have implemented  PowerBI workspace-based Isolation.

 

I want to publish a report on  Power BI online and creating automation that changes DB server,  DB name, and DB  credential thru the release pipeline without any manual intervention to input.

 

I am able to publish the report with parametrize  DB server and DB  and with DB server credentials. So by calling POwerBI API, I have changes DBName and its works perfectly. But is only limited to that  DB server.

If I change DB server Name with POwerBI API then it asks for the credential to input manually (credential field  may be empty) otherwise it cant refresh

As Power BI rest API to change credentials is only support PATCH verbs, it cants works when the DB server changed.

I do not have much knowledge of Power BI  

Is there any way we publish the report contains only schema only (not data ) without associates any DB /DB server and we attaches that report with  DB /DB server on Power Online only or from our application?

 

Or 

Is any way to automate the change DB server , DB Name and its credential by using PowerBI API .net SDK  V3



Please help me out.


Thanks in advance 
Paritosh Mishra  

 

 

 

 

 

 

 

 


 

  • paritoshmishra's avatar
    paritoshmishra
    5 years ago

    This is solved. Place of  Powershell  variable declaration in a script   have  an issue

     

    Thanks  

4 Replies