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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Questions on Power BI REST APIs and APPs

Hi

 

I am new to Power BI and its Apps, Rest APIs, Please answer the following questions so that it helps me proceed further:

 

1. When i create an app through the https://dev.powerbi.com/Apps, It is not reflecting in portal.azure.com (in Active directory - App registrations) and also in https://app.powerbi.com/home. Am i expecting wrong? Because, it needs to be same app everywhere when i use the clientid or client secret, so that it does not mismatch in the api calls. I may create an app in active directory in portal.azure.com or dev.powerbi.com/apps, if they been created seperately it will be a problem to use APIs. Please suggest and guide me on this.

 

2. I have a created an app in azure.portal.com with abcApp and generated clientId and Client_secret, granted Power BI permissions to that app, but when i access them through the app.powerbi.com/home by creating workspace with that same app name and published, i am having 401 Unotherized for each API call. Ofcourse i am able to generate a authtoken from and for the following resources:

resource: https://analysis.windows.net/powerbi/api
https://login.microsoftonline.com/2cdfd332-097b-4983-b373-e393fafa436a/oauth2/token
not sure what i am missing here as well?

 

Please guide me and help me in this regards to proceed further, had already googled alot but not sure what is causing the issue even if i follow the same instructions.

 

1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

1. It should be in the Azure App lists. Maybe it is hidden by default. Please refer to the snapshot below. You can click "All apps" to see it.

Questions-on-Power-BI-REST-APIs-and-APPs

 

2. The App in the Service is the App Workspace while the App in the Azure is an application. Surely you can name them with the same name. 

Which API did you call? Did you look at the rest/api/power-bi/ documents? You should send proper parameters.

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

1. It should be in the Azure App lists. Maybe it is hidden by default. Please refer to the snapshot below. You can click "All apps" to see it.

Questions-on-Power-BI-REST-APIs-and-APPs

 

2. The App in the Service is the App Workspace while the App in the Azure is an application. Surely you can name them with the same name. 

Which API did you call? Did you look at the rest/api/power-bi/ documents? You should send proper parameters.

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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