Expand description
Microsoft 365 Copilot cloud provider
Fetches conversation history from Microsoft 365 Copilot using the Microsoft Graph API.
§Authentication
Requires an Azure AD/Entra ID access token with the AiEnterpriseInteraction.Read.All
permission. This is typically obtained through:
- Azure AD application registration with admin consent
- MSAL (Microsoft Authentication Library) token acquisition
§API Documentation
§App Classes
Microsoft 365 Copilot interactions are categorized by app class:
IPM.SkypeTeams.Message.Copilot.BizChat- Microsoft 365 Copilot Chat (formerly Bing Chat Enterprise)IPM.SkypeTeams.Message.Copilot.Teams- Copilot in TeamsIPM.SkypeTeams.Message.Copilot.Word- Copilot in WordIPM.SkypeTeams.Message.Copilot.Excel- Copilot in ExcelIPM.SkypeTeams.Message.Copilot.PowerPoint- Copilot in PowerPointIPM.SkypeTeams.Message.Copilot.Outlook- Copilot in OutlookIPM.SkypeTeams.Message.Copilot.Loop- Copilot in Loop
§Example Usage
ⓘ
use csm::providers::cloud::m365copilot::M365CopilotProvider;
use csm::providers::cloud::CloudProvider;
// Create provider with Azure AD access token
let mut provider = M365CopilotProvider::new(Some(access_token));
provider.set_user_id("user-uuid".to_string());
// List conversations
let options = FetchOptions::default();
let conversations = provider.list_conversations(&options)?;Structs§
- M365
Copilot Provider - Microsoft 365 Copilot provider for fetching AI interaction history
Functions§
- get_
friendly_ app_ name - Get a friendly name for the M365 Copilot app class
- parse_
m365_ copilot_ export - Parse Microsoft 365 Copilot export data (JSON format from Graph API)