Page 1 of 1

Names with ' in them

Posted: Tue Sep 17, 2019 2:08 pm
by jallenEITP
Still having the issue where the client has a name like O'Brian that will make it so no mailboxes show up. I am on the latest build of 2.0.0.78.

I have gone as far as one one client to remove the ' from the name and then all mailboxes show up. I have alos updated the ps1 script mentioned in another post but that still doe snot fix the issue.

Re: Names with ' in them

Posted: Tue Sep 17, 2019 2:41 pm
by Cubert
Man, I tell you this has been a tricky one. We use a POSH script to parse the output and if found to replace with nothing and special marks. However some marks formats look to be getting tied up in UTF format issue and not identifying as a special mark. The POSH skips it and leaves it in place and you get the errors.

We have edited this script many times trying different community responses and with each release we fix some and fail others.

Code: Select all

	$objUsers = get-mailbox -ResultSize Unlimited -ea silentlyContinue -WarningAction silentlyContinue | select UserPrincipalName,DisplayName,Alias,Identity,Guid,WhenChanged,PrimarySmtpAddress,GrantSendOnBehalfTo,RecipientType,MaxSendSize,MaxReceiveSize,ForwardingSmtpAddress,DeliverToMailboxAndForward,ProhibitSendReceiveQuota

	$i = 0
	#Iterate through all users	
	Foreach ($objUser in $objUsers)
	{	

		$strUserPrincipalName = $objUser.UserPrincipalName
		$strDisplayName = $objUser.DisplayName -replace "'"," "
		$strAlias = $objUser.Alias  -replace "'",""
		$strIdentity = $objUser.Identity  -replace "'",""
        }		
		
The code above shows what we are trying to strip the (') from the data. We have also tried REGEX and LIKE functions in POSH with same results.

I will follow back around to see if there is something else we can do to better identify this and correct it.

Re: Names with ' in them

Posted: Sat Mar 28, 2020 2:47 pm
by jallenEITP
This issue has been ongoing since we installed this product. When can we expect it to be fixed. I have kept the subscription going in hopes it would work but I am just throwing money away at this point.

Re: Names with ' in them

Posted: Mon Nov 09, 2020 6:21 pm
by jallenEITP
I have sent emails and posted to this forum and there is no response.