TermStore.Read.All
Allows the app to read all term store data, without a signed-in user. This includes all sets, groups and terms in the term store.
Permission Details
Read all term store data
Allows the app to read all term store data, without a signed-in user. This includes all sets, groups and terms in the term store.
ea047cc2-df29-4f3e-83a3-205de61501ca
Read term store data
Allows the app to read the term store data that the signed-in user has access to. This includes all sets, groups and terms in the term store.
297f747b-0005-475b-8fef-c890f5152b38
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
dataLocationCode |
string |
The geographic region code for where this site collection resides. Only present for multi-geo tenants. Read-only. |
hostname |
string |
The hostname for the site collection. Read-only. |
root |
[root][] |
If present, indicates that this is a root site collection in SharePoint. Read-only. |
archivalDetails |
[siteArchivalDetails][] |
Represents whether the site collection is recently archived, fully archived, or reactivating. The possible values are: recentlyArchived, fullyArchived, reactivating, unknownFutureValue. |
analytics |
object |
Analytics about the view activities that took place on this site. |
columns |
columnDefinition collection |
The collection of column definitions reusable across lists under this site. |
contentTypes |
contentType collection |
The collection of content types defined for this site. |
createdBy |
object |
Identity of the user, device, or application that created the item. Read-only. |
createdByUser |
object |
Identity of the user who created the item. Read-only. |
createdDateTime |
date-time |
Date and time of item creation. Read-only. |
description |
stringNullable |
Provides a user-visible description of the item. Optional. |
displayName |
stringNullable |
The full title for the site. Read-only. |
drive |
object |
The default drive (document library) for this site. |
drives |
drive collection |
The collection of drives (document libraries) under this site. |
error |
object |
Showing 15 of 36 properties.
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"hostname": "contoso.sharepoint.com",
"dataLocationCode": "EUR",
"root": {
"@odata.type": "microsoft.graph.root"
},
"archivalDetails": {
"@odata.type": "microsoft.graph.siteArchivalDetails",
"archiveStatus": "fullyArchived"
}
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
columns |
columnDefinition collection |
The collection of column definitions reusable across lists under this site. |
contentTypes |
contentType collection |
The collection of content types defined for this site. |
drives |
drive collection |
The collection of drives (document libraries) under this site. |
externalColumns |
columnDefinition collection |
Related externalColumns data exposed by this resource. |
items |
baseItem collection |
Used to address any item contained in this site. This collection can't be enumerated. |
lists |
list collection |
The collection of lists under this site. |
operations |
richLongRunningOperation collection |
The collection of long-running operations on the site. |
pages |
baseSitePage collection |
The collection of pages in the baseSitePages list in this site. |
permissions |
permission collection |
The permissions associated with the site. Nullable. |
sites |
site collection |
The collection of the sub-sites under this site. |
termStores |
termStore.store collection |
The collection of termStores under this site. |
contentModels |
contentModel collection |
The collection of content models applied to this site. |
documentProcessingJobs |
documentProcessingJob collection |
The document processing jobs running on this site. |
extensions |
extension collection |
The collection of open extensions defined for this site. Nullable. |
pageTemplates |
pageTemplate collection |
The collection of page templates on this site. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
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.Sites["{site-id}"].TermStore.Groups["{group-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let group = await client.api('/sites/microsoft.sharepoint.com,b9b0bc03-cbc4-40d2-aba9-2c9dd9821ddf,6a742cee-9216-4db5-8046-13a595684e74/termStore/groups/1FFD3F87-9464-488A-A0EC-8FB90911182C')
.get();
Import-Module Microsoft.Graph.Sites
Get-MgSiteTermStoreGroup -SiteId $siteId -GroupId $groupId
# 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.sites.by_site_id('site-id').term_store.groups.by_group_id('group-id').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 TermStore.Read.All
Grant Admin Consent
Application permissions always require admin consent.