Summary
ask_work_iq cannot retrieve content from a direct SharePoint sharing URL. When given a URL like https://microsoft.sharepoint.com/:w:/t/TeamName/..., it attempts an enterprise file search instead of resolving the sharing link, and returns no results.
Reproduction
- Ask:
What is the content of the document at https://microsoft.sharepoint.com/:w:/t/CLPMSandboxv2/cQoGEnAVLo-...
- Response: "I couldn't retrieve that document. No matching file was returned by the search service."
Expected behavior
When a user provides a direct SharePoint sharing URL, WorkIQ should:
- Resolve the sharing link via the Graph API (e.g.
/shares/{encodedUrl}/driveItem)
- Retrieve and summarize the document content
Context
Users frequently share documents via SharePoint sharing links. Being unable to read them makes WorkIQ ineffective for a core document collaboration workflow.
Environment
- Copilot CLI 1.0.74-3
- WorkIQ MCP plugin (npm @microsoft/workiq)
Summary
ask_work_iqcannot retrieve content from a direct SharePoint sharing URL. When given a URL likehttps://microsoft.sharepoint.com/:w:/t/TeamName/..., it attempts an enterprise file search instead of resolving the sharing link, and returns no results.Reproduction
What is the content of the document at https://microsoft.sharepoint.com/:w:/t/CLPMSandboxv2/cQoGEnAVLo-...Expected behavior
When a user provides a direct SharePoint sharing URL, WorkIQ should:
/shares/{encodedUrl}/driveItem)Context
Users frequently share documents via SharePoint sharing links. Being unable to read them makes WorkIQ ineffective for a core document collaboration workflow.
Environment