SharePointTenantSettings.Read.All
Allows the application to read the tenant-level settings of SharePoint and OneDrive, without a signed-in user.
Permission Details
Read SharePoint and OneDrive tenant settings
Allows the application to read the tenant-level settings of SharePoint and OneDrive, without a signed-in user.
83d4163d-a2d8-4d3b-9695-4ae3ca98f888
Read SharePoint and OneDrive tenant settings
Allows the application to read the tenant-level settings in SharePoint and OneDrive on behalf of the signed-in user.
2ef70e10-5bfd-4ede-a5f6-67720500b258
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
edge |
object |
A container for Microsoft Edge resources. Read-only. |
exchange |
object |
A container for the Exchange admin functionality. Read-only. |
microsoft365Apps |
object |
A container for the Microsoft 365 apps admin functionality. |
people |
object |
Represents a setting to control people-related admin settings in the tenant. |
reportSettings |
object |
A container for administrative resources to manage reports. |
serviceAnnouncement |
object |
A container for service communications resources. Read-only. |
sharepoint |
object |
|
teams |
object |
A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.admin"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
configurationManagement |
configurationManagement |
A container for Tenant Configuration Management (TCM) resources. Read-only. |
edge |
edge |
A container for Microsoft Edge resources. Read-only. |
exchange |
exchangeAdmin |
A container for the Exchange admin functionality. Read-only. |
microsoft365Apps |
adminMicrosoft365Apps |
A container for the Microsoft 365 apps admin functionality. |
people |
peopleAdminSettings |
Represents a setting to control people-related admin settings in the tenant. |
reportSettings |
adminReportSettings |
A container for administrative resources to manage reports. |
serviceAnnouncement |
serviceAnnouncement |
A container for service communications resources. Read-only. |
sharepointSettings |
sharepointSettings |
A container for administrative resources to manage tenant-level settings for SharePoint and OneDrive. |
teams |
teamsAdministration.teamsAdminRoot |
A container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/admin/sharepoint/settings
|
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/admin/sharepoint/settings
|
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Admin.Sharepoint.Settings.GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let sharepointSettings = await client.api('/admin/sharepoint/settings')
.get();
Import-Module Microsoft.Graph.Sites
Get-MgAdminSharepointSetting
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.admin.sharepoint.settings.get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for SharePointTenantSettings.Read.All
Grant Admin Consent
Application permissions always require admin consent.