Unvisible Mailbox Exchange 2007
Mailboxes of our Subdomain are not visible in our Exchange Server. Exchange 2007 (one server for domain and subdomain) ActiveDirectory (Windows 2008 R2 in the maindomain / 2003 R2 in the Subdomain) What happend? A Co-Admin from our production location deleted all ActiveDirectory Users, before he informed me he started to create new users. I moved the new users to OUs that are not used, then I used the tool ADRestore.net to get the delted users back. After that I checked the mailboxes in Exchange 2007 if the are disconnected mailboxes, I know that it can take many hours before they are shown so I used Clean-MailboxDatabase but now Mailbox is shown. The users that where deleted can use there Mailboxes with there Outlook without any problem (send and receive eMails) they are still in the Exchange Global Addressbook. If I want to login to another computer and autoconfig outlook I get an error that tells me that there is no mailbox for the user. In the Exchange 2007 Managmentconsole the Mailboxes are not shown too. Is there a "switch" to set the mailboxes to visible? Greetings
August 13th, 2012 7:18am

You mean the original users which was got deleted, you could able to restore it but you are not able to see in the Exchange Management Console & AT the client end user are able to send and receive emails. But you are not able to configure the profile on new PC or getting error that mailbox is not available ? Here you need to reconnect the Mailbox, here the step by step instruction. http://technet.microsoft.com/en-us/library/bb201701(v=exchg.80).aspx To know more about Disconnected Mailbox Refer the below link. http://technet.microsoft.com/en-us/library/bb232039(v=exchg.80).aspx Cheers, Ashwini KumarKnow more about Messaging :-)
Free Windows Admin Tool Kit Click here and download it now
August 13th, 2012 8:30am

Hello Kumar, thats my problem, the mailboxes are not listed under disconnected mailboxes in the Exchange Managment Console. I know that it takes long time (1 Day) before Exchange will show the disconnected mailboxes so I used Clean-MailboxDatabase from the console to get the disconnected mailboxes but no luck they are still unvisible. The Mailboxes are not deleted. The Exchange server is on my location so I know 100% that they are not deleted by any comand. For me it looks like the are not visible (not disconnected) because User can still work with the mailboxes, the are able to send and receive emails. Greetings
August 13th, 2012 9:21am

Hi, How does EMS report ? run below command to see if GUI has issues. Get-MailboxStatistics -Database Mailbox Database 1181764618 | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid Another possibility is AD might have not replicated properly to the DC which exchange server is talking. Try to manually Update Exchange Address Book & then re-try to configure on another user profile. and Last, verify AD GUID on EMS & DC by Get-Mailbox "username" |fl on DC get-ADuser "username" |fl San
Free Windows Admin Tool Kit Click here and download it now
August 13th, 2012 9:40am

Hi, How does EMS report ? run below command to see if GUI has issues. Get-MailboxStatistics -Database Mailbox Database 1181764618 | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid Another possibility is AD might have not replicated properly to the DC which exchange server is talking. Try to manually Update Exchange Address Book & then re-try to configure on another user profile. and Last, verify AD GUID on EMS & DC by Get-Mailbox "username" |fl on DC get-ADuser "username" |fl San
August 13th, 2012 9:47am

Hello San.V I started with the get-mailbox and get-ADUser command and got the following errors: The users with the problem are located in the child domain child.domain.local (example). I used get-ADUser on our PDC (domain.local), to find a user that is located in the child domain, child.domain.local and I get an error that tells me that the user is not found under DC=domain,DC=local. I used get-mailbox and I got an error that the Object "username" (I used the real username) can not be found on domaincontroller.domain.local. So I thought good Idea to check the replication betwenn the domain.local and child.domain.local repadmin /showrepl last repl today some minutes ago successful repadmin /replsum shows no errors dcdiag /q shows no errors dcdiag everything passed Then I turned back to the Exchange server, I opend the Managementconsole opend mailbox and started to create a new mailbox I selected existing users and I can see all users from the child domain that actually can work with there mailbox but I can not see the mailboxes in Exchange. Greetings
Free Windows Admin Tool Kit Click here and download it now
August 15th, 2012 9:37am

You may have to set viewentireforest to true. $AdminSessionADSettings.ViewEntireForest = $TrueJames Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
August 15th, 2012 9:59am

I will give it a try. Can you tell me why exchange shows me all the users from child.domain.local in existing users when I create a new mailbox? All users have a mailbox already and they are able to work with it. I do not understand how Outlook can access the mailboxes and at the same time they are not visible in exchange (no disconnected mailboxes). Sorry for telling again, the users can work with there mailboxes. Should I backup all mailboxes in outlook (psd) and create a new mailbox and import the data later? What happens with the unvisible mailboxes will they still take space in the database? Would be very happy for another solution that saves time, because backup 50 mailboxes will cost a lot of time. Greetings
Free Windows Admin Tool Kit Click here and download it now
August 15th, 2012 2:53pm

Run the cmd first. Forest scope is a little different. When you're in Forest scope, the admin session talks to a GC for all reads (to get the whole forest view), but does any writes back to a DC in the appropriate domain. This is great because it means it's possible to get a view of all mailboxes in the whole forest, for instance. http://blogs.technet.com/b/evand/archive/2007/02/14/adminsessionadsettings-and-you.aspxJames Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
August 15th, 2012 3:26pm

Hi Loki, Sorry for late reply but was away due to holiday. Mostly Clean-MailboxDatabase should be able to show you results of our disconnected mailboxes. It run during maintenance window. I hope you have maintenance window to run over nightly. I think Jamestechman has also pointed correctly if it is view problem in your EMC with configuring Forestscope=$True. Let us know how it goes. CheersSan
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 12:47am

Hello, first I want to thank you for the time that you spend on my problem. I tried the command $AdminSessionADSettings.ViewEntireForest and it was false after changing now it shows true. But the users are not shown with get-mailbox Username | fl. Do you have any other idea how to locate the problem? I run the command Clean-MailboxDatabase 10 times in the last days but no disconnected mailbox. Normaly if i have a disconnected mailbox the old user cannot work with this mailbox till I reconnected it. All users can work without any problem. I can not see the mailboxes in EMC. The users are shown when I create a new mailbox unter existing users, that looks like they do not have a mailbox. Greetings
August 16th, 2012 1:28am

Could you please also run below command to see if they are not in soft deleted state? Get-MailboxStatistics Database dbname | Where-Object {$_.DisconnectReason eq Softdeleted} | ForEach {Remove-StoreMailbox Database $_.database identity $_.mailboxguid MailboxState Softdeleted If above brings luck, restore by http://technet.microsoft.com/en-us/library/gg278001.aspx are users able to access their old emails by OWA? this way we can identify if the users were restored & mapped to new mailbox or old. San
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 2:08am

Hi, I think these mailboxes is missing values for the attributes mailnickname and/or mail. If that is the case, it would explain why you can't see them in EMC and they will show up as having the recipienttype "USER" when you run Get-User in EMS. If that is the case, you need to fix that and when done, run Get-mailbox USER -ApplyMandatoryPropertiesMartina Miskovic
August 16th, 2012 2:48am

Hi, I think these mailboxes is missing values for the attributes mailnickname and/or mail. If that is the case, it would explain why you can't see them in EMC and they will show up as having the recipienttype "USER" when you run Get-User in EMS. If that is the case, you need to fix that and when done, run Get-mailbox USER -ApplyMandatoryPropertiesMartina Miskovic
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 2:55am

Hello San.V The users can not access there mailboxes with webmail only with outlook. I have tried your command and changed "dbname" to the db where the mailboxes should exist. But I only get a ">>" sign do I have to enter any parameter? With Get-MailboxStatistics | Where {$_.DisconnectDate -ne $null} the output is empty. Also With Get-MailboxStatistics | Where {$_.DisconnectReason -eq "Softdeleted"} the output is empty. I tried only Get-MailboxStatistics to see all mailboxes on all databases and I can see a lot more users but not all of the missing...Im absolutly clueless.
August 16th, 2012 5:24am

Hi Loki, i think Martina is correct and i created your problem in my test lab. I used Adsiedit.msc & removed "mailnickname" field and guess what, the user was not available in EMC or EMS. I think, you might have to re-map by entering their value like <username> and wait some time to replicate to all DCs. Also, run Get-mailbox USER -ApplyMandatoryProperties as suggested by Martina. You may also want to create any script by using powershell to modify this property. For Understanding of Powershell to modify AD:http://blogs.technet.com/b/heyscriptingguy/archive/2010/10/14/use-powershell-and-active-directory-cmdlets-to-update-users-in-active-directory.aspx ADModify.Net can help you modify users in bluk. San
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 5:43am

Hi Loki, i think Martina is correct and i created your problem in my test lab. I used Adsiedit.msc & removed "mailnickname" field and guess what, the user was not available in EMC or EMS. I think, you might have to re-map by entering their value like <username> and wait some time to replicate to all DCs. Also, run Get-mailbox USER -ApplyMandatoryProperties as suggested by Martina. You may also want to create any script by using powershell to modify this property. For Understanding of Powershell to modify AD:http://blogs.technet.com/b/heyscriptingguy/archive/2010/10/14/use-powershell-and-active-directory-cmdlets-to-update-users-in-active-directory.aspx ADModify.Net can help you modify users in bluk. San
August 16th, 2012 5:49am

Hi, I think these mailboxes is missing values for the attributes mailnickname and/or mail. If that is the case, it would explain why you can't see them in EMC and they will show up as having the recipienttype "USER" when you run Get-User in EMS. If that is the case, you need to fix that and when done, run Get-mailbox USER -ApplyMandatoryProperties Martina Miskovic So did you check the attributes I listed in my previous post? If they are not set, you can't see the mailboxes in EMC or EMS. If you run Get-User samaccountname Im sure you will see the useraccounts. Martina Miskovic
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 5:53am

Hello Martina, thank you that you try to help me too. I tried Get-Mailbox Username with a full functional user everything is ok, when I use a user with problems I get the message that this object can not be found on the Domaincontroller (the shown domaincontroller is a GP in domain.local) and the user is created in the child domain (child.domain.local). Scope of the Exchange Managment Shell is "View Entire Forest". Get-Mailbox Username -ApplyMandatoryProperties does not work: "A parameter cannot be found that matches parameter name ApplyMandatoryProperties" I checked http://technet.microsoft.com/en-us/library/bb123685%28v=exchg.80%29 but can not find ApplyMandatoryProperties. As you mantioned the users are listed with get-Mailbox as User not as UserMailbox. Greetings
August 16th, 2012 5:54am

Hi, I think these mailboxes is missing values for the attributes mailnickname and/or mail. If that is the case, it would explain why you can't see them in EMC and they will show up as having the recipienttype "USER" when you run Get-User in EMS. If that is the case, you need to fix that and when done, run Get-mailbox USER -ApplyMandatoryProperties Martina Miskovic So did you check the attributes I listed in my previous post? If they are not set, you can't see the mailboxes in EMC or EMS. If you run Get-User samaccountname Im sure you will see the useraccounts. Martina Miskovic
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 5:59am

-ApplyMandatoryProperties is available in Set-Mailbox ok so now I have to find the falue that I have to change, how do I list the attributes? Geetings
August 16th, 2012 6:00am

-ApplyMandatoryProperties is available in Set-Mailbox ok so now I have to find the falue that I have to change, how do I list the attributes? Geetings Check them in ADSIEdit or Attribute Editor if you have W2K8 Domain Controllers.Martina Miskovic
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 6:02am

Ok, I opend ADSI Edit to see the attributes of a user that is shown as User instead of UserMailbox in Exchange. Attribute=mail, Syntax=Unicode String, Value=his eMail Address -> looks ok. Attribute=mailNickname, Syntax=Unicode String, Value=<Not Set> I also checked other attributes and there are a lot of missing attributes for example: homeMDB homeMTA mDBUseDefaults msExchRecipientDisplayType msExchRecipientTypeDetails I have set the Attribute mailNickname. Greetings
August 16th, 2012 9:20am

Hello Martina, some days before I changed the mailNickname for one account and now the mailbox is visible :-) Thank you very much. If I open the Properties of an Mailbox I still get some errors but thats a small problem. So for me the problem is solved :-) Greetings
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2012 2:22am

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

Other recent topics Other recent topics