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:
- Ensure you have admin permissions – You’ll need to be a Global Administrator or have sufficient Azure AD permissions to register enterprise applications.
- 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
- 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.