Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Hi Riccardo Bruè,
The 403 Forbidden (UnknownError) is usually not a token-format problem once AiEnterpriseInteraction.Read.All is present and consented.
Also, the AI Assist note about change notification subscription quotas is likely unrelated to this direct GET call unless you are creating subscriptions.
For this endpoint, check these in order:
- Endpoint support + permission mode
- Confirm this API is enabled in your tenant/region and supports your auth mode (application).
- Copilot entitlement
- Target user typically needs qualifying Microsoft 365 Copilot entitlement (Copilot Chat + Connectors alone may not be sufficient for all enterprise interaction history scenarios).
- Token claims
-
aud = https://graph.microsoft.com -
rolescontainsAiEnterpriseInteraction.Read.All - Token issued by same tenant where consent was granted.
-
- User scope
- Use a member user in the same tenant (not guest/B2B external user).
- Service rollout / policy gating
- This API can return 403 when backend enablement/compliance gating is not active for the tenant.
If all checks pass, open Microsoft support with:
-
request-id -
client-request-id - UTC timestamp
- tenant ID, app ID, user ID/UPN
That is the fastest way to confirm backend rollout/allow-list status.
References
- Microsoft Graph permissions reference:
https://learn.microsoft.com/graph/permissions-reference - App-only auth for Microsoft Graph:
https://learn.microsoft.com/graph/auth-v2-service - Resolve Graph auth/authorization errors (401/403):
https://learn.microsoft.com/graph/resolve-auth-errors - Copilot interaction history endpoint docs (latest):
https://learn.microsoft.com/search/?terms=getAllEnterpriseInteractions%20Microsoft%20Graph%20Copilot
Thanks & Regards
Karan Shewale.