Enable-mailbox from a trusted domain on exchange 2007 do not work.
Hello. I have a two trusted domains: dom2.star - client; domain.local exchange 2007 hosted. Joined to dom2.star workstation has Exchange 2007 tools installed and domain.local\administratro as local administrator. Running Exchange tools as Domain\Administrator i tried to run enable mailbox command: enable-mailbox -Identity:'CN=sssaaa,CN=Users,DC=DOMAIN,DC=local' -Database:'CN=Mailbox Database,CN=First Storage Group,CN=InformationStore,CN=EXCH2007,CN=Servers,CN=Exchange Administrative Group \28FYDIBOHF23SPDLT\29,CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DOMAIN,DC=local' -domaincontroller srv2003d.DOMAIN.local where all AD obects a present. The folowing output comes: Enable-Mailbox : Active Directory operation failed on srv2003d.DOMAIN.local. Th is error could have been caused by user input or by the Active Directory server being unavailable. Please retry at a later time. Additional information: Addit ional information: The global catalog verification failed. The global catalog i s not available or does not support the operation. Some part of the directory i s currently not available. Active directory response: 000020E1: SvcErr: DSID-032005F2, problem 5002 (UNAVA ILABLE), data 0 . At line:1 char:15 + enable-mailbox <<<< -Identity:'CN=sssaaa,CN=Users,DC=DOMAIN,DC=local' -Datab ase:'CN=Mailbox Database,CN=First Storage Group,CN=InformationStore,CN=EXCH2007 ,CN=Servers,CN=Exchange Administrative Group \28FYDIBOHF23SPDLT\29,CN=Administr ative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configu ration,DC=DOMAIN,DC=local' -domaincontroller srv2003d.DOMAIN.local + CategoryInfo : WriteError: (:) [Enable-Mailbox], ADPossibleOper ationException + FullyQualifiedErrorId : D79ABB53,Microsoft.Exchange.Management.Recipient Tasks.EnableMailbox with exception: Active Directory operation failed on srv2003d.DOMAIN.local. This error could have been caused by user input or by the Active Directory server being unavailable. Please retry at a later time. Additional information: Additional information: The global catalog verification failed. The global catalog is not available or does not support the operation. Some part of the directory is currently not available. Active directory response: 000020E1: SvcErr: DSID-032005F2, problem 5002 (UNAVAILABLE), data 0 . Stack trace: at Microsoft.Exchange.Data.Directory.ADSession.AnalyzeDirectoryError(PooledLdapConnection connection, DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer) at Microsoft.Exchange.Data.Directory.ADSession.ExecuteModificationRequest(ADRawEntry entry, DirectoryRequest request, ADObjectId originalId) at Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties) at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.Save(ADRecipient instanceToSave) at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.Microsoft.Exchange.Data.IConfigDataProvider.Save(IConfigurable instance) at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalProcessRecord() And inner exception: The server is unavailable. Stack trace: at System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32 messageId, LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut) at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout) at Microsoft.Exchange.Data.Directory.PooledLdapConnection.SendRequest(DirectoryRequest request, LdapOperation ldapOperation) at Microsoft.Exchange.Data.Directory.ADSession.ExecuteModificationRequest(ADRawEntry entry, DirectoryRequest request, ADObjectId originalId) when i running the same whithout domaincontroller parameter i'm receiving PS output: Database "EXCH2007\First Storage Group\Mailbox Database" was not found. Please make sure you have typed it correctly. At line:1 char:1 + <<<< enable-mailbox -Identity:'CN=sssaaa,CN=Users,DC=DOMAIN,DC=local' -Datab ase:'CN=Mailbox Database,CN=First Storage Group,CN=InformationStore,CN=EXCH2007 ,CN=Servers,CN=Exchange Administrative Group \28FYDIBOHF23SPDLT\29,CN=Administr ative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configu ration,DC=DOMAIN,DC=local' + CategoryInfo : NotSpecified: (:) [], ManagementObjectNotFoundEx ception + FullyQualifiedErrorId : FAAF8E8A Exception: Database "EXCH2007\First Storage Group\Mailbox Database" was not found. Please make sure you have typed it correctly. Stack trace: at Microsoft.Exchange.Configuration.Tasks.Task.ThrowTerminatingError(Exception exception, ErrorCategory category, Object target) at Microsoft.Exchange.Configuration.Tasks.Task.ProcessUnhandledException(Exception e) at Microsoft.Exchange.Configuration.Tasks.Task.BeginProcessing() at System.Management.Automation.Cmdlet.DoBeginProcessing() at System.Management.Automation.CommandProcessorBase.DoBegin() And inner exception with same message stack trace: at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, Nullable`1 notFoundError, LocalizedString multipleFoundError) at Microsoft.Exchange.Management.RecipientTasks.EnableMailbox.InternalBeginProcessing() at Microsoft.Exchange.Configuration.Tasks.Task.BeginProcessing() Event log is empty on workstation, Exchange, DC And it is common issue for few PS commands. And i found similar issue under ASP.NET but it cannot help me http://blogs.msdn.com/b/akashb/archive/2009/01/30/howto-using-powershell-in-asp-net-net-framework-2-0.aspx Name : EXCH2007 AdminDisplayVersion : Version 8.2 (Build 176.2) ExchangeVersion : 0.1 (8.0.535.0) So. How can i run PS commands such as enable-mailbox from a trusted domains on exchange 2007?
April 4th, 2012 4:33am

This is a progrqmming forum for VSTO for Office applications. You might want to post this in an Exchange administration forum where people would know what you're talking about and would have the expertise to answer your question. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "GrayscaleRu" <=?utf-8?B?R3JheXNjYWxlUnU=?=> wrote in message news:bf8e71b4-2f38-4451-a738-6a71e3964f19... Hello. I have a two trusted domains: dom2.star - client; domain.local exchange 2007 hosted. Joined to dom2.star workstation has Exchange 2007 tools installed and domain.local\administratro as local administrator. Running Exchange tools as Domain\Administrator i tried to run enable mailbox command: enable-mailbox -Identity:'CN=sssaaa,CN=Users,DC=DOMAIN,DC=local' -Database:'CN=Mailbox Database,CN=First Storage Group,CN=InformationStore,CN=EXCH2007,CN=Servers,CN=Exchange Administrative Group \28FYDIBOHF23SPDLT\29,CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DOMAIN,DC=local' -domaincontroller srv2003d.DOMAIN.local where all AD obects a present. The folowing output comes: Enable-Mailbox : Active Directory operation failed on srv2003d.DOMAIN.local. Th is error could have been caused by user input or by the Active Directory server being unavailable. Please retry at a later time. Additional information: Addit ional information: The global catalog verification failed. The global catalog i s not available or does not support the operation. Some part of the directory i s currently not available. Active directory response: 000020E1: SvcErr: DSID-032005F2, problem 5002 (UNAVA ILABLE), data 0 At line:1 char:15 + enable-mailbox <<<< -Identity:'CN=sssaaa,CN=Users,DC=DOMAIN,DC=local' -Datab ase:'CN=Mailbox Database,CN=First Storage Group,CN=InformationStore,CN=EXCH2007 ,CN=Servers,CN=Exchange Administrative Group \28FYDIBOHF23SPDLT\29,CN=Administr ative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configu ration,DC=DOMAIN,DC=local' -domaincontroller srv2003d.DOMAIN.local + CategoryInfo : WriteError: (:) [Enable-Mailbox], ADPossibleOper ationException + FullyQualifiedErrorId : D79ABB53,Microsoft.Exchange.Management.Recipient Tasks.EnableMailbox with exception: Active Directory operation failed on srv2003d.DOMAIN.local. This error could have been caused by user input or by the Active Directory server being unavailable. Please retry at a later time. Additional information: Additional information: The global catalog verification failed. The global catalog is not available or does not support the operation. Some part of the directory is currently not available. Active directory response: 000020E1: SvcErr: DSID-032005F2, problem 5002 (UNAVAILABLE), data 0 Stack trace: at Microsoft.Exchange.Data.Directory.ADSession.AnalyzeDirectoryError(PooledLdapConnection connection, DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer) at Microsoft.Exchange.Data.Directory.ADSession.ExecuteModificationRequest(ADRawEntry entry, DirectoryRequest request, ADObjectId originalId) at Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties) at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.Save(ADRecipient instanceToSave) at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.Microsoft.Exchange.Data.IConfigDataProvider.Save(IConfigurable instance) at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalProcessRecord() And inner exception: The server is unavailable. Stack trace: at System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32 messageId, LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut) at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout) at Microsoft.Exchange.Data.Directory.PooledLdapConnection.SendRequest(DirectoryRequest request, LdapOperation ldapOperation) at Microsoft.Exchange.Data.Directory.ADSession.ExecuteModificationRequest(ADRawEntry entry, DirectoryRequest request, ADObjectId originalId) when i running the same whithout domaincontroller parameter i'm receiving PS output: Database "EXCH2007\First Storage Group\Mailbox Database" was not found. Please make sure you have typed it correctly. At line:1 char:1 + <<<< enable-mailbox -Identity:'CN=sssaaa,CN=Users,DC=DOMAIN,DC=local' -Datab ase:'CN=Mailbox Database,CN=First Storage Group,CN=InformationStore,CN=EXCH2007 ,CN=Servers,CN=Exchange Administrative Group \28FYDIBOHF23SPDLT\29,CN=Administr ative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configu ration,DC=DOMAIN,DC=local' + CategoryInfo : NotSpecified: (:) [], ManagementObjectNotFoundEx ception + FullyQualifiedErrorId : FAAF8E8A Exception: Database "EXCH2007\First Storage Group\Mailbox Database" was not found. Please make sure you have typed it correctly. Stack trace: at Microsoft.Exchange.Configuration.Tasks.Task.ThrowTerminatingError(Exception exception, ErrorCategory category, Object target) at Microsoft.Exchange.Configuration.Tasks.Task.ProcessUnhandledException(Exception e) at Microsoft.Exchange.Configuration.Tasks.Task.BeginProcessing() at System.Management.Automation.Cmdlet.DoBeginProcessing() at System.Management.Automation.CommandProcessorBase.DoBegin() And inner exception with same message stack trace: at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, Nullable`1 notFoundError, LocalizedString multipleFoundError) at Microsoft.Exchange.Management.RecipientTasks.EnableMailbox.InternalBeginProcessing() at Microsoft.Exchange.Configuration.Tasks.Task.BeginProcessing() Event log is empty on workstation, Exchange, DC And it is common issue for few PS commands. And i found similar issue under ASP.NET but it cannot help me http://blogs.msdn.com/b/akashb/archive/2009/01/30/howto-using-powershell-in-asp-net-net-framework-2-0.aspx Name : EXCH2007 AdminDisplayVersion : Version 8.2 (Build 176.2) ExchangeVersion : 0.1 (8.0.535.0) So. How can i run PS commands such as enable-mailbox from a trusted domains on exchange 2007? Ken Slovak MVP - Outlook
Free Windows Admin Tool Kit Click here and download it now
April 4th, 2012 12:58pm

Please Up.
April 6th, 2012 10:27am

Are these domains part of the single forest for different forest? Bydefault Exchange management shell is scoped to a particular domain. Please run the command If you find View Entire forest is showing false, Please change it to true by running following command $AdminSessionADSettings.ViewEntireForest = 1Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Hasnain Shaikh| My blogs: http://messagingserversupport.com
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2012 11:21am

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

Other recent topics Other recent topics