다음을 통해 공유


Microsoft Exchange Troubleshooting: How to test the MAPI connectivity of user mail box?

Applies to

Microsoft Exchange Online

MAPI : Messaging Application Programming Interface

Question: Hey, can you get MAPI error and status of end user mail box?

Answer: Yes, we can use PowerShell and Outlook Client

Solution 1: Using Outlook Client

  1. Right Click on MS outlook in System Tray
  2. Hold Right Click and click on MS Outlook
  3. Choose Connection Statusù

Solution 2: PowerShell

#Connect to Exchange Online

Import-Module MSOnline

$O365Cred = Get-Credential

$O365Session = 

New-PSSession ´

–ConfigurationName Microsoft.Exchange ´

-ConnectionUri https://ps.outlook.com/powershell ´  

-Credential $O365Cred ´

-Authentication Basic ´

-AllowRedirection ´

Import-PSSession $O365Session

Connect-MsolService –Credential $O365Cred 

#Command to test connectivity

Test-MAPIConnectivity -Identity "NTName" | Select -Property *