ESC
Type to search...

FileStorageContainer.Selected

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read User Scope

Allows the application to utilize the file storage container platform to manage containers, without a signed-in user. The specific file storage containers and the permissions granted to them will be configured in Microsoft 365 by the developer of each container type.

Permission data: April 6, 2026 at 4:06 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Access selected file storage containers

Allows the application to utilize the file storage container platform to manage containers, without a signed-in user. The specific file storage containers and the permissions granted to them will be configured in Microsoft 365 by the developer of each container type.

Delegated Permission User consent allowed

Access selected file storage containers

Allows the application to utilize the file storage container platform to manage containers on behalf of the signed in user. The specific file storage containers and the permissions granted to them will be configured in Microsoft 365 by the developer of each container type.

Properties

Microsoft Graph v1.0 exact-category-docs

Properties is shown from stable Microsoft Graph v1.0 metadata.

Property Type Description
assignedSensitivityLabel assignedLabel Sensitivity label assigned to the fileStorageContainer. Read-write.
containerTypeId Guid Container type ID of the fileStorageContainer. For details about container types, see Container Types. Each container must have only one container type. Read-only.
createdDateTime DateTimeOffset Date and time of the fileStorageContainer creation. Read-only.
customProperties fileStorageContainerCustomPropertyDictionary Custom property collection for the fileStorageContainer. Read-write.
description StringNullable Provides a user-visible description of the fileStorageContainer. Read-write.
displayName String The display name of the fileStorageContainer. Read-write.
id String The unique stable identifier of the filerStorageContainer. Read-only.
lockState siteLockState Indicates the lock state of the fileStorageContainer. The possible values are unlocked and lockedReadOnly. Read-only.
settings fileStorageContainerSettings Settings associated with a fileStorageContainer. Read-write.
status fileStorageContainerStatus Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive , active . Read-only.
viewpoint fileStorageContainerViewpoint Data specific to the current user. Read-only.
columns columnDefinition collection The set of custom structured metadata supported by the fileStorageContainer. Read-write.
drive object The drive of the resource fileStorageContainer. Read-only.
migrationJobs sharePointMigrationJob collection The collection of sharePointMigrationJob objects local to the container. Read-write.
permissions permission collection The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write.

Showing 15 of 16 properties.

JSON Representation

Microsoft Graph v1.0 exact-category-docs

JSON representation is shown from stable Microsoft Graph v1.0 metadata.

JSON representation
{
  "@odata.type": "#microsoft.graph.fileStorageContainer",
  "id": "String (identifier)",
  "displayName": "String",
  "description": "String",
  "containerTypeId": "Guid",
  "assignedSensitivityLabel": {
    "@odata.type": "microsoft.graph.assignedLabel"
  },
  "customProperties": {
    "@odata.type": "microsoft.graph.fileStorageContainerCustomPropertyDictionary"
  },
  "viewpoint": {
    "@odata.type": "microsoft.graph.fileStorageContainerViewpoint"
  },
  "status": "String",
  "createdDateTime": "String (timestamp)",
  "settings": {
    "@odata.type": "microsoft.graph.fileStorageContainerSettings"
  }
}

Relationships

Microsoft Graph v1.0 exact-category-docs

Relationships is shown from stable Microsoft Graph v1.0 metadata.

Relationship Type Description
columns columnDefinition collection The set of custom structured metadata supported by the fileStorageContainer. Read-write.
drive drive The drive of the resource fileStorageContainer. Read-only.
permissions permission collection The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write.
recycleBin recycleBin Recycle bin of the fileStorageContainer. Read-only.
migrationJobs sharePointMigrationJob collection The collection of sharePointMigrationJob objects local to the container. Read-write.
containerTypeId uuid Container type ID of the fileStorageContainer. For details about container types, see Container Types. Each container must have only one container type. Read-only.
settings fileStorageContainerSettings Related settings data exposed by this resource.
externalGroupId uuid Related externalGroupId data exposed by this resource.
owners userIdentity collection List of users who own the fileStorageContainer. Read-only.
sharePointGroups sharePointGroup collection The collection of sharePointGroup objects local to the container. Read-write.

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /drives/{driveId}
GET /storage/fileStorage/containers?$filter=containerTypeId eq {containerTypeId}
GET /storage/fileStorage/containers?$filter=containerTypeId eq {containerTypeId} and viewpoint/effectiveRole eq 'principalOwner'
GET /storage/fileStorage/containers/{containerId}
GET /storage/fileStorage/containers/{containerId}/columns
GET /storage/fileStorage/containers/{containerId}/columns/{columnId}
GET /storage/fileStorage/containers/{containerId}/customProperties
GET /storage/fileStorage/containers/{containerId}/customProperties/{propertyName}
GET /storage/fileStorage/containers/{containerId}/drive
GET /storage/fileStorage/containers/{containerId}/permissions
GET /storage/fileStorage/containers/{containerId}/recycleBin/items
GET /storage/fileStorage/containers/{fileStorageContainerId}/migrationJobs/{migrationJobId}/progressEvents
GET /storage/fileStorage/deletedContainers?$filter=containerTypeId eq {containerTypeId}
POST /storage/fileStorage/containers
POST /storage/fileStorage/containers/{containerId}/activate
POST /storage/fileStorage/containers/{containerId}/columns
POST /storage/fileStorage/containers/{containerId}/lock
POST /storage/fileStorage/containers/{containerId}/permanentDelete
POST /storage/fileStorage/containers/{containerId}/permissions
POST /storage/fileStorage/containers/{containerId}/recycleBin/items/delete
POST /storage/fileStorage/containers/{containerId}/recycleBin/items/restore
POST /storage/fileStorage/containers/{containerId}/unlock
POST /storage/fileStorage/containers/{fileStorageContainerId}/migrationJobs
POST /storage/fileStorage/containers/{fileStorageContainerId}/provisionMigrationContainers
POST /storage/fileStorage/deletedContainers/{containerId}/restore
PATCH /storage/fileStorage/containers/{containerId}
PATCH /storage/fileStorage/containers/{containerId}/columns/{columnId}
PATCH /storage/fileStorage/containers/{containerId}/customProperties
PATCH /storage/fileStorage/containers/{containerId}/permissions/{permissionId}
PATCH /storage/fileStorage/containers/{containerId}/recycleBin/settings
DELETE /storage/fileStorage/containers/{containerId}
DELETE /storage/fileStorage/containers/{containerId}/columns/{columnId}
DELETE /storage/fileStorage/containers/{containerId}/permissions/{permissionId}
DELETE /storage/fileStorage/containers/{fileStorageContainerId}/migrationJobs/{sharePointMigrationJobId}
DELETE /storage/fileStorage/deletedContainers/{containerId}
Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /drives/{driveId}
GET /storage/fileStorage/containers?$filter=containerTypeId eq {containerTypeId}
GET /storage/fileStorage/containers?$filter=containerTypeId eq {containerTypeId} and viewpoint/effectiveRole eq 'principalOwner'
GET /storage/fileStorage/containers/{containerId}
GET /storage/fileStorage/containers/{containerId}/columns
GET /storage/fileStorage/containers/{containerId}/columns/{columnId}
GET /storage/fileStorage/containers/{containerId}/customProperties
GET /storage/fileStorage/containers/{containerId}/customProperties/{propertyName}
GET /storage/fileStorage/containers/{containerId}/drive
GET /storage/fileStorage/containers/{containerId}/permissions
GET /storage/fileStorage/containers/{containerId}/recycleBin/items
GET /storage/fileStorage/containers/{fileStorageContainerId}/migrationJobs/{migrationJobId}/progressEvents
GET /storage/fileStorage/containers/{fileStorageContainerId}/sharePointGroups
GET /storage/fileStorage/containers/{fileStorageContainerId}/sharePointGroups/{sharePointGroupId}
GET /storage/fileStorage/containers/{fileStorageContainerId}/sharePointGroups/{sharePointGroupId}/members
GET /storage/fileStorage/containers/{fileStorageContainerId}/sharePointGroups/{sharePointGroupId}/members/{sharePointGroupMemberId}
GET /storage/fileStorage/deletedContainers?$filter=containerTypeId eq {containerTypeId}
GET /storage/fileStorage/deletedContainers/{containerId}
POST /storage/fileStorage/containers
POST /storage/fileStorage/containers/{containerId}/activate
POST /storage/fileStorage/containers/{containerId}/archive
POST /storage/fileStorage/containers/{containerId}/columns
POST /storage/fileStorage/containers/{containerId}/lock
POST /storage/fileStorage/containers/{containerId}/permanentDelete
POST /storage/fileStorage/containers/{containerId}/permissions
POST /storage/fileStorage/containers/{containerId}/recycleBin/items(driveItemId='{driveItemId}')/restore
POST /storage/fileStorage/containers/{containerId}/recycleBin/items/delete
POST /storage/fileStorage/containers/{containerId}/recycleBin/items/restore
POST /storage/fileStorage/containers/{containerId}/unarchive
POST /storage/fileStorage/containers/{containerId}/unlock
POST /storage/fileStorage/containers/{fileStorageContainerId}/migrationJobs
POST /storage/fileStorage/containers/{fileStorageContainerId}/provisionMigrationContainers
POST /storage/fileStorage/containers/{fileStorageContainerId}/sharePointGroups
POST /storage/fileStorage/containers/{fileStorageContainerId}/sharePointGroups/{sharePointGroupId}/members
POST /storage/fileStorage/deletedContainers/{containerId}/restore
PATCH /storage/fileStorage/containers/{containerId}
PATCH /storage/fileStorage/containers/{containerId}/columns/{columnId}
PATCH /storage/fileStorage/containers/{containerId}/customProperties
PATCH /storage/fileStorage/containers/{containerId}/permissions/{permissionId}
PATCH /storage/fileStorage/containers/{containerId}/recycleBin/settings
PATCH /storage/fileStorage/containers/{fileStorageContainerId}/sharePointGroups/{sharePointGroupId}
DELETE /storage/fileStorage/containers/{containerId}
DELETE /storage/fileStorage/containers/{containerId}/columns/{columnId}
DELETE /storage/fileStorage/containers/{containerId}/permissions/{permissionId}
DELETE /storage/fileStorage/containers/{containerId}/sharePointGroups/{sharePointGroupId}/members/{groupMemberId}
DELETE /storage/fileStorage/containers/{fileStorageContainerId}/migrationJobs/{migrationJobId}
DELETE /storage/fileStorage/containers/{fileStorageContainerId}/sharePointGroups/{sharePointGroupId}
DELETE /storage/fileStorage/deletedContainers/{containerId}
No Microsoft Learn PowerShell mapping available

Microsoft Graph PowerShell v1.0 commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.

No deterministic PowerShell command map is available for this permission.

Browse PowerShell docs
No Microsoft Learn PowerShell mapping available

Microsoft Graph PowerShell beta commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.

No deterministic PowerShell command map is available for this permission.

Browse PowerShell docs

Code Examples

C# / .NET SDK
Create column
// Code snippets are only available for the latest version. Current version is 5.x

// Dependencies
using Microsoft.Graph.Models;

var requestBody = new ColumnDefinition
{
	Description = "test",
	EnforceUniqueValues = false,
	Hidden = false,
	Indexed = false,
	Name = "Title",
	Text = new TextColumn
	{
		AllowMultipleLines = false,
		AppendChangesToExistingText = false,
		LinesForEditing = 0,
		MaxLength = 255,
	},
};

// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Storage.FileStorage.Containers["{fileStorageContainer-id}"].Columns.PostAsync(requestBody);
JavaScript
Add custom properties to a fileStorageContainer
const options = {
	authProvider,
};

const client = Client.init(options);

const fileStorageContainerCustomPropertyDictionary = {
  clientUniqueId: {
    value: 'c5d88310-1fc7-49be-80ca-e7d7a11e638b'
  }
};

await client.api('/storage/fileStorage/containers/{containerId}/customProperties')
	.update(fileStorageContainerCustomPropertyDictionary);
PowerShell
Connect-MgGraph -Scopes "FileStorageContainer.Selected"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/drives/{id}"
Python
Create column
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.column_definition import ColumnDefinition
from msgraph.generated.models.text_column import TextColumn
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = ColumnDefinition(
	description = "test",
	enforce_unique_values = False,
	hidden = False,
	indexed = False,
	name = "Title",
	text = TextColumn(
		allow_multiple_lines = False,
		append_changes_to_existing_text = False,
		lines_for_editing = 0,
		max_length = 255,
	),
)

result = await graph_client.storage.file_storage.containers.by_file_storage_container_id('fileStorageContainer-id').columns.post(request_body)

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or delegated permissions and search for FileStorageContainer.Selected

4

Grant Admin Consent

Application permissions always require admin consent.