Forum Discussion
Check if REST API is enabled
How can I check if REST API is enabled for a particular workspace.
Thanks
5 Replies
- DavisBISolution 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.
- MarkzolotoyImpactful Individual
Can you please elaborate on that?
- tackytechtomMost Valuable Professional
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
- v-luwang-msftCommunity 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.
-
Sign into the Azure portal.
-
Select your Azure AD tenant by selecting your account in the upper right corner of the page.
-
Select App registrations. If you can't see this option, search for it.
-
From the Owned applications tab, select your app. The application opens in the Overview tab, where you can review the Application ID.
-
Select the View API permissions tab.
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 RegardsLucien
-
- v-luwang-msftCommunity 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