Test-VEXMailboxResolution

Short Description

Tests the availability of Microsoft Exchange mailboxes before a bulk mailbox restore.

Applies to

Veeam Backup & Replication, Veeam Backup for Microsoft 365

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

This cmdlet provides cmdlet sets that allow you to:

  • Test mailbox resolution.

Test-VEXMailboxResolution [-Credential <PSCredential>] -Mailbox <VEXMailbox[]> [-Office365Credential <PSCredential>] [-Domain <String>] [-Force] [<CommonParameters>]

  • [For Veeam Backup for Microsoft 365 only] Test resolution of mailboxes using multi-factor authentication with a Microsoft Entra application ID.

Test-VEXMailboxResolution [-Credential <PSCredential>] -Mailbox <VEXMailbox[]> -ApplicationId <Guid> [-Domain <String>] [-Force] [<CommonParameters>]

  • [For Veeam Backup for Microsoft 365 only] Multi-factor authentication with a Microsoft Entra application.

Test-VEXMailboxResolution [-Credential <PSCredential>] -Mailbox <VEXMailbox[]> -ApplicationId <Guid> -ApplicationCertificatePath <String> [-ApplicationCertificatePassword <SecureString>] [-Domain <String>] [-Force] [<CommonParameters>]

Detailed Description

This cmdlet tests the availability of mailboxes. You may want to run this cmdlet before you start a bulk mailbox restore.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Credential

Specifies Windows user credentials to connect to the Active Directory domain and the Exchange server.

Accepts the PSCredential object. To get this object, run the Get-Credential cmdlet.

False

Named

False

Mailbox

Specifies a mailbox. The cmdlet will check whether this mailbox is available.

Accepts the VEXMailbox[] object. To get this object, run the Get-VEXMailbox cmdlet.

True

Named

False

Office365Credential

Specifies a Microsoft 365 user account credentials to connect to the backup proxy server.

Accepts the PSCredential object. To get this object, run the Get-Credential cmdlet.

False

Named

False

Domain

Specifies a mailbox domain.

String

False

Named

False

Force

Defines that the cmdlet will ignore the certificate upon the connection.

Default: False

SwitchParameter

False

Named

False

ApplicationId

Specifies a Microsoft Entra application ID. The cmdlet will use this application ID to set up a secure connection to a Microsoft organization.

Note: This parameter works for mailboxes that are backed-up with Veeam Backup for Microsoft 365 only.

Guid

True

Named

False

ApplicationCertificatePath

To test mailbox resolution using multi-factor authentication.

Specifies a path to the folder where the certificate is located. The cmdlet will import the certificate that is located in this path to set up an encrypted connection to a Microsoft organization and to test the mailbox resolution.

String

True

Named

False

ApplicationCertificatePassword

To test mailbox resolution using multi-factor authentication.

Specifies the certificate password. The cmdlet will use this password to confirm the certificate that you want to import to a Microsoft Entra application. After that the cmdlet will set up an encrypted connection to a Microsoft organization and will test the mailbox resolution. This parameter is obligatory.

SecureString

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

None.

Examples

Test-VEXMailboxResolutionExample 1. Testing Mailbox Resolution [For Veeam Backup & Replication]

Test-VEXMailboxResolutionExample 2. Testing Mailboxes Resolution [For Veeam Backup for Microsoft 365]

Test-VEXMailboxResolutionExample 3. Testing Mailbox Resolution Using Multi-Factor Authentication with Microsoft Entra Application ID [For Veeam Backup for Microsoft 365]

Test-VEXMailboxResolutionExample 4. Testing Mailbox Resolution Using Multi-Factor Authentication with Application Certificate [For Veeam Backup for Microsoft 365]

Related Commands

Page updated 3/25/2025

Page content applies to build 12.3.1.1139