FileStorageContainerTypeReg.Manage.All
Allows the application to manage file storage container type registrations on behalf of the signed in user. The user must be a SharePoint Embedded Admin or Global Admin.
Permission Details
Manage file storage container type registrations on behalf of the signed in user
Allows the application to manage file storage container type registrations on behalf of the signed in user. The user must be a SharePoint Embedded Admin or Global Admin.
c319a7df-930e-44c0-a43b-7e5e9c7f4f24
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
fileStorage |
object |
|
settings |
object |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"fileStorage": {
"sample": "value"
},
"settings": {
"sample": "value"
}
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
fileStorage |
fileStorage |
fileStorage 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
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
await graphClient.Storage.FileStorage.ContainerTypeRegistrations["{fileStorageContainerTypeRegistration-id}"].ApplicationPermissionGrants["{fileStorageContainerTypeAppPermissionGrant-appId}"].DeleteAsync();
const options = {
authProvider,
};
const client = Client.init(options);
const fileStorageContainerTypeAppPermissionGrant = {
delegatedPermissions: ['readContent', 'writeContent'],
applicationPermissions: ['full']
};
await client.api('/storage/fileStorage/containerTypeRegistrations/33225700-9a00-4c00-84dd-0c210f203f01/applicationPermissionGrants/11335700-9a00-4c00-84dd-0c210f203f00')
.put(fileStorageContainerTypeAppPermissionGrant);
Connect-MgGraph -Scopes "FileStorageContainerTypeReg.Manage.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/storage/fileStorage/containerTypeRegistrations"
# 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
await graph_client.storage.file_storage.container_type_registrations.by_file_storage_container_type_registration_id('fileStorageContainerTypeRegistration-id').application_permission_grants.by_file_storage_container_type_app_permission_grant_app_id('fileStorageContainerTypeAppPermissionGrant-appId').delete()
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 FileStorageContainerTypeReg.Manage.All
Grant Admin Consent
Users can consent to this permission during sign-in.