Removing quarantined devices when the mailbox attribute has been deleted

I have a few Exchange 2010 mobile devices in quarantine that belonged to employees that have been termintated and the mailbox attribute removed. when I try to remove the devices using;

Get-ActiveSyncDevice | Where {$_.DeviceAccessState -eq "Quarantined" -and $_.FirstSyncTime -lt (Get-Date).AddMonths(-6)} | Remove-ActiveSyncDevice -Confirm:$false

I get an error stating

Couldn't find '<AD domain>/<OU path><Username>,as a recipient.
   + CategoryInfo          : InvalidArgument: (:) [Remove-ActiveSyncDevice], RecipientNotFoundException
   + FullyQualifiedErrorId : 44C6758C,Microsoft.Exchange.Management.Tasks.RemoveMobileDevice

is there a way to remove the device after the mailbox has been removed?

February 12th, 2015 6:22pm

Hi,

Maybe below links can help you.

http://exchangeserverpro.com/exchange-2010-error-activesyncdevice-cannot-be-found-remote-wipe/

http://vanbrenk.blogspot.nl/2014_01_01_archive.html

http://www.msexchangegeek.com/2013/10/

KR.

Itechin


Free Windows Admin Tool Kit Click here and download it now
February 17th, 2015 5:39am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics