Tuesday, November 18, 2014

Event id 225 : Exchange 2007 and Exchange 2013

Issue : Database on Exchange 2013 are dismounting automatically after installing CU6 and Exchange 2007 is co-existing MBX

Error
ExchangeStoreDB 225
Database recovery
At 'date and Time' the copy of database 'Mailbox Database Random ' on this server was unexpectedly dismounted. The error returned by failover was "There is only one copy of this mailbox database (Mailbox Database Random). Automatic recovery is not available.".  For more specific information about the failures, consult the event log on the server for other "ExchangeStoreDb" events.



Resolution : Issue happens only when Exchange 2007 is installed along with Exchange 2013, Databases on Exchange 2013 automatically dismount

Install "Interim update" provided from Microsoft or wait for next CU/SP.

To receive IU, you need to open a case with Microsoft.

Update @ 10th Dec, 2014: Same IU is available at https://support.microsoft.com/kb/2986485



More info from KB
https://support.microsoft.com/kb/2997209
=============
The problem occurs when a user whose mailbox is located in Exchange Server 2007 tries to access a delegated mailbox that is located on a server that is running Exchange Server 2013 CU6.

When the updated server that is running Exchange Server 2013 tries to authenticate the user, it uses a mechanism that is not understood by Exchange Server 2007. This causes the Exchange Server 2013 Store process to crash and fail over the database to a different server. Co-existence with Microsoft Exchange Server 2010 is not affected by this problem.
===============







Mailbox migrating from Exchange 2007 to Exchange 2013 " Active Directory property ‎’homeMDB‎’ is not writeable on recipient"

Issue while moving mailbox from Exchange 2007 sp3 to Exchange 2013

Command ran was
New-MoveRequest -Id "Mailboxname" -TargetDatabase "E2k13dBName" -domaincontroller "fqdn.dc.com" 

// I found -DomainController switch usefull in case if Exchange is installed in the Parent child domain

Issue : Active Directory property ‎’homeMDB‎’ is not writeable on recipient

Resolution : 
Open ADSIEDIT >
 >  and goto User Account or you can also use the "find" to directly jump to the user
> and the right click > Switch to the “Security” tab 
“Advanced”  
 enable the “Include inheritable permissions from this object’s parent” check box.
> Click OK to confirm

and still, if you are getting the same message, go again the properties of the User and also open another user properties and compare and try to match Inheritance and Access/Deny permission, if they own the same OU or Group.

Make sure you have proper backup of Mailbox, in case if you messed with the account.

Another possibility is to disconnect the account and create and merge with a new account

Moving Mailbox from Exchange 2007 to Exchange 2013 "Mailbox useralias is already being moved to "Exchange 2013 db"

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
For our case in Exchange 2013, the error that saying mailbox is already being moved to Exchange 2013 database.


Error " Mailbox useralias is already being moved to "Exchange 2013 db"

Resolution :

1. Goto ADSI Edit and in "Domain Naming Context" find User and then click Properties

and find these Attributes and reset to "Zero", to find Attributes you can check option  "Show only attributes that have values"

1. "msExchMailboxMoveRemoteHostName"
2. "msExchMailboxMoveFlag and "
3. "msExchMailboxMoveStatus"



Friday, November 14, 2014

Run Exchange command from Standard Powershell 2.0


Open Standard Powershell 2.0 and to load the Exchange addin with PS cmdlets:

[PS] C:\> add-PSSnapin *exchange*
[PS] C:\> Get-PsSnapIn -Registered 

Tuesday, November 11, 2014

Exchange 2010 Services and defintion



Service name
Service short name
Security context
Description and dependencies
Default startup type
Server roles
Required (R) or optional (O)
Microsoft Exchange Active Directory Topology
MSExchangeADTopology
Local System
Provides Active Directory topology information to Exchange services. If this service is stopped, most Exchange services are unable to start. This service has no dependencies.
Automatic
Mailbox, Hub Transport, Client Access, Unified Messaging
R
Microsoft Exchange ADAM
ADAM_MSExchange
Network Service
Stores configuration data and recipient data on the Edge Transport server. This service represents the named instance of Active Directory Lightweight Directory Service (AD LDS) that's automatically created by Setup during Edge Transport server installation. This service is dependent upon the COM+ Event System service.
Automatic
Edge Transport
R
Microsoft Exchange Address Book
MSExchangeAB
Local System
Manages client address book connections. This service is dependent upon the Microsoft Exchange Active Directory Topology service.
Automatic
Client Access
R
Microsoft Exchange Anti-spam Update
MSExchangeAntispamUpdate
Local System
Provides the Microsoft Forefront Protection 2010 for Exchange Server anti-spam update service. On Hub Transport servers, this service is dependent upon the Microsoft Exchange Active Directory Topology service. On Edge Transport servers, this service is dependent upon the Microsoft Exchange ADAM service.
Automatic
Hub Transport, Edge Transport
O
Microsoft Exchange Credential Service
MSExchangeEdgeCredential
Local System
Monitors credential changes in AD LDS and installs the changes on the Edge Transport server. This service is dependent upon the Microsoft Exchange ADAM service.
Automatic
Edge Transport
R
Microsoft Exchange EdgeSync
MSExchangeEdgeSync
Local System
Connects to an AD LDS instance on subscribed Edge Transport servers over a secure LDAP channel to synchronize data between a Hub Transport server and an Edge Transport server. This service is dependent upon the Microsoft Exchange Active Directory Topology service. If Edge Subscription isn't configured, this service can be disabled.
Automatic
Hub Transport
O
Microsoft Exchange File Distribution
MSExchangeFDS
Local System
Distributes offline address book (OAB) and custom Unified Messaging prompts. This service is dependent upon the Microsoft Exchange Active Directory Topology and Workstation services.
Automatic
Client Access, Unified Messaging
R
Microsoft Exchange Forms-Based Authentication
MSExchangeFBA
Local System
Provides forms-based authentication to Microsoft Office Outlook Web App and the Exchange Control Panel. If this service is stopped, Outlook Web App and the Exchange Control Panel won't authenticate users. This service has no dependencies.
Automatic
Client Access
R
Microsoft Exchange IMAP4
MSExchangeIMAP4
Network Service
Provides IMAP4 service to clients. If this service is stopped, clients won't be able to connect to this computer using the IMAP4 protocol. This service is dependent upon the Microsoft Exchange Active Directory Topology service.
Manual
Client Access
O
Microsoft Exchange Information Store
MSExchangeIS
Local System
Manages the Exchange Information Store. This includes mailbox databases and public folder databases. If this service is stopped, mailbox databases and public folder databases on this computer are unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. This service is dependent on the RPC, Server, Windows Event Log, and Workstation services.
Automatic
Mailbox
R
Microsoft Exchange Mail Submission Service
MSExchangeMailSubmission
Local System
Submits messages from the Mailbox server to Exchange 2010 Hub Transport servers. This service is dependent upon the Microsoft Exchange Active Directory Topology service.
Automatic
Mailbox
R
Microsoft Exchange Mailbox Assistants
MSExchangeMailboxAssistants
Local System
Performs background processing of mailboxes in the Exchange store. This service is dependent upon the Microsoft Exchange Active Directory Topology service.
Automatic
Mailbox
R
Microsoft Exchange Mailbox Replication Service
MSExchangeMailboxReplication
Local System
Processes mailbox moves and move requests. This service is dependent upon the Microsoft Exchange Active Directory Topology and Net.Tcp Port Sharing service.
Automatic
Client Access
O
Microsoft Exchange Monitoring
MSExchangeMonitoring
Local System
Allows applications to call the Exchange diagnostic cmdlets. This service has no dependencies.
Manual
All
O
Microsoft Exchange POP3
MSExchangePOP3
Network Service
Provides POP3 service to clients. If this service is stopped, clients can't connect to this computer using the POP3 protocol. This service is dependent upon the Microsoft Exchange Active Directory Topology service.
Manual
Client Access
O
Microsoft Exchange Protected Service Host
MSExchangeProtectedServiceHost
Local System
Provides a host for several Exchange services that must be protected from other services. This service is dependent upon the Microsoft Exchange Active Directory Topology service.
Automatic
Hub Transport, Client Access
R
Microsoft Exchange Replication Service
MSExchangeRepl
Local System
Provides replication functionality for mailbox databases on Mailbox servers in a database availability group (DAG) and database mount functionality for all Mailbox servers. This service is dependent upon the Microsoft Exchange Active Directory Topology service.
Automatic
Mailbox
R
Microsoft Exchange RPC Client Access
MSExchangeRPC
Network Service
Manages client RPC connections for Exchange. This service is dependent upon the Microsoft Exchange Active Directory Topology service.
Automatic
Mailbox, Client Access
O (Mailbox), R (Client Access)
Microsoft Exchange Search Indexer
MSExchangeSearch
Local System
Drives indexing of mailbox content, which improves the performance of content search. This service is dependent upon the Microsoft Exchange Active Directory Topology and Microsoft Search (Exchange Server) services.
Automatic
Mailbox
O
Microsoft Exchange Server Extension for Windows Server Backup
WSBExchange
Local System
Enables Windows Server Backup users to back up and recover application data for Microsoft Exchange. This service has no dependencies.
Manual
Mailbox
O
Microsoft Exchange Service Host
MSExchangeServiceHost
Local System

Provides a host for several Exchange services. On internal server roles, this service is dependent upon the Microsoft Exchange Active Directory Topology service. On Edge Transport servers, this service is dependent upon the Microsoft Exchange ADAM service.
Automatic
All
R
Microsoft Exchange Speech Engine
MSSpeechService
Network Service
Provides speech processing services for Unified Messaging. This service is dependent upon the Windows Management Instrumentation (WMI) service.
Automatic
Unified Messaging
R
Microsoft Exchange System Attendant
MSExchangeSA
Local System
Forwards directory lookups to a global catalog server for legacy Outlook clients, generates e-mail addresses and OABs, updates free/busy information for legacy clients, and maintains permissions and group memberships for the server. If this service is disabled, any services that explicitly depend on it will fail to start. This service is dependent on the RPC, Server, Windows Event Log, and Workstation services.
Automatic
Mailbox
R
Microsoft Exchange Throttling
MSExchangeThrottling
Network Service
Limits the rate of user operations. This service is dependent upon the Microsoft Exchange Active Directory Topology service.
Automatic
Mailbox
R
Microsoft Exchange Transport
MSExchangeTransport
Network 
Provides SMTP server and transport stack. On Hub Transport servers, this service is dependent upon the Microsoft Exchange Active Directory Topology service. On Edge Transport servers, this service is dependent upon the Microsoft Exchange ADAM service.
Automatic
Hub Transport, Edge Transport
R
Microsoft Exchange Transport Log Search
MSExchangeTransportLogSearch
Local 
Provides remote search capability for Microsoft Exchange Transport log files. On Hub Transport servers, this service is dependent upon the Microsoft Exchange Active Directory Topology service. On Edge Transport servers, this service is dependent upon the Microsoft Exchange ADAM service.
Automatic
Hub Transport, Mailbox, Edge Transport
O
Microsoft Exchange Unified Messaging
MSExchangeUM
Local 
Enables Microsoft Exchange Unified Messaging features. This allows voice and fax messages to be stored in Exchange and gives users telephone access to e-mail, voice mail, calendar, contacts, or an auto attendant. If this service is stopped, Unified Messaging isn't available. This service is dependent upon the Microsoft Exchange Active Directory Topology and the Microsoft Exchange Speech Engine service.
Automatic
Unified Messaging
R
Microsoft Search (Exchange Server)
msftesql-Exchange
Local 
This is a Microsoft Exchange-customized version of Microsoft Search. This service is dependent on the RPC service.
Manual
Hub Transport, Mailbox

Wednesday, November 5, 2014

While initiating EMS received error :The user load quota of 2147483647 requests per 60 seconds has been exceeded

Issue : While initiating EMS received error 

"Connecting to remote server failed with the following error message : The WS-Management service cannot process the request. The user load quota of 2147483647 requests per 60 seconds has been exceeded. Send future requests at a slower rate or raise the quota for this user. The next request from this user will not be approved for at least 2137494400 milliseconds. For more information, see the about_Remote_Troubleshooting Help topic."


Resolution : Reset IIS or from IIS Manager > Server > Application Pools > Recycle "MsExchangePowerShellAppPool"