Microsoft Exchange Online: How to recover Active SYNC device Password?

Microsoft Exchange Online

Question: Hey, I forgot my active SYNC device password. Can I recover it?

Answer: Yes, You can using PowerShell and Outlook Web App.

Solution: Using Outlook Web App.

  1. In Outlook Web App, Click Options
  2. Select Phones from the Navigation Pane
  3. Select the mobile phone from the list.
  4. Click Display Device Password.

Solution: Using PowerShell


Import-Module MSOnline
$O365Cred = Get-Credential
$O365Session = New-PSSession â€“ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell [This link is external to TechNet Wiki. It will open in a new window.] -Credential $O365Cred -Authentication Basic -AllowRedirection
Import-PSSession $O365Session
Connect-MsolService â€“Credential $O365Cred
 
#Recover Password
Get-ActiveSyncDeviceStatistics -Mailbox "NTAccountName" -ShowRecoveryPassword:$true

Note: You should have appropriate access to check this. Exchange Group Permission.

More Details