| title | sharePointGroup resource type |
|---|---|
| description | Represents a cohort of users or Microsoft 365 groups that are localized to a SharePoint Embedded container or SharePoint site. |
| author | tmarwendo-microsoft |
| ms.localizationpriority | medium |
| ms.subservice | onedrive |
| doc_type | resourcePageType |
| toc.title | SharePoint group |
| ms.date | 1/31/2025 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Represents a cohort of users or Microsoft 365 groups that are localized to a SharePoint Embedded container or SharePoint site.
| Method | Return type | Description |
|---|---|---|
| List | sharePointGroup collection | Get a list of sharePointGroup objects and their properties. |
| Create | sharePointGroup | Create a new sharePointGroup object. |
| Get | sharePointGroup | Read the properties and relationships of a sharePointGroup object. |
| Update | sharePointGroup | Update the properties of a sharePointGroup object. |
| Delete | None | Delete a sharePointGroup object that is local to a fileStorageContainer. |
| List SharePoint group members | sharePointGroupMember collection | Get a list of the sharePointGroupMember objects and their properties. |
| Create SharePoint group member | sharePointGroupMember | Create a new sharePointGroupMember object within a sharePointGroup. |
| Property | Type | Description |
|---|---|---|
| description | String | The user-visible description of the sharePointGroup. Read-write. |
| id | String | The unique stable identifier of the sharePointGroup. This ID is unique only within the context of a single SharePoint Embedded container or SharePoint site. Read-only. |
| principalId | String | The principal ID of the SharePoint group in the tenant. Read-only. |
| title | String | The user-visible title of the sharePointGroup. Read-write. |
| Relationship | Type | Description |
|---|---|---|
| members | sharePointGroupMember collection | The set of members in the sharePointGroup. Read-write. |
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.sharePointGroup",
"description": "String",
"id": "String (identifier)",
"principalId": "String",
"title": "String"
}