A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
export messages
Hi All,
I have a Teams channel, and I want to export all the channel messages to a text or CSV file. This is a one-time activity. I have created an Azure service principal (Azure App registration) and assigned Microsoft Graph delegated API permissions (ChannelMessage.Read.All). I logged into the Microsoft developer portal and tried to export the messages, but I am stuck at this point. Please guide me? 111111-2222-3333-4444-5678956789 is my unified group id.
i have logged to https://developer.microsoft.com/en-us/graph/graph-explorer and tried the below
https://graph.microsoft.com/v1.0/teams/111111-2222-3333-4444-5678956789/allChannels
Exchange Online
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Microsoft Teams | Microsoft Teams for business | Other
Additional features, settings, or issues not covered by specific Microsoft Teams categories
1 answer
Sort by: Oldest
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
1 deleted comment
Comments have been turned off. Learn more