users.message
List messages from user
Changed onGet the messages in a specific user's mailbox (including the Sent Items and Deleted Items folders). By default, this operation does not return hidden messages. Use the includeHiddenMessages query parameter to include them in the response.
get/users/{userIdentifier}/messages
Request
- Base URLhttps://graph.microsoft.com/v1.0
- AuthOAuth 2Authorization codehttps://login.microsoftonline.com/common/oauth2/v2.0/authorizeClient credentialsToken URLhttps://login.microsoftonline.com/common/oauth2/v2.0/tokenScopesMail.Read, Mail.ReadWrite, Mail.Send
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
includeHiddenMessagesboolean
Include Hidden Messages
$topinteger
Show only the first n items
$skipinteger
Skip the first n items
$searchstring
Search items by search phrases
$filterstring
Filter items by property values
$countboolean
Include count of items
$orderbystring[]
Order items by property values
$selectstring[]
Select properties to be returned
$expandstring[]
Expand related entities
Response
Retrieved collection
Changes
- info
added the optional property
///////to the response with the status
- info
- info
endpoint added
- info