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

REST API Get Bearer Token when NOT Admin

There are several posts on getting the bearer token needed to get data from the REST API. Most have been marked as solved.

However, each solution points to, or walks through the process as if one were an Azure Admin.

 

Is there a way to get the Bearer token automatically when you are not an admin and do not have access to the Client ID?

 

   

1 ACCEPTED SOLUTION

I foun dthis in another post:

https://github.com/migueesc123/PowerBIRESTAPI

 

I have implemented it and it works great. Still in beta but the important stuff, reports, pages, datasets, refresh histors and schedules are working.

View solution in original post

3 REPLIES 3

I foun dthis in another post:

https://github.com/migueesc123/PowerBIRESTAPI

 

I have implemented it and it works great. Still in beta but the important stuff, reports, pages, datasets, refresh histors and schedules are working.

GilbertQ
Super User
Super User

Hi @wsdcawefwqrevfq 

 

You can log in with your own credentials which will give you a bearer token.

 

You can try this via the REST APIs and click on Try It

Groups - Get Groups - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

GilbertQ_0-1683756189653.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I should have clearer. I meant with regards to automatically retrieving token using the client ID, etc

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.

Top Solution Authors
Top Kudoed Authors