User resource has property mailboxSettings
with inner property userPurpose
. It differentiates a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online.
Possible values are:
user | A user account with a mailbox in the local forest. |
---|---|
linked | A mailbox linked to a user account in another forest. |
shared | A mailbox shared by two or more user accounts. |
room | A mailbox that represents a conference room. |
equipment | A mailbox that represents a piece of equipment. |
others | A mailbox was found but the user purpose is different from the ones specified in the previous scenarios. |
Limitation is that you need application permission MailboxSettings.Read
to be able to read the property mailboxSettings
for other users
GET /users/{id|userPrincipalName}/mailboxSettings
With delegated permission MailboxSettings.Read
you can read mailboxSettings
only for signed-in user.