Share via

Failed to list accounts: Purview first party app service principal not present in the tenant.

JonatanP 5 Reputation points
2025-04-24T11:16:44.3066667+00:00

Hi, I'm trying to use Microsoft Purview and I'm getting the following error:

"Failed to list accounts: Purview first party app service principal not present in the tenant."

I'm using my Office 365 account, not a dedicated Azure account, and I'm not sure how to resolve this issue.

Can someone help me understand what this means and what steps I need to take to fix it?

Thanks in advance!

Microsoft Security | Microsoft Purview

3 answers

Sort by: Most helpful
  1. David Rivers 10 Reputation points
    2025-12-18T16:00:37.9633333+00:00

    The solution for me was to visit https://compliance.microsoft.com/ and wait for about 30 seconds, which then seemed to create the application for me. I can't believe it was as simple as visiting a link, after answers above had me in CLI, checking enterprise apps etc etc.

    Hopefully this will save others some time :-)

    Was this answer helpful?

    2 people found this answer helpful.

  2. Nate Olsen 0 Reputation points
    2025-11-07T14:56:59.98+00:00

    The consent link you provided in your answer does not exist and does not "go" anywhere.
    Is there a way to provide a generic link such that anyone (such as myself) coming here for advice and guidance has something to work from beside vague references?

    Was this answer helpful?

    0 comments No comments

  3. Venkat Reddy Navari 5,840 Reputation points Microsoft External Staff Moderator
    2025-04-24T11:43:24.79+00:00

    Hi @JonatanP The error message "Failed to list accounts: Purview first party app service principal does not present in the tenant" typically means that the Microsoft Purview application hasn’t been registered in your Azure Active Directory (AAD) tenant yet.

    Since you're using an Office 365 account and not a dedicated Azure account, the required service principal for Microsoft Purview might not have been created automatically.

    Here’s how you can resolve this:

    1. Ensure you have admin permissions – You’ll need to be a Global Administrator or have sufficient Azure AD permissions to register enterprise applications.
    2. Manually trigger service principal creation:
      • Go to the Azure Portal: https://portal.azure.com
      • Navigate to Microsoft Entra ID > Enterprise Applications.
      • Search for Microsoft Purview Resource Provider.
      • If it doesn’t show up, use the following link to initiate the consent process and register the app: Microsoft Purview Consent Link
    3. Verify service principal registration: Microsoft provides detailed instructions on how to verify whether first-party apps like Purview are properly registered: Verify first-party apps can sign in (Microsoft Learn)

    After completing these steps, try accessing Microsoft Purview again. If the service principal has been registered successfully, the error should no longer occur.

    Hope this helps. Do let us know if you any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.