Monday, February 11, 2013

User Can’t Accept Any Meeting Invites – Senders Receive A NDR

I’ve come across this issue several times recently in a Exchange 2003 to Exchange 2010 migration. The user won’t be able to accept meeting invites from other users. The senders get a NDR with the information below. The key on this was the fact that the user name was repeated in the NDR for the Delegate User Validation Exception
Diagnostic information for administrators:Generating server: server.righthandedexchange.com
dontspamme@righthandedexchange.com
#554 5.2.0 STOREDRV.Deliver.Exception:DelegateUserValidationException; Failed to process message due to a permanent exception with message Delegate user validation failed for user: dontspamme. DelegateUserValidationException: Delegate user validation failed for user: dontspamme. ##
DelegateLoop

Validation

Get-CalendarProcessing -Identity dontspamme|Select ResourceDelegates
ResourceDelegates
—————–
{righthandedexchange.com/users/dontspamme}

Remediation

Get-CalendarProcessing -Identity dontspamme|Set-CalendarProcessing -ResourceDelegates $null

Proactive Detection

How do I proactively check to see if this is going to be an issue?

$i=0

$y=0

$DelegateIssues=@()

$mbxs=Get-Mailbox -ResultSize unlimited  -RecipientTypeDetails UserMailbox

foreach ($mbx in $mbxs){

       $y++

       $i++

       if ($y -eq 100) {Write-Output ("Checked {0} of {1} mailboxes" -f $i, $mbxs.Count);$y=0}

       $Delegate=Get-CalendarProcessing -Identity $mbx|Select-Object -ExpandProperty resourceDelegates|where {$_.DistinguishedName -match $mbx.DistinguishedName}

       if ($Delegate){$DelegateIssues+=$mbx;Write-Output ("ERROR ---- user: {0} is a delegate of themselves" -f $mbx.Alias)}

 

}

Write-Output ("Found {0} Mailboxes with the Delegate Issue" -f $DelegateIssues.Count)

Write-Output ($DelegateIssues|select Alias, DisplayName, PrimarySMTPAddress )

No comments:

Post a Comment