cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Power BI Dataset Deployments

Hello,

 

         Has anyone been able to perform all these steps below using App (Clientid/Secret):

1) Deploy PBIX dataset to power bi service 

2) update dataset parameter

3) Get a list of datasource id from Gateway cluster

4) Bind dataset to specific Gateway ( postman comes back as 'API is not accessible for application' message)

     there are 2 datasources with same server name so need to bind to specific gateway by using datasourceid

 

Steps 1 and 2 are possible using rest api and by using the App. However, steps 3 and 4 requires doesnt succeed.

   I have already added all delegate permissions to the App, Added the app as member to an azure group that has been provided Power BI Administrator role.

 

Is the only alternative is to create a dummy/service account -> provide admin access and then use it for deployments?

 

Thanks

Rakesh

 

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Power BI Dataset Deployments

Hi  @RakeshSinghr ,

 

Have you tried API via below link?

https://docs.microsoft.com/en-us/powershell/module/datagateway/get-datagatewayclusterdatasource?view...

 

Or powershell?

https://www.sqlshack.com/connect-query-power-bi-azure-using-powershell/

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Highlighted
Helper III
Helper III

Re: Power BI Dataset Deployments

Hi Kelly,

 

             I'm able to get list of all workspaces,datasets, reports etc by invoking rest api method in powershell using Appid, secret.

Even publishing dataset to workspace is working but after publishing bindtogateway is not.

Highlighted
Community Support
Community Support

Re: Power BI Dataset Deployments

Hi @RakeshSinghr

 

Then check the below link:

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/bindtogateway

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Highlighted
Helper III
Helper III

Re: Power BI Dataset Deployments

Hi - I dont know how that link is going to help in anyway given the issue i described in my original post. I have already tried using that API.

 

I have now opened a ticket. I'd suggest reading through the post before responding with 'check out this url' thats not helpful to anyone.

 

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors