Some Exchange 2010 UM cmdlets do not work remotely.
Environment - Mixed Exchange 2007/2010 (migration in progress).
Attempting to run these cmdlets:
Enable-UMMailbox
Disable-UMMailbox
Get-UMMailboxPIN
Set-UMMailboxPIN
Result in the following error after 1 minute:
The process failed to read the Exchange topology in the alloted time.
The cmdlets do work if executed from one of the Exchange 2010 servers, and all of the other cmdlets seem to work as expected when run remotely, including the other UM related cmdlets.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
July 21st, 2010 2:12am
As I know, EMC (EMS) is connecting to server remotely even on the local exchange server
Does the issue happen on the domain workstation?
Is there any error event in the application log on the remote workstation and exchange servers?
Please run the failed cmdlet with “Verbose” parameter, and check the output
You can also increase the diagnostic logging on the services below:
·
MSExchange Configuration Cmdlet - Management Console
·
MSExchange Configuration Cmdlet - Management Shell
·
MSExchange Configuration Cmdlet - Remote Management
Resources:
OWA: The process failed to read the
Exchange topology in the allotted timeJames Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2010 9:41am
Thank you for the reply. Yes, it is a domain joined workstation. I will re-try the commands with the -verbose switch, check the logs, and check / adjust the logging levels.
I did see the other thread before I posted, and checked my site and subnet configurations looking for the guid-tagged subnets, but everything looks in order there, and my OWA seems to be working fine.[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
July 21st, 2010 1:49pm
Get the following results with the logging set at the default level: (domain and user name details are masked).
PS C:\> set-ummailboxpin *********** -verbose
VERBOSE: [15:08:49.217 GMT] Set-UMMailboxPIN : Active Directory session settings for 'Set-UMMailboxPIN'
are: View Entire Forest: 'True',
VERBOSE: [15:08:49.232 GMT] Set-UMMailboxPIN : Runspace context: Executing user: ********/Administrator
Accounts/**********, Executing user organization: , Current organization: , RBAC-enabled: Disabled.
VERBOSE: [15:08:49.232 GMT] Set-UMMailboxPIN : Beginning processing.
VERBOSE: [15:08:49.248 GMT] Set-UMMailboxPIN : Instantiating handler with index 0 for cmdlet extension
agent "Admin Audit Log Agent".
VERBOSE: [15:08:49.264 GMT] Set-UMMailboxPIN : Current ScopeSet is: {Domain Read Scope: {, }, Domain
Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope:
{, }}
VERBOSE: [15:08:49.264 GMT] Set-UMMailboxPIN : Searching objects "************" of type "ADUser"
under the root "$null".
VERBOSE: [15:08:49.295 GMT] Set-UMMailboxPIN : Previous operation run on global catalog server
'ds3.*******'.
VERBOSE: [15:08:49.310 GMT] Set-UMMailboxPIN : Rereading object "*******/****/*****/**********"
of type "ADUser" under the root "CN=***** **********,OU=*****,OU=****,DC=***,DC=***".
VERBOSE: [15:08:49.326 GMT] Set-UMMailboxPIN : Previous operation run on domain controller 'ds2.***.***'.
VERBOSE: [15:08:49.326 GMT] Set-UMMailboxPIN : Processing object "***.***/****/*****/************".
Set-UMMailboxPIN : The process failed to read the Exchange topology in the allotted time.
At line:1 char:17
+ set-ummailboxpin <<<< *********** -verbose
+ CategoryInfo : NotSpecified: (0:Int32) [Set-UMMailboxPIN], ReadTopologyTimeoutException
+ FullyQualifiedErrorId : F793133A,Microsoft.Exchange.Management.Tasks.UM.SetUMMailboxPIN
VERBOSE: [15:09:49.441 GMT] Set-UMMailboxPIN : Ending processing.
PS C:\> get-eventlog -logname application -newest 1 | fl *
EventID : 4
MachineName : **********.***.***
Data : {}
Index : 15543
Category : (1)
CategoryNumber : 1
EntryType : Error
Message : The description for Event ID '-1073741820' in Source 'MSExchange Configuration Cmdlet - Management
Shell' cannot be found. The local computer may not have the necessary registry information or me
ssage DLL files to display the message, or you may not have permission to access them. The follow
ing information is part of the event:'4900', '13', 'Set-UMMailboxPIN', '0', 'Microsoft.Exchange.Da
ta.Storage.ReadTopologyTimeoutException: The process failed to read the Exchange topology in the allotted time.
at Microsoft.Exchange.Data.Storage.ServiceCache.GetCurrentServiceTopology(TimeSpan getServiceTopologyTimeout)
at Microsoft.Exchange.UM.UMCommon.UMRecipient.get_MailboxServerSite()
at Microsoft.Exchange.UM.Rpc.UMRpcRequest..ctor(ADUser user)
at Microsoft.Exchange.UM.Rpc.ValidateOrGeneratePINRequest..ctor(ADUser user)
at Microsoft.Exchange.Management.Tasks.UM.UMRecipientTaskHelper.ValidateOrGeneratePIN(ADUser user, String pin)
at Microsoft.Exchange.Management.Tasks.UM.UMMailboxTask`1.ValidateOrGeneratePIN(String pin)
at Microsoft.Exchange.Management.Tasks.UM.SetUMMailboxPIN.DoValidate()
at Microsoft.Exchange.Management.Tasks.UM.UMMailboxTask`1.InternalValidate()
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()', '{792bca92-0593-4b64-82b3-cdfa40ad824e}'
Source : MSExchange Configuration Cmdlet - Management Shell
ReplacementStrings : {4900, 13, Set-UMMailboxPIN, 0...}
InstanceId : 3221225476
TimeGenerated : 7/21/2010 10:09:49 AM
TimeWritten : 7/21/2010 10:09:49 AM
UserName :
Site :
Container :
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2010 6:20pm
Okay. I've figure out how to get the cmdlets to work. I've been running them out of the Powershell Modules console that installs with RSAT. This console will automatically import all of the Exchange cmdlets into the console if you have
the Exchange Management tools installed. They all seem to work, except for the 4 UM-related cmdlets. If I launch the ESM from the Exchange 2010 program group, they work from there.
I edited the profile of the Powershell Modules console ( just open it up and run NotePad $profile) and pasted in the command line options from the ESM shortcut:
. 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'
cd \
Connect-ExchangeServer -auto
Now the UM specific cmdlets work.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
July 21st, 2010 10:53pm