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
oruserName
, 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
oruserName
, 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 isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--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
- JSON
- Text
- CSV
- Markdown
{
"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"
}
}
}
archiveFolder : AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgAuAAADSG3wPE27kUeySjmT5eRT8QEAfJKVL07sbkmIfHqjbDnRgQAAAgEMAAAA
automaticRepliesSetting : {"status":"disabled","externalAudience":"all","internalReplyMessage":"","externalReplyMessage":"","scheduledStartDateTime":{"dateTime":"2025-01-20T08:00:00.0000000","timeZone":"UTC"},"scheduledEndDateTime":{"dateTime":"2025-01-25T18:00:00.0000000","timeZone":"UTC"}}
dateFormat : dd.MM.yyyy
delegateMeetingMessageDeliveryOptions: sendToDelegateOnly
language : {"locale":"en-US","displayName":"English (United States)"}
timeFormat : H:mm
timeZone : Central Europe Standard Time
userPurpose : user
workingHours : {"daysOfWeek":["monday","tuesday","wednesday","thursday","friday"],"startTime":"08:00:00.0000000","endTime":"16:30:00.0000000","timeZone":{"name":"Central Europe Standard Time"}}
archiveFolder,timeZone,delegateMeetingMessageDeliveryOptions,dateFormat,timeFormat,userPurpose
AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgAuAAADSG3wPE27kUeySjmT5eRT8QEAfJKVL07sbkmIfHqjbDnRgQAAAgEMAAAA,Central Europe Standard Time,sendToDelegateOnly,dd.MM.yyyy,H:mm,user
# outlook mailbox settings get
Date: 1/17/2025
Property | Value
---------|-------
archiveFolder | AQMkAGRlM2Y5YTkzLWI2NzAtNDczOS05YWMyLTJhZGY2MGExMGU0MgAuAAADSG3wPE27kUeySjmT5eRT8QEAfJKVL07sbkmIfHqjbDnRgQAAAgEMAAAA
timeZone | Central Europe Standard Time
delegateMeetingMessageDeliveryOptions | sendToDelegateOnly
dateFormat | dd.MM.yyyy
timeFormat | H:mm
userPurpose | user