Migration Exchange 2010 to 2013 tips – SOLVED Password prompts from Windows XP Posted on September 21, 2017 by dpejic The problem here is that the CertPrincipalName msstd:mail.domain.com does not match the common name in the certificate that is *.mail.com. So in order to fix this we usually runs the command Set-OutlookProvider -Identity EXPR -CertPrincipalName msstd:*.domain.com. This force the CertPrincipalName to be msstd:*.domain com which match common name. Voila! For more information about the OutlookProvider settings and how to use it, read: Set-OutlookProvider -Identity EXPR -CertPrincipalName msstd:*.domain.com Get-MailboxStatistics -Database “Test Database mbx” | where {$_.DisconnectReason -eq “SoftDeleted”} | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState SoftDeleted} Get-MailboxStatistics –Database “Test Database mbx” | Where-Object {$_.DisconnectReason –eq “Softdeleted”} | ForEach {Remove-StoreMailbox –Database $_.database –identity $_.mailboxguid –MailboxState Softdeleted}