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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Employee
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors