Skip to main content

outlook mailbox settings get

Get the user's mailbox settings

Usage

m365 outlook mailbox settings get [options]

Options

-i, --userId [userId]

The ID of the Microsoft Entra user for which you want to get mailbox settings. Specify either userId or userName, but not both. This option is required when using application permissions.

-n, --userName [userName]

The UPN of the Microsoft Entra user for which you want to get mailbox settings. Specify either userId or userName, but not both. This option is required when using application permissions.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

Get mailbox settings of the signed-in user

m365 outlook mailbox settings get

Get mailbox settings of a user specified by id

m365 outlook mailbox settings get --userId 1caf7dcd-7e83-4c3a-94f7-932a1299c844

Response

{
"archiveFolder": "AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgAuAAADSG3wPE27kUeySjmT5eRT8QEAfJKVL07sbkmIfHqjbDnRgQAAAgEMAAAA",
"timeZone": "Central Europe Standard Time",
"delegateMeetingMessageDeliveryOptions": "sendToDelegateOnly",
"dateFormat": "dd.MM.yyyy",
"timeFormat": "H:mm",
"userPurpose": "user",
"automaticRepliesSetting": {
"status": "disabled",
"externalAudience": "all",
"internalReplyMessage": "On vacation. Will be back.",
"externalReplyMessage": "Vacation",
"scheduledStartDateTime": {
"dateTime": "2025-01-20T08:00:00.0000000",
"timeZone": "UTC"
},
"scheduledEndDateTime": {
"dateTime": "2025-01-25T18:00:00.0000000",
"timeZone": "UTC"
}
},
"language": {
"locale": "en-US",
"displayName": "English (United States)"
},
"workingHours": {
"daysOfWeek": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday"
],
"startTime": "08:00:00.0000000",
"endTime": "16:30:00.0000000",
"timeZone": {
"name": "Central Europe Standard Time"
}
}
}
CTRL + M