| author | spgraph-docs-team |
|---|---|
| description | Groups special folder-related data items into a single structure. |
| title | specialFolder resource type |
| ms.localizationpriority | medium |
| doc_type | resourcePageType |
| ms.subservice | sharepoint |
| ms.date | 03/06/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Groups special folder-related data items into a single structure.
If a driveItem has a non-null specialFolder facet, the item represents a special (named) folder. Special folders can be accessed directly via the special folders collection.
Special folders provide simple aliases to access well-known folders without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to return that folder.
Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again.
[!INCLUDE files-special-folder-list]
Note: If your app has only requested Files.Read scope and requests a special folder that doesn't exist, the response will be a
403 Forbiddenerror.
| Property | Type | Description |
|---|---|---|
| name | string | The unique identifier for this item in the /drive/special collection |
None.
The following JSON representation shows the resource type.
{
"name": "string"
}For more information about the facets on a driveItem, see driveItem.