Microsoft Exchange

Exchange Hybrid - Customers configuring hybrid with edge can hit a problem where on prem users can’t email cloud users

Situation: Customers configuring hybrid with edge can hit a problem where on prem users can’t email cloud users. All other mail flow works as expected. Bounce message indicates a local loop is detected. Problem: If the name of the certificate is longer than 256 characters then the EdgeSync fails to create the Outbound to Office 365 send connector on the edge server(s). This causes mail to bounce back and forth between internal transport servers and the edge servers as the special routing for th...

Exchange DAG Node Failure – Force Switchover With Queues

Exchange DAG Node Failure – Force Switchover With Queues Written by Allen White (http://www.techieshelp.com/author/admin/) on. Posted in Exchange 2010 (http://www.techieshelp.com/category/microsoft/exchange-2010/) I had this issue with a client last week, the system was Exchange 2010 with a 2 node Database Availability Group (DAG) setup. One of the Exchange nodes had gone offline and this would be permanent as the failure was catastrophic. I checked that the second node had kicked into action ...

Exchange 2016 Create DAG using Powershell

In this tutorial I will walk you through the installation of an Exchange Server 2016 database availability group. For this example a DAG with two members in the same site is being created, with a third Windows server in the same site being used as the file share witness. To prepare for the new database availability group I’ve installed two Exchange 2016 servers with identical hardware, storage and performance specifications. When each server was installed, Exchange setup created a default mai...

Exchange 2010 DAG Computer Account Failed (FailOver Cluster Manager) FIX

STEP 1 : Reset the AD Computer Account for the DAG 2010 Cluster STEP 2 : Bring Online the Computer Account in the Failover Cluster manager (IT WILL FAIL, THAT IS OK!) STEP 3 : Go to more actions and Repair the Object STEP 4 : Bring it Online! DONE!!

How to re-create the OAB (Offline Address Book)

This morning I was asked to update the Global Address List and Offline Address Book in an Exchange environment. You could wait for Exchange to do it automatically (the default schedule is once a day) but what when you want to force the update to take place right now? Well… again here comes PowerShell to the rescue: Get-GlobalAddressList | Update-GlobalAddressList So now that the GAL is updated there could be some users that are using a Offline Address Book (OAB). So, what is the PowerShell comma...

Multiple SMTP namespaces and Autodiscover

Multiple SMTP namespacesThe above mentioned solution is pretty easy as long as one and only one SMTP namespace is used. It is not uncommon however that companies use multiple SMTP namespaces. I am currently working with a customer that has over 12 SMTP namespaces and there are hundreds of mailboxes using different SMTP domains. This makes life a bit more complicated. As explained earlier, the Outlook client tries to connect to the Autodiscover website using the SMTP address of the particular use...

How to cleanup stale Active Sync Devices in Exchange 2010

# Powershell script to clear stale ActiveSync partnerships # Are Romøren, 07042011 # Get all CAS-enabled mailboxes in Exchange organization and filter on LastSuccessSync # Must be run from an Exchange server with Mailbox Role installed, account needs Exchange administrative privileges # (Get-Date).AddDays("-7") - specify "older than"-parameter (current example will remove all partnerships older than 1 week) Get-CASMailbox -ResultSize unlimited -Filter{(HasActiveSyncDevicePartnership -eq $true) ...