Microsoft.Graph.Mail

Microsoft Graph PowerShell Cmdlets

Microsoft.Graph.Mail

Get-MgUserInferenceClassification

Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance.

Note

To view the beta release of this cmdlet, view Get-MgBetaUserInferenceClassification

Get-MgUserInferenceClassificationOverride

Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance.

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

Get the number of the resource

Note

To view the beta release of this cmdlet, view Get-MgBetaUserMailFolder

Get-MgUserMailFolderChildFolder

Get the number of the resource

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-MgUserMailFolderChildFolderMessage

The collection of messages in the mailFolder.

Note

To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderChildFolderMessage

Get-MgUserMailFolderChildFolderMessageAttachment

Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource.

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

Get media content for the navigation property messages from users

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-MgUserMailFolderChildFolderMessageExtension

Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.

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

Get the properties and relationships of a messageRule object.

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-MgUserMailFolderMessage

Get the number of the resource

Note

To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessage

Get-MgUserMailFolderMessageAttachment

Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource.

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-MgUserMailFolderMessageContent

Get media content for the navigation property messages from users

Note

To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageContent

Get-MgUserMailFolderMessageCount

Get the number of the resource

Note

To view the beta release of this cmdlet, view Get-MgBetaUserMailFolderMessageCount

Get-MgUserMailFolderMessageExtension

Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance.

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

Get the number of the resource

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

Get the number of the resource

Note

To view the beta release of this cmdlet, view Get-MgBetaUserMessage

Get-MgUserMessageAttachment

Get the number of the resource

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

Get media content for the navigation property messages from users

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-MgUserMessageExtension

Get the number of the resource

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

New-MgUserInferenceClassificationOverride

Get the number of the resource

Note

To view the beta release of this cmdlet, view New-MgBetaUserInferenceClassificationOverride

New-MgUserMailFolder

Get the number of the resource

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolder

New-MgUserMailFolderChildFolder

Get the number of the resource

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolder

New-MgUserMailFolderChildFolderMessage

Use this API to create a new Message in a mailfolder.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessage

New-MgUserMailFolderChildFolderMessageAttachment

Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageAttachment

New-MgUserMailFolderChildFolderMessageExtension

Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageExtension

New-MgUserMailFolderChildFolderMessageRule

Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolderChildFolderMessageRule

New-MgUserMailFolderMessage

Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessage

New-MgUserMailFolderMessageAttachment

Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageAttachment

New-MgUserMailFolderMessageExtension

Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageExtension

New-MgUserMailFolderMessageRule

Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMailFolderMessageRule

New-MgUserMessage

Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMessage

New-MgUserMessageAttachment

Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMessageAttachment

New-MgUserMessageExtension

Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.

Note

To view the beta release of this cmdlet, view New-MgBetaUserMessageExtension

Remove-MgUserInferenceClassificationOverride

Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.

Note

To view the beta release of this cmdlet, view Remove-MgBetaUserInferenceClassificationOverride

Remove-MgUserMailFolder

Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.

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-MgUserMailFolderChildFolderMessageExtension

Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section.

Note

To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolderMessageExtension

Remove-MgUserMailFolderChildFolderMessageRule

Delete the specified messageRule object.

Note

To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderChildFolderMessageRule

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-MgUserMailFolderMessageExtension

Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section.

Note

To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderMessageExtension

Remove-MgUserMailFolderMessageRule

Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section.

Note

To view the beta release of this cmdlet, view Remove-MgBetaUserMailFolderMessageRule

Remove-MgUserMessage

Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section.

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-MgUserMessageExtension

Delete navigation property attachments for users

Note

To view the beta release of this cmdlet, view Remove-MgBetaUserMessageExtension

Set-MgUserMailFolderChildFolderMessageContent

Update media content for the navigation property messages in users

Note

To view the beta release of this cmdlet, view Set-MgBetaUserMailFolderChildFolderMessageContent

Set-MgUserMailFolderMessageContent

Update media content for the navigation property messages in users

Note

To view the beta release of this cmdlet, view Set-MgBetaUserMailFolderMessageContent

Set-MgUserMessageContent

Update media content for the navigation property messages in users

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 inferenceClassification in users

Note

To view the beta release of this cmdlet, view Update-MgBetaUserInferenceClassificationOverride

Update-MgUserMailFolder

Update the navigation property inferenceClassification 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

Change writable properties on a messageRule object and save the changes.

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 extensions in users

Note

To view the beta release of this cmdlet, view Update-MgBetaUserMailFolderMessageRule

Update-MgUserMessage

Update the navigation property extensions 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