Exchange2013: Testing MRS Across A DAG

In Exchange 2013, it may become necessary to test the Mailbox Replication Service (MRS) against all members of a Database Availability Group (DAG). To do this, we can perform the following script: #We obtain the member servers of the DAG$Servers = ((Get-DatabaseAvailabilityGroup LAB-NAEX15-01).Servers).Name#We perform a 'foreach' against each memberforeach($server in $Servers){ Write-Host -ForegroundColor Green $server.NameTest-MRSHealth -Identity $server…


Exchange 2013: 'Get-AgentLog' Throws Exception When Run From The Front End

During the investigation of a not-so-recent case, it was discovered that Get-AgentLog – when run from a Front-End server – will throw an exception. What occurs is that when you attempt to run the command from EMS, you receive a notice about an exception and that a Watson dump is being generated; however, no Watson dump…


O365: Manual Outlook Profile Creation in Wave 15

After the migration to Wave 15, Tenant Admins may find it necessary to create manual Outlook profiles; primarily, for troubleshooting and reproducing issues. It should be important to note that this is not a fully supported scenario but there are some steps available, if manual profile creation is required. Server: mailbox.outlook.comUser: <User for the Profile>Logon…


O365: On-Premises Transport Queuing Lessons Learned from CBL

I recently had a case where on-premises Transport had Queues that were ‘stuck’ going to the cloud. Specifically, they were going to Exchange Online Protection for routing from on-premises to cloud mailboxes. The on-premises transport servers were generating errors, in a unique way. For example, this is what we saw from the Queues in PowerShell:…


O365: PST Export Tool Issue and Possible Resolution[s]

It has been discovered that some customers experience a problem with the PST export tool in the Wave15 version of the cloud. Specifically, the symptom is: When a Tenant Admin attemptsto download the PST file, he or she receives “Microsoft.Exchange.eDiscovery.ExportTool.exe has stopped working” and their only option is to terminate the process. This can be resolved in one of two ways: 1….


DAGs: When Installing Them Becomes A Chore

I had a lab and I was running into a problem building a Database Availability Group (DAG). I had installed Exchange 2013 Mailbox Role on 3 Windows Server 2008 R2 Standard machines. I was receiving the following error: A database availability group administrative operation failed. Error: Failed to add or remove the Failover-Clustering feature. Error:…


RBAC: Associating a Command With a Specific Groups

In some scenarios, it becomes prudent to know what Role is able to run which command. We can found out which groups are able to run which commands via the following syntax: Get-ManagementRoleEntry *\<command> For example, if you wanted to know who could run ‘Get-CalendarDiagnosticLog’, you would run the following command: Get-ManagementRoleEntry *\Get-CalendarDiagnosticLog If you…


O365 & EWS: EmailMessage.SetExtendedProperty() Introduces Undesirable Behavior for Cloud

In Office 365, there is a known issue where Item.SetExtendedProperty() will prevent ResponseMessage.SendAndSaveCopy() from working correctly. Instead of sending the messaging and placing the item in the 'Sent Items' folder, the message will be sent and remain in the 'Drafts' folder. This issue can be corrected by changing the source code of the EWS application in either of the…


EWS: Obtaining Mail Item from List

In troubleshooting an issue for a customer, I ran into a problem: I could obtain the data from the MAPI store (via EWS) but I was unable to figure out how to cast from the list of items obtained to an actual message to action against. For example, here’s where I was attempting to obtain…