We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi there,
Looking at the article from MS:
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events
Speficially these two parts of the article
Under Permissions heading
Under Required Scope
Does this mean that the registered app can only be setup to do one or the either?
As in, if I use it to authenticate as a service principal the registered app must not have Tenant.Read.All or Tenant.ReadWrite.All?
However, if I want to use the registered app to request an admin access token Tenant.Read.All or Tenant.ReadWrite.All one of these must be present?
Thanks,
Solved! Go to Solution.
Hi @nastip,
It mean you need to do both two settings. In fact, the permission of register app should be the prerequisite of rest api usages. You need at least enable one of the scope permission that the document mentions or these api could not able to be used.
BTW, you can take a look at the official document about 'get started with power bi rest API' usages to know more about them:
Get started with Power BI Embedded - Power BI | Microsoft Learn
Regards,
Xiaoxin Sheng
Hi @nastip,
It mean you need to do both two settings. In fact, the permission of register app should be the prerequisite of rest api usages. You need at least enable one of the scope permission that the document mentions or these api could not able to be used.
BTW, you can take a look at the official document about 'get started with power bi rest API' usages to know more about them:
Get started with Power BI Embedded - Power BI | Microsoft Learn
Regards,
Xiaoxin Sheng
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |