FileStorageContainerTypeReg.Selected
Allows the application to manage file storage container type registrations without a signed-in user.
Permission Details
Access selected file storage container type registrations
Allows the application to manage file storage container type registrations without a signed-in user.
2dcc6599-bd30-442b-8f11-90f88ad441dc
Access selected file storage container type registrations.
Allows the application to manage selected file storage container type registrations on behalf of the signed in user. The user must be a SharePoint Embedded Admin or Global Admin.
d1e4f63a-1569-475c-b9b2-bdc140405e38
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.Selected"
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 Application permissions or delegated permissions and search for FileStorageContainerTypeReg.Selected
Grant Admin Consent
Application permissions always require admin consent.