Disconnected Account

I'm trying to find what happened to some accounts/mailboxes that I have disabled because I cannot see them running "Get-Mailbox" but I find them if I run "Get-MailboxDatabase  | Get-MailboxStatistics | Where {$_.DisplayName -eq "User Name" }"

In that case I can see them as not disconnected, but I dont see them in the GUI neither.... after running the last command I can see this fields:

  • IsValid : True
  • ObjectState : Unchanged
  • DisconnectDate:
  • DisconnectReason:

(the last two fields are empty)

please help!!!!

regards

mariano

July 1st, 2015 3:14pm

I just ran the cmdlet "Get-Mailbox <alias> | fl" against a user that is currently disabled in our org. I do not see the "DisconnectDate" or "DisconnectReason" fields in my output from that command. This leads me to believe that in your case, the mailbox was in fact disconnected from the AD account, which would explain why:

1. You can't run the 'Get-Mailbox' cmdlet against that user, and

2. You are seeing the fields "DisconnectDate" and "DisconnectReason"

Run the following cmdlet and let us know what the output is:

Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -eq "Disabled" } | ft DisplayName,Database,DisconnectDate

This should confirm if I was right or not.

Free Windows Admin Tool Kit Click here and download it now
July 1st, 2015 3:55pm

If you've disabled the accounts, then they will not show in the Get-Mailbox command as they aren't really valid accounts. Try running this command:

Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -eq "Disabled" } | ft DisplayName,Database,DisconnectDate

Some more information on disconnected mailboxes:

https://technet.microsoft.com/en-us/library/bb232039%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396

July 1st, 2015 3:57pm

I have already done that (that was one of the things that I have first done)... including the "SoftDeleted" option too... but nothing appears from that commands.... :(

Free Windows Admin Tool Kit Click here and download it now
July 1st, 2015 4:03pm

if I run the command "1" I dont see them... If I run command "2" I see nothing... i also run the second with "SoftDeleted" instead of "Disabled"... same result... nothing.... :(
July 1st, 2015 4:07pm

Hi,

I am not quite sure your intention .

Based on my knowledge, you can identify the disabled mailboxes in your organization using the below command:

Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -eq "Disabled" } | ft DisplayName,Database,DisconnectDate

so I don't understand your requirements, please show your purpose in details.

Regards,

David

Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2015 1:36am

Are you sure the mailboxes are really disabled? And how did you disable the accounts?  Did you only disable them in AD or did you do it in the ECP or EMS?
July 2nd, 2015 9:56am

I disabled them from the ECP .... I'm not sure if they are disabled because when I run:

"Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -eq "Disabled" } | ft DisplayName,Database,DisconnectDate"

I see nothing... 

Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2015 10:03am

Ensure that you have the right permission, i.e. assigned the 'Mail Recipients' role.


Regards,
  • Edited by SamyEF 11 hours 30 minutes ago
July 3rd, 2015 3:58pm

I disabled them from the ECP .... I'm not sure if they are disabled because when I run:

"Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -eq "Disabled" } | ft DisplayName,Database,DisconnectDate"

I see nothing... 

Update the store state for those mailboxes, then see if you can see the disabled ones

https://technet.microsoft.com/en-us/library/jj860462(v=exchg.150).aspx

Update-StoreMailboxState

Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2015 4:59pm

Ensure that you have the right permission, i.e. assigned the 'Mail Recipients' role.


Regards,
  • Edited by SamyEF Friday, July 03, 2015 7:56 PM
July 3rd, 2015 7:55pm

Ensure that you have the right permission, i.e. assigned the 'Mail Recipients' role.


Regards,
  • Edited by SamyEF Friday, July 03, 2015 7:56 PM
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2015 7:55pm

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

Other recent topics Other recent topics