web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Copilot Agent to searc...
Copilot Studio
Suggested Answer

Copilot Agent to search across Outlook, team, sharepoint and onedrive

(0) ShareShare
ReportReport
Posted on by 28
Hi Team,
 
We would like to get your suggestion on implementation of a copilot agent to search for results based on user query across organization outlook, team, sharepoint, onedrive etc and provide response to user. It should send all the documents found across all sources and allow to export it from a button in the chat interface.
 
We initially considered using M365 MCP server, but that isnt providing access to citation to export documents, also it isnt available for usage as per organization policy.
Please recommend the solution which can be utilized.
 
Regards
Shivangi
 
I have the same question (0)
  • Suggested answer
    Nivedipa-MSFT Profile Picture
    Microsoft Employee on at
    Hello ,

    Consider using the Microsoft Graph Search API (POST /search/query) to search across Outlook, Teams, SharePoint, and OneDrive in one request. This API provides comprehensive metadata, including web URLs and download links.

    To build a Teams Bot:

    1. Accept the user's search query
    2. Call the Graph Search API using delegated permissions (OBO flow)
    3. Present results as Adaptive Cards showing document titles, sources, and content snippets
    4. Add an "Export" button (Action.Execute) to initiate a backend process for generating download links or packaging files

    Why not use M365 MCP Server? The Graph Search API provides direct access to web URLs and file download endpoints, enabling complete citation and export functionality.

    Required permissions: Mail.Read, Files.Read.All, Sites.Read.All, Chat.Read (delegated).
     

  • SK-11031031-0 Profile Picture
    28 on at
    We tried using the M365 MCP Server but we couldn't get the citation access which was limitation as we need to export the documents out of copilot, Also now this is being upgraded the MCP Server Work IQ is in preview mode we are unable to utilize it.
     
    Can you please confirm if there is any other work around? 
    Also, can you please recommend if it is better to use Copilot Studio Agent / AI Foundry Agent 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 455

#2
Vish WR Profile Picture

Vish WR 273

#3
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 202 Super User 2026 Season 1

Last 30 days Overall leaderboard