Common Error Messages
The following are common error messages you may encounter accessing activity reports using the Microsoft Graph API and the suggested resolution.
Error Message | Resolution |
---|---|
"Tenant is not B2C or tenant doesn't have premium license" | Accessing sign-in reports requires an Azure Active Directory premium 1 (P1) license. If you encounter this error message while accessing sign-ins, ensure that your tenant is licensed with an Azure AD P1 license. |
"Application missing AAD 'Read directory data' permission" | Follow the steps in Setup and Installation to ensure your application is running with the correct permissions. |
"Application missing Microsoft Graph API 'Read all audit log data' permission" | Follow the steps in Setup and Installation to ensure your application is running with the correct permissions. |
"Access token validation failure. Invalid audience." | Follow the steps in Setup and Installation to ensure your application is running with the correct permissions. |