You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Examples
Get mailbox settings of 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
Default properties
Additional Info
The signed-in users can edit only theirs mailbox settings. It's not possible to read mailbox settings of another user with delegated permissions.
The options userId and userName should be specified only when the command is executed with application permissions.
I wanted to add the properties option, but the endpoint ignores $select query parameter, so it's not possible to get specific settings, only all mailbox settings
I will work on it
The text was updated successfully, but these errors were encountered:
Usage
m365 outlook mailbox settings get [options]
Description
Get the user's mailbox settings
Options
-i, --userId [userId]
userId
oruserName
, but not both. This option is required when using application permissions.-n, --userName [userName]
userId
oruserName
, but not both. This option is required when using application permissions.Examples
Get mailbox settings of signed-in user
Get mailbox settings of a user specified by id
Default properties
Additional Info
The signed-in users can edit only theirs mailbox settings. It's not possible to read mailbox settings of another user with delegated permissions.
The options
userId
anduserName
should be specified only when the command is executed with application permissions.https://learn.microsoft.com/en-us/graph/api/user-get-mailboxsettings?view=graph-rest-1.0&tabs=http
I wanted to add the
properties
option, but the endpoint ignores$select
query parameter, so it's not possible to get specific settings, only all mailbox settingsI will work on it
The text was updated successfully, but these errors were encountered: