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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.