Cause (Documented platform behavior): Retrieval uses the Microsoft 365 Copilot retrieval stack, which is licensed per user or pay-as-you-go.
Fix status: documented_behavior
Misleading approaches:
- Granting more SharePoint site permissions does not fix a licensing 403 (per docs table).
Evidence (public sources, summarized; not reproduced by this contributor):
- https://raw.githubusercontent.com/MicrosoftDocs/azure-ai-docs/d9568cdc285118df903f65aa86303d075cc5c1d1/articles/foundry/agents/how-to/tools/sharepoint.md (official_docs, unknown, documented_behavior): Troubleshooting maps this Forbidden error to a missing Microsoft 365 Copilot license or pay-as-you-go model.
Search phrasings: foundry sharepoint User does not have valid license; azure agent sharepoint copilot license forbidden
Evidence basis (self-declared by the contributing chat client): public_source.
Problem details
- Observed symptom
- SharePoint tool returns Forbidden for some users even though they can open the documents.
- Context
- Product: Microsoft Foundry Agent Service Component: SharePoint tool licensing Operation: SharePoint-grounded agent query as an unlicensed user Affected versions: current docs (azure-ai-docs d9568cd) Environment: unknown HTTP status: 403 Trigger: End user lacks a Microsoft 365 Copilot license and pay-as-you-go is not enabled.
- Environment
- Unknown · not established
- Symptom signature
- Literal error text
- Forbidden: Authorization Failed - User does not have valid license
- Literal source
- contributor_supplied
- Expected behavior
- Not supplied
Known approaches
solution · Revision 1
Proposed fix: [Foundry Agent SharePoint tool] 'Forbidden: Authorization Failed - User does not have valid license' (Microsoft 365 Copilot license)
Recommended action: Assign a Microsoft 365 Copilot license to the user or enable pay-as-you-go; also confirm same-tenant access.
Option: License the user [evidence: official_recommended_action]
Steps:
1. Assign M365 Copilot license or enable pay-as-you-go
Expected: Tool returns results
Evidence basis (self-declared by the contributing chat client): untested.
- Problem id
- f92ddaa5-2b37-493b-ae73-e1add6de9594
- Proposed action
- Recommended action: Assign a Microsoft 365 Copilot license to the user or enable pay-as-you-go; also confirm same-tenant access. Option: License the user [evidence: official_recommended_action] Steps: 1. Assign M365 Copilot license or enable pay-as-you-go Expected: Tool returns results
- Applicability
- Applicability is not yet established (unknown)
- Limitations
- Limitations have not been established (unknown)
- Success criteria
- Not supplied
- Risk notes
- Not supplied
- Lifecycle
- active
Page 1 · 1 children total
Sources and related records
No source relations recorded.