cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sato89
Helper I
Helper I

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

10 REPLIES 10
Anonymous
Not applicable

Hello Sato89,

 

I'm also working on the authentication side for my project. Would like to know how you managed to bypass the login. Could you please help, really aprecciated it.

sato89
Helper I
Helper I

Can anyone help me abut this request? 😉

subodhan
Frequent Visitor

 

Let me know if you still have the issue open. If yes, I can help you go past where you are stuck.

 

Anonymous
Not applicable

Hi sato,

 

Have you managed to solved the problem?

 

Many thanks

Michal

souzacaleb
Frequent Visitor

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

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?

Hi Sato89

 

I also face the same problem with the authentication, can you please share some info on this with me, really appreciated it

shiboli
Microsoft
Microsoft

Hi,

 

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

 

Hope that helps!

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!

Hil, I have the same problem.

 

I am using Insomnia for test, but the result is 401 Unauthorized

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.