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
Markzolotoy
Impactful Individual
Impactful Individual

Check if REST API is enabled

How can I check if REST API is enabled for a particular workspace.

 

Thanks

5 REPLIES 5
v-luwang-msft
Community Support
Community Support

Hi @Markzolotoy ,

Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

Best Regards
Lucien

v-luwang-msft
Community Support
Community Support

Hi @Markzolotoy ,

To use the Power BI REST APIs, you need to register an Azure Active Directory (Azure AD) application in Azure. The Azure AD app establishes permissions for Power BI REST resources, and allows access to the Power BI REST APIs. To learn how to register an app, see Register an Azure AD application to use with Power BI.Some of the Power BI APIs refer to workspaces as groups. Any reference to groups means that you're working with workspaces.

In the Azure portal, you can view your app and make changes to its permissions.

  1. Sign into the Azure portal.

  2. Select your Azure AD tenant by selecting your account in the upper right corner of the page.

  3. Select App registrations. If you can't see this option, search for it.

  4. From the Owned applications tab, select your app. The application opens in the Overview tab, where you can review the Application ID.

  5. Select the View API permissions tab.

vluwangmsft_1-1645511862863.png

 

To learn more details,refer:

https://docs.microsoft.com/en-us/rest/api/power-bi/ 

https://docs.microsoft.com/en-us/power-bi/developer/embedded/register-app?tabs=customers%2CAzure  

 

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


Best Regards

Lucien

tackytechtom
Super User
Super User

Hi @Markzolotoy,

 

I just throw out this one here as it might give you some more information on this issue. The blogpost provides a walk-through on how to refresh datasets in Power BI  via the PBI REST API. Instead of using the managed identity you can use a Service Principal instread. 

 

Hope this can help! 🙂

 

/Tom

https://www.tackytech.blog/

https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

DavisBI
Solution Specialist
Solution Specialist

@Markzolotoy  Hi, PBI REST API should be at tenant level, no workspace level. However, you can check the App permission on Azure and see if any workspace has a user/SP that has been grant with member or Admin.

Markzolotoy
Impactful Individual
Impactful Individual

Can you please elaborate on that?

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