Retain is aborting on a particular user during archive jobs. Is it Retain failing or O365?
MS gave us some guidance for determining the status of a user:
Please find the powershell commands to login as an Admin to run the commands â
Copy paste all the following three commands at once to a powershell window â
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic âAllowRedirection
It will prompt you for Admin credentials. Key in the credentials and you should be able to connect.
Now, type the following commands to gather the data. The first command is to save the transcript so that the output is saved to a text file on the local machine. (Alias = Alias of user account for whom we are getting the error)
get-mailbox <Alias> |fl
get-recipient <Alias> |fl
To run the third command, you need to launch Azure powershell - https://msdn.microsoft.com/en-us/library/azure/jj151815.aspx?f=255&MSPPError=-2147217396 (First install the Microsoft Online Services Sign-In Assistant for IT Professionals RTW from the Microsoft Download Center. Then install the Azure Active Directory Module for Windows PowerShell (64-bit version), and click Run to run the installer package)
Run the following commands â
get-msoluser -userprincipalname <Email> |fl