Microsoft.Graph.Mail Module
Microsoft Graph PowerShell Cmdlets
Microsoft.Graph.Mail Cmdlets
| Cmdlet | Description |
|---|---|
| Copy-MgUserMailFolder |
Copy a mailfolder and its contents to another mailfolder. Note To view the beta release of this cmdlet, view Copy-MgBetaUserMailFolder |
| Copy-MgUserMailFolderChildFolder |
Copy a mailfolder and its contents to another mailfolder. Note To view the beta release of this cmdlet, view Copy-MgBetaUserMailFolderChildFolder |
| Copy-MgUserMailFolderChildFolderMessage |
Copy a message to a folder within the user's mailbox. Note To view the beta release of this cmdlet, view Copy-MgBetaUserMailFolderChildFolderMessage |
| Copy-MgUserMailFolderMessage |
Copy a message to a folder within the user's mailbox. Note To view the beta release of this cmdlet, view Copy-MgBetaUserMailFolderMessage |
| Copy-MgUserMessage |
Copy a message to a folder within the user's mailbox. Note To view the beta release of this cmdlet, view Copy-MgBetaUserMessage |
| Get-MgUserInferenceClassification |
Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. Note To view the beta release of this cmdlet, view Get-MgBetaUserInferenceClassification |
| Get-MgUserInferenceClassificationOverride |
A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaUserInferenceClassificationOverride |
| Get-MgUserInferenceClassificationOverrideCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserInferenceClassificationOverrideCount |
| Get-MgUserMailFolder |
The user's mail folders. Read-only. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolder |
| Get-MgUserMailFolderChildFolder |
The collection of child folders in the mailFolder. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolder |
| Get-MgUserMailFolderChildFolderCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderCount |
| Get-MgUserMailFolderChildFolderDelta |
Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\rapplying state tokens in one or more of these calls,\ryou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\ra local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderDelta |
| Get-MgUserMailFolderChildFolderMessage |
The collection of messages in the mailFolder. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessage |
| Get-MgUserMailFolderChildFolderMessageAttachment |
The fileAttachment and itemAttachment attachments for the message. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessageAttachment |
| Get-MgUserMailFolderChildFolderMessageAttachmentCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessageAttachmentCount |
| Get-MgUserMailFolderChildFolderMessageContent |
The unique identifier for an entity. Read-only. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessageContent |
| Get-MgUserMailFolderChildFolderMessageCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessageCount |
| Get-MgUserMailFolderChildFolderMessageDelta |
Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately\rapplying state tokens in one or more of these calls, you can query for incremental changes in the messages in\rthat folder. It allows you to maintain and synchronize a local store of a user's messages without\rhaving to fetch the entire set of messages from the server every time. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessageDelta |
| Get-MgUserMailFolderChildFolderMessageExtension |
The collection of open extensions defined for the message. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessageExtension |
| Get-MgUserMailFolderChildFolderMessageExtensionCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessageExtensionCount |
| Get-MgUserMailFolderChildFolderMessageRule |
The collection of rules that apply to the user's Inbox folder. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessageRule |
| Get-MgUserMailFolderChildFolderMessageRuleCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessageRuleCount |
| Get-MgUserMailFolderCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderCount |
| Get-MgUserMailFolderDelta |
Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\rapplying state tokens in one or more of these calls,\ryou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\ra local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderDelta |
| Get-MgUserMailFolderMessage |
The collection of messages in the mailFolder. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessage |
| Get-MgUserMailFolderMessageAttachment |
The fileAttachment and itemAttachment attachments for the message. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageAttachment |
| Get-MgUserMailFolderMessageAttachmentCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageAttachmentCount |
| Get-MgUserMailFolderMessageCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageCount |
| Get-MgUserMailFolderMessageDelta |
Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately\rapplying state tokens in one or more of these calls, you can query for incremental changes in the messages in\rthat folder. It allows you to maintain and synchronize a local store of a user's messages without\rhaving to fetch the entire set of messages from the server every time. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageDelta |
| Get-MgUserMailFolderMessageExtension |
The collection of open extensions defined for the message. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageExtension |
| Get-MgUserMailFolderMessageExtensionCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageExtensionCount |
| Get-MgUserMailFolderMessageRule |
The collection of rules that apply to the user's Inbox folder. Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageRule |
| Get-MgUserMailFolderMessageRuleCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageRuleCount |
| Get-MgUserMessage |
The messages in a mailbox or folder. Read-only. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaUserMessage |
| Get-MgUserMessageAttachment |
The fileAttachment and itemAttachment attachments for the message. Note To view the beta release of this cmdlet, view Get-MgBetaUserMessageAttachment |
| Get-MgUserMessageAttachmentCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMessageAttachmentCount |
| Get-MgUserMessageContent |
The unique identifier for an entity. Read-only. Note To view the beta release of this cmdlet, view Get-MgBetaUserMessageContent |
| Get-MgUserMessageCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMessageCount |
| Get-MgUserMessageDelta |
Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately\rapplying state tokens in one or more of these calls, you can query for incremental changes in the messages in\rthat folder. It allows you to maintain and synchronize a local store of a user's messages without\rhaving to fetch the entire set of messages from the server every time. Note To view the beta release of this cmdlet, view Get-MgBetaUserMessageDelta |
| Get-MgUserMessageExtension |
The collection of open extensions defined for the message. Nullable. Note To view the beta release of this cmdlet, view Get-MgBetaUserMessageExtension |
| Get-MgUserMessageExtensionCount |
Get the number of the resource Note To view the beta release of this cmdlet, view Get-MgBetaUserMessageExtensionCount |
| Invoke-MgForwardUserMailFolderChildFolderMessage |
Forward a message using either JSON or MIME format. When using JSON format, you can:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. Note To view the beta release of this cmdlet, view Invoke-MgBetaForwardUserMailFolderChildFolderMessage |
| Invoke-MgForwardUserMailFolderMessage |
Forward a message using either JSON or MIME format. When using JSON format, you can:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. Note To view the beta release of this cmdlet, view Invoke-MgBetaForwardUserMailFolderMessage |
| Invoke-MgForwardUserMessage |
Forward a message using either JSON or MIME format. When using JSON format, you can:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. Note To view the beta release of this cmdlet, view Invoke-MgBetaForwardUserMessage |
| Invoke-MgReplyAllUserMailFolderChildFolderMessage |
Reply to all recipients of a message using either JSON or MIME format. When using JSON format:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyAllUserMailFolderChildFolderMessage |
| Invoke-MgReplyAllUserMailFolderMessage |
Reply to all recipients of a message using either JSON or MIME format. When using JSON format:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyAllUserMailFolderMessage |
| Invoke-MgReplyAllUserMessage |
Reply to all recipients of a message using either JSON or MIME format. When using JSON format:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyAllUserMessage |
| Invoke-MgReplyUserMailFolderChildFolderMessage |
Reply to the sender of a message using either JSON or MIME format. When using JSON format:\r* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyUserMailFolderChildFolderMessage |
| Invoke-MgReplyUserMailFolderMessage |
Reply to the sender of a message using either JSON or MIME format. When using JSON format:\r* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyUserMailFolderMessage |
| Invoke-MgReplyUserMessage |
Reply to the sender of a message using either JSON or MIME format. When using JSON format:\r* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. Note To view the beta release of this cmdlet, view Invoke-MgBetaReplyUserMessage |
| Move-MgUserMailFolder |
Move a mailfolder and its contents to another mailfolder. Note To view the beta release of this cmdlet, view Move-MgBetaUserMailFolder |
| Move-MgUserMailFolderChildFolder |
Move a mailfolder and its contents to another mailfolder. Note To view the beta release of this cmdlet, view Move-MgBetaUserMailFolderChildFolder |
| Move-MgUserMailFolderChildFolderMessage |
Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. Note To view the beta release of this cmdlet, view Move-MgBetaUserMailFolderChildFolderMessage |
| Move-MgUserMailFolderMessage |
Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. Note To view the beta release of this cmdlet, view Move-MgBetaUserMailFolderMessage |
| Move-MgUserMessage |
Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. Note To view the beta release of this cmdlet, view Move-MgBetaUserMessage |
| New-MgUserInferenceClassificationOverride |
Create new navigation property to overrides for users Note To view the beta release of this cmdlet, view New-MgBetaUserInferenceClassificationOverride |
| New-MgUserMailFolder |
Create new navigation property to mailFolders for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolder |
| New-MgUserMailFolderChildFolder |
Create new navigation property to childFolders for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolder |
| New-MgUserMailFolderChildFolderMessage |
Create new navigation property to messages for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessage |
| New-MgUserMailFolderChildFolderMessageAttachment |
Create new navigation property to attachments for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageAttachment |
| New-MgUserMailFolderChildFolderMessageAttachmentUploadSession |
Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageAttachmentUploadSession |
| New-MgUserMailFolderChildFolderMessageExtension |
Create new navigation property to extensions for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageExtension |
| New-MgUserMailFolderChildFolderMessageForward |
Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.\r- Update the draft later to add content to the body or change other message properties. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageForward |
| New-MgUserMailFolderChildFolderMessageReply |
Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.\r- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageReply |
| New-MgUserMailFolderChildFolderMessageReplyAll |
Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.\r- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageReplyAll |
| New-MgUserMailFolderChildFolderMessageRule |
Create new navigation property to messageRules for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageRule |
| New-MgUserMailFolderMessage |
Create new navigation property to messages for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessage |
| New-MgUserMailFolderMessageAttachment |
Create new navigation property to attachments for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageAttachment |
| New-MgUserMailFolderMessageAttachmentUploadSession |
Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageAttachmentUploadSession |
| New-MgUserMailFolderMessageExtension |
Create new navigation property to extensions for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageExtension |
| New-MgUserMailFolderMessageForward |
Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.\r- Update the draft later to add content to the body or change other message properties. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageForward |
| New-MgUserMailFolderMessageReply |
Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.\r- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageReply |
| New-MgUserMailFolderMessageReplyAll |
Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.\r- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageReplyAll |
| New-MgUserMailFolderMessageRule |
Create new navigation property to messageRules for users Note To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageRule |
| New-MgUserMessage |
Create new navigation property to messages for users Note To view the beta release of this cmdlet, view New-MgBetaUserMessage |
| New-MgUserMessageAttachment |
Create new navigation property to attachments for users Note To view the beta release of this cmdlet, view New-MgBetaUserMessageAttachment |
| New-MgUserMessageAttachmentUploadSession |
Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. Note To view the beta release of this cmdlet, view New-MgBetaUserMessageAttachmentUploadSession |
| New-MgUserMessageExtension |
Create new navigation property to extensions for users Note To view the beta release of this cmdlet, view New-MgBetaUserMessageExtension |
| New-MgUserMessageForward |
Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.\r- Update the draft later to add content to the body or change other message properties. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. Note To view the beta release of this cmdlet, view New-MgBetaUserMessageForward |
| New-MgUserMessageReply |
Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.\r- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. Note To view the beta release of this cmdlet, view New-MgBetaUserMessageReply |
| New-MgUserMessageReplyAll |
Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:\r- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.\r- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:\r- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.\r- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. Note To view the beta release of this cmdlet, view New-MgBetaUserMessageReplyAll |
| Remove-MgUserInferenceClassificationOverride |
Delete navigation property overrides for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserInferenceClassificationOverride |
| Remove-MgUserMailFolder |
Delete navigation property mailFolders for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolder |
| Remove-MgUserMailFolderChildFolder |
Delete navigation property childFolders for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolder |
| Remove-MgUserMailFolderChildFolderMessage |
Delete navigation property messages for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolderMessage |
| Remove-MgUserMailFolderChildFolderMessageAttachment |
Delete navigation property attachments for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolderMessageAttachment |
| Remove-MgUserMailFolderChildFolderMessageContent |
The unique identifier for an entity. Read-only. Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolderMessageContent |
| Remove-MgUserMailFolderChildFolderMessageExtension |
Delete navigation property extensions for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolderMessageExtension |
| Remove-MgUserMailFolderChildFolderMessagePermanent |
Invoke action permanentDelete Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolderMessagePermanent |
| Remove-MgUserMailFolderChildFolderMessageRule |
Delete navigation property messageRules for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolderMessageRule |
| Remove-MgUserMailFolderChildFolderPermanent |
Invoke action permanentDelete Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolderPermanent |
| Remove-MgUserMailFolderMessage |
Delete navigation property messages for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderMessage |
| Remove-MgUserMailFolderMessageAttachment |
Delete navigation property attachments for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderMessageAttachment |
| Remove-MgUserMailFolderMessageContent |
The unique identifier for an entity. Read-only. Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderMessageContent |
| Remove-MgUserMailFolderMessageExtension |
Delete navigation property extensions for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderMessageExtension |
| Remove-MgUserMailFolderMessagePermanent |
Invoke action permanentDelete Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderMessagePermanent |
| Remove-MgUserMailFolderMessageRule |
Delete navigation property messageRules for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderMessageRule |
| Remove-MgUserMailFolderPermanent |
Invoke action permanentDelete Note To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderPermanent |
| Remove-MgUserMessage |
Delete navigation property messages for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMessage |
| Remove-MgUserMessageAttachment |
Delete navigation property attachments for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMessageAttachment |
| Remove-MgUserMessageContent |
The unique identifier for an entity. Read-only. Note To view the beta release of this cmdlet, view Remove-MgBetaUserMessageContent |
| Remove-MgUserMessageExtension |
Delete navigation property extensions for users Note To view the beta release of this cmdlet, view Remove-MgBetaUserMessageExtension |
| Remove-MgUserMessagePermanent |
Invoke action permanentDelete Note To view the beta release of this cmdlet, view Remove-MgBetaUserMessagePermanent |
| Send-MgUserMailFolderChildFolderMessage |
Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. Note To view the beta release of this cmdlet, view Send-MgBetaUserMailFolderChildFolderMessage |
| Send-MgUserMailFolderMessage |
Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. Note To view the beta release of this cmdlet, view Send-MgBetaUserMailFolderMessage |
| Send-MgUserMessage |
Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. Note To view the beta release of this cmdlet, view Send-MgBetaUserMessage |
| Set-MgUserMailFolderChildFolderMessageContent |
The unique identifier for an entity. Read-only. Note To view the beta release of this cmdlet, view Set-MgBetaUserMailFolderChildFolderMessageContent |
| Set-MgUserMailFolderMessageContent |
The unique identifier for an entity. Read-only. Note To view the beta release of this cmdlet, view Set-MgBetaUserMailFolderMessageContent |
| Set-MgUserMessageContent |
The unique identifier for an entity. Read-only. Note To view the beta release of this cmdlet, view Set-MgBetaUserMessageContent |
| Update-MgUserInferenceClassification |
Update the navigation property inferenceClassification in users Note To view the beta release of this cmdlet, view Update-MgBetaUserInferenceClassification |
| Update-MgUserInferenceClassificationOverride |
Update the navigation property overrides in users Note To view the beta release of this cmdlet, view Update-MgBetaUserInferenceClassificationOverride |
| Update-MgUserMailFolder |
Update the navigation property mailFolders in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMailFolder |
| Update-MgUserMailFolderChildFolder |
Update the navigation property childFolders in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMailFolderChildFolder |
| Update-MgUserMailFolderChildFolderMessage |
Update the navigation property messages in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMailFolderChildFolderMessage |
| Update-MgUserMailFolderChildFolderMessageExtension |
Update the navigation property extensions in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMailFolderChildFolderMessageExtension |
| Update-MgUserMailFolderChildFolderMessageRule |
Update the navigation property messageRules in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMailFolderChildFolderMessageRule |
| Update-MgUserMailFolderMessage |
Update the navigation property messages in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMailFolderMessage |
| Update-MgUserMailFolderMessageExtension |
Update the navigation property extensions in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMailFolderMessageExtension |
| Update-MgUserMailFolderMessageRule |
Update the navigation property messageRules in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMailFolderMessageRule |
| Update-MgUserMessage |
Update the navigation property messages in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMessage |
| Update-MgUserMessageExtension |
Update the navigation property extensions in users Note To view the beta release of this cmdlet, view Update-MgBetaUserMessageExtension |