is there a root/admin account which can access other user's data sources?

Ludmila Rinuado 0 Reputation points
2024-07-30T08:02:57.6133333+00:00

Consider a use case where I need to scan multiple data sources such as onedrive/sharepoint for multiple users. To do so, is there any root/admin account which can access the data sources of users which are under this root/admin user?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,017 questions
Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,168 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 105.8K Reputation points MVP
    2024-07-30T15:52:32.6466667+00:00

    That would depend on the use case. If you need to look for specific files or data within them, for example because of legal requirements, you can use the built-in Compliance tools and roles, such as eDiscovery. A global admin/SPO admin can also grant himself access to any given site and access all data therein.

    Programmatically, you can achieve the same via the Graph API and an application with Files.Read.All/Sites.Read.All permissions. This document is a good starting point: https://learn.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.