Forum Discussion

GwendolineMeta's avatar
GwendolineMeta
Regular Visitor
7 months ago
Solved

Availability of GetAppsAsAdmin API for Service Principals

Hello, I would like to ask whether the GetAppsAsAdmin Power BI REST API (https://learn.microsoft.com/rest/api/power-bi/admin/apps-get-apps-as-admin) is currently supported — or planned to be suppo...
  • Zanqueta's avatar
    7 months ago

     

    Hi GwendolineMeta 

    Current Situation

    • The GetAppsAsAdmin API is not supported for Service Principals at present.
    • It requires a user-based admin account with the appropriate permissions (Power BI Service Administrator or equivalent via Azure AD).

    Why This Limitation Exists

    Some Admin APIs were designed for auditing and governance scenarios that require user context. Microsoft has been expanding support for SPNs, but not all endpoints are currently covered.

    Is There a Roadmap for SPN Support?

    Based on the latest updates from Microsoft (documentation and community feedback):
    • There is no official published date for SPN support for this specific API.
    • The general trend is that Admin APIs will gradually support SPNs, but this depends on Microsoft’s internal roadmap.
    I recommend monitoring:

    Recommended Alternative for Automated Scenarios

    If you need to retrieve Apps metadata without human interaction:
    Another approach:
    • Create a dedicated admin user account for automation (with MFA bypass via Conditional Access), if acceptable under your security policy.

     

    If this response was helpful in any way, I’d gladly accept a 👍much like the joy of seeing a DAX measure work first time without needing another FILTER.

    Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop 🌀.