cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sato89 Regular Visitor
Regular Visitor

Power BI Server and REST API calls

Hi everyone,

I installed an instance of Power BI Server with some reports on a computer and I can view the reports in embed version inside a web-app by adding the parameter "?rs:Embed=true" to the report URL. I have also implemented the security integration with an ASP.NET web page that allow me to bypass the Power BI login and it uses customized credentials.

Now, can I also use REST API to get reports or dashboard from my Power BI Server? Note that my reports are on my Server and not on app.powerbi.com.

 

Can you helps me?

 

Thanks.

Best regard.

 

Salvatore

6 REPLIES 6
Microsoft shiboli
Microsoft

Re: Power BI Server and REST API calls

Hi,

 

Here's a list of supported REST Api for PBIRS: https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0

 

Hope that helps!

sato89 Regular Visitor
Regular Visitor

Re: Power BI Server and REST API calls

Thank you shiboli for the answer.

For example I try to send this request:

<PBIWebServiceAddress>/api/v2.0/Session with appropriate headers and body.

I received 401 Unauthorized using Postman, but I have set the correct credentials according to the service account configured in the Report Server Configuration Manager.

 

What am I doing wrong?

 

Thank you in advance!

souzacaleb Frequent Visitor
Frequent Visitor

Re: Power BI Server and REST API calls

Hello @sato89

 

You said that you implemented the securitiy integration to allow bypass the login and I´m trying to find a solution like that. Could you help me?

 

In my envirorment I have intalled the Power BI Report Server and I'm trying to embed the application in sharepoint and share it with external user authentication. Do you know if it´s possible to do it with the securitity integration that you mentioned

 

Did your configuration works?

Thanks

sato89 Regular Visitor
Regular Visitor

Re: Power BI Server and REST API calls

Hi. Yes, my solution works very fine and I think that is good and works fine also for sharepoint reports encapsulation. You can try it! Did you have any problems?

sato89 Regular Visitor
Regular Visitor

Re: Power BI Server and REST API calls

Can anyone help me abut this request? 😉

pinchizzo Visitor
Visitor

Re: Power BI Server and REST API calls

Hi sato,

 

Have you managed to solved the problem?

 

Many thanks

Michal

Helpful resources

Announcements
New Ranks and Rank Icons in 2020

New Ranks and Rank Icons in 2020

Read the announcement for more information!

New Kudos Given Badges Coming

New Kudos Given Badges Coming

We're rolling out new Kudos Given badges. Find out how many Kudos you've given.

November 2019 Community Highlights

November 2019 Community Highlights

Get an overview of the events and great community content from November.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)