Public Folder Mailbox Import fails in Hybrid Configuration

When using the Import-PublicFolderMailboxes.ps1 script adding the new mail user fails with an error. The New-MailUser cmdlet fails due to the length of the name attribute being too long.
When using the Import-PublicFolderMailboxes.ps1 script adding the new mail user fails with an error. The New-MailUser cmdlet fails due to the length of the name attribute being too long.