MailboxSettings.ReadWrite
Allows the app to create, read, update, and delete user's mailbox settings without a signed-in user. Does not include permission to send mail.
Permission Details
Read and write all user mailbox settings
Allows the app to create, read, update, and delete user's mailbox settings without a signed-in user. Does not include permission to send mail.
6931bccd-447a-43d1-b442-00a195474933
Read and write user mailbox settings
Allows the app to create, read, update, and delete user's mailbox settings. Does not include permission to send mail.
818c620a-27a9-40bd-a6a5-d96f7d610b4b
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
archiveFolder |
string |
Folder ID of an archive folder for the user. |
automaticRepliesSetting |
automaticRepliesSetting |
Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user. |
dateFormat |
string |
The date format for the user's mailbox. |
delegateMeetingMessageDeliveryOptions |
delegateMeetingMessageDeliveryOptions |
If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. The possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly. |
language |
localeInfo |
The locale information for the user, including the preferred language and country/region. |
timeFormat |
string |
The time format for the user's mailbox. |
timeZone |
string |
The default time zone for the user's mailbox. |
userPurpose |
userPurpose |
The purpose of the mailbox. Differentiates a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. The possible values are: user, linked, shared, room, equipment, others, unknownFutureValue. Read-only. |
workingHours |
workingHours |
The days of the week and hours in a specific time zone that the user works. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"archiveFolder": "string",
"automaticRepliesSetting": {
"@odata.type": "microsoft.graph.automaticRepliesSetting"
},
"dateFormat": "string",
"delegateMeetingMessageDeliveryOptions": "String",
"language": {
"@odata.type": "microsoft.graph.localeInfo"
},
"timeFormat": "string",
"timeZone": "string",
"userPurpose": "String",
"workingHours": {
"@odata.type": "microsoft.graph.workingHours"
}
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph 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 mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Models;
var requestBody = new OutlookCategory
{
DisplayName = "Project expenses",
Color = CategoryColor.Preset9,
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Me.Outlook.MasterCategories.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const outlookCategory = {
displayName: 'Project expenses',
color: 'preset9'
};
await client.api('/me/outlook/masterCategories')
.post(outlookCategory);
Import-Module Microsoft.Graph.Users
$params = @{
displayName = "Project expenses"
color = "preset9"
}
# A UPN can also be used as -UserId.
New-MgUserOutlookMasterCategory -UserId $userId -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.outlook_category import OutlookCategory
from msgraph.generated.models.category_color import CategoryColor
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = OutlookCategory(
display_name = "Project expenses",
color = CategoryColor.Preset9,
)
result = await graph_client.me.outlook.master_categories.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 Application permissions or delegated permissions and search for MailboxSettings.ReadWrite
Grant Admin Consent
Application permissions always require admin consent.