You can use the Content search eDiscovery tool in the Microsoft 365 compliance center to search for in-place content such as email, documents, and instant messaging conversations in your organization. Use this tool to search for content in these cloud-based Microsoft 365 data sources:
-
Exchange Online mailboxes
-
SharePoint Online sites and OneDrive for Business accounts
-
Microsoft Teams
-
Microsoft 365 Groups
-
Yammer Groups
To read more clink on the link below
https://docs.microsoft.com/en-us/microsoft-365/compliance/content-search?view=o365-worldwide