The following may be seen in the Office 365 Module log file:

2015-07-23 10:57:02Z|1278| 13| INFO| ExecuteInternal|Provisioning Mailbox for [] Create archive [True]
2015-07-23 10:57:35Z|1278| 72| INFO| ProcessingStatisticsTimerOnElapsed|Mailboxes in queue/processing: [3] | Items in queue/processing: [4]
2015-07-23 10:57:35Z|1278| 34| INFO| OnLogTimerElapsed|Ingest Statistics: Working Threads: [4] Waiting Threads: [0] Waiting Items: [4]
2015-07-23 10:57:36Z|1278| 32| INFO| RefreshConfigFromCore|Configuration refreshed from Core.
2015-07-23 10:57:44Z|1278|148| INFO| Get|Querying Core for 69 Commands with additional info (Backlog: 1)
2015-07-23 10:57:49Z|1278|148| INFO| Get| -> Received no new command. Service might be out of schedule or there is nothing to do.
2015-07-23 10:58:22Z|1278| 13|ERROR| ProcessPipeErrors|Errors were detected. Review the following:
2015-07-23 10:58:22Z|1278| 30|ERROR| ProcessPipeErrors|System.Management.Automation.RemoteException: String length validation failed
2015-07-23 10:58:22Z|1278| 39|ERROR| Execute|Unable to process command Office365ProvisionMailbox: System.ApplicationException: System.Management.Automation.RemoteException: String length validation failed
at ArchiveShuttle.Module.Office365.Office365PsBase.ProcessPipeErrors(PipelineReader`1 errors, Boolean throwException)
at ArchiveShuttle.Module.Office365.Office365MailboxProvisioner.ProvisionMailbox(String userPrincipalName, Boolean createArchive)
at ArchiveShuttle.Module.Office365.Office365MailboxProvisioner.ExecuteInternal(ModuleCommand command)
at ArchiveShuttle.Module.Office365.Office365PsBase.Execute(ModuleCommand command)

The left-hand part of the mailbox (before the @) can be at most 64 characters, and in this example, the name given is longer than that.
The issue is handled by Archive Shuttle with trimming the part before @. In case this will happen the temporary solution is to edit the UserPrincipalName field in the [User] table in the Archive Shuttle Directory Database, ensuring the left-hand part is less than 64 characters, or Archive Shuttle will trim the left-hand part of the email (before the @) to match the limitations.

Print Friendly, PDF & Email