FileStorageContainerType.Manage.All
Allows the application to manage file storage container types on behalf of the signed in user. The user must be a SharePoint Embedded Admin or Global Admin.
Permission Details
Manage file storage container types on behalf of the signed in user
Allows the application to manage file storage container types on behalf of the signed in user. The user must be a SharePoint Embedded Admin or Global Admin.
8e6ec84c-5fcd-4cc7-ac8a-2296efc0ed9b
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
billingClassification |
fileStorageContainerBillingClassification |
The billing type. The possible values are: standard, trial, directToCustomer, unknownFutureValue. The default value is standard. |
billingStatus |
fileStorageContainerBillingStatus |
The billing status. Valid when the billing is set up or with trial fileStorageContainerType objects that don't require billing. The possible values are: invalid, valid, unknownFutureValue. |
createdDateTime |
DateTimeOffset |
The creation date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. |
etag |
String |
Used in update scenarios for optimistic concurrency control. Read-only. |
expirationDateTime |
DateTimeOffset |
The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. |
id |
String |
The unique identifier of the fileStorageContainerType object. Read-only. |
name |
String |
The name of the fileStorageContainerType. |
owningAppId |
Guid |
ID of the application that owns the fileStorageContainerType. |
settings |
fileStorageContainerTypeSettings |
The settings of the fileStorageContainerType. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.fileStorageContainerType",
"billingClassification": "String",
"billingStatus": "String",
"createdDateTime": "String (timestamp)",
"etag": "String",
"expirationDateTime": "String (timestamp)",
"id": "String (identifier)",
"name": "String",
"owningAppId": "Guid",
"settings": {
"@odata.type": "microsoft.graph.fileStorageContainerTypeSettings"
}
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
billingClassification |
fileStorageContainerBillingClassification |
Related billingClassification data exposed by this resource. |
billingStatus |
fileStorageContainerBillingStatus |
Related billingStatus data exposed by this resource. |
owningAppId |
uuid |
ID of the application that owns the fileStorageContainerType. |
settings |
fileStorageContainerTypeSettings |
Related settings data exposed by this resource. |
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 not available from refreshed Microsoft Learn PowerShell snippets for this permission.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft 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 docsCode Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Models;
using Microsoft.Kiota.Abstractions.Serialization;
var requestBody = new FileStorageContainerType
{
Name = "Test Trial Container",
OwningAppId = Guid.Parse("11335700-9a00-4c00-84dd-0c210f203f00"),
BillingClassification = FileStorageContainerBillingClassification.Trial,
Settings = new FileStorageContainerTypeSettings
{
IsItemVersioningEnabled = true,
IsSharingRestricted = false,
ConsumingTenantOverridables = FileStorageContainerTypeSettingsOverride.IsSearchEnabled | FileStorageContainerTypeSettingsOverride.ItemMajorVersionLimit,
AdditionalData = new Dictionary<string, object>
{
{
"agent" , new UntypedObject(new Dictionary<string, UntypedNode>
{
{
"chatEmbedAllowedHosts", new UntypedArray(new List<UntypedNode>
{
new UntypedString("https://localhost:3000"),
})
},
})
},
},
},
};
// 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.ContainerTypes.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const fileStorageContainerType = {
name: 'Test Trial Container',
owningAppId: '11335700-9a00-4c00-84dd-0c210f203f00',
billingClassification: 'trial',
settings: {
isItemVersioningEnabled: true,
isSharingRestricted: false,
consumingTenantOverridables: 'isSearchEnabled,itemMajorVersionLimit',
agent: {
chatEmbedAllowedHosts: ['https://localhost:3000']
}
}
};
await client.api('/storage/fileStorage/containerTypes')
.post(fileStorageContainerType);
Connect-MgGraph -Scopes "FileStorageContainerType.Manage.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/storage/fileStorage/containerTypes"
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.file_storage_container_type import FileStorageContainerType
from msgraph.generated.models.file_storage_container_billing_classification import FileStorageContainerBillingClassification
from msgraph.generated.models.file_storage_container_type_settings import FileStorageContainerTypeSettings
from msgraph.generated.models.file_storage_container_type_settings_override import FileStorageContainerTypeSettingsOverride
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = FileStorageContainerType(
name = "Test Trial Container",
owning_app_id = UUID("11335700-9a00-4c00-84dd-0c210f203f00"),
billing_classification = FileStorageContainerBillingClassification.Trial,
settings = FileStorageContainerTypeSettings(
is_item_versioning_enabled = True,
is_sharing_restricted = False,
consuming_tenant_overridables = FileStorageContainerTypeSettingsOverride.IsSearchEnabled | FileStorageContainerTypeSettingsOverride.ItemMajorVersionLimit,
additional_data = {
"agent" : {
"chat_embed_allowed_hosts" : [
"https://localhost:3000",
],
},
}
),
)
result = await graph_client.storage.file_storage.container_types.post(request_body)
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 Delegated permissions and search for FileStorageContainerType.Manage.All
Grant Admin Consent
Users can consent to this permission during sign-in.