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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
yraghavendra
New Member

I am not able to add power bi to Azure account

Hi,

 

I am trying to use Power BI rest APIs through postman.If I am correct in order to use REST API we need to add power bi to Azure account.And I am unable to do that.I can see this page but it is not responding to my actions(see screenshot).

Ultimately I want to use Power BI Rest API.Please help me with the further steps I need to take.

Screenshot_1.png

1 ACCEPTED SOLUTION

@yraghavendra

See my previous reply. POSTMAN is a very good tool for testing REST APIs. You don't even have to code any powershell script.

View solution in original post

3 REPLIES 3
yraghavendra
New Member

HI,

 

I want to execute Power BI Rest APIs 

I have Pro version I have create and published App on Server

I also have azure account and have also assigned permission for Power BI service

Dont know about C# code terminologies

and how to execute code and get access token

But i m unable to get AD tenant ID, authorization code, access token 

 

Refered the above links but didnt helped me

 

https://docs.microsoft.com/en-us/power-bi/developer/get-azuread-access-token

 

https://docs.microsoft.com/en-us/power-bi/developer/register-app

 

and related links to it

If any alternative solution using powershell script in azure would also we useful

 

Kindly Do the needful as soon as possible as this is our top priority

Thanking You

@yraghavendra

See my previous reply. POSTMAN is a very good tool for testing REST APIs. You don't even have to code any powershell script.

Eric_Zhang
Microsoft Employee
Microsoft Employee

@yraghavendra

There seems something wrong with that page, you can register the app in Azure portal(free) directly. See Register with the Azure portal.

After creating the app, add the Power BI API(Power BI Service (Microsoft.Azure.AnalysisServices) for that application. Then add sufficient permissions(14) to PBI APIs and grant permissions.

Capture.JPG

 

As to how to get an accesstoken in Postman, see this thread.

 

 

The registered app is used to get the accesstoken, if only for testing purpose, you can get a token in a quick way without the app following this thread.  

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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