DataString.InvalidSmtpDomainName(Domain) when running the Office 365 hybrid Configuration Wizard.

0
41
views
A screenshot of a cell phone Description automatically generated

DataString.InvalidSmtpDomainName(Domain) when running the Office 365 hybrid Configuration Wizard.

In this post, I will show case how you can remove the following error when you tried to install the Office 365 Hybrid Configuration Wizard.

A screenshot of a cell phone
Description automatically generated

This error typically indicates that you have an Exchange server in your environment that is Offline or has not been decommissioned properly and is still listed in your environment.

You can verify all your Exchange Servers by running the following.

Get-ExchangeServer * |Fl

This will give you an output of all the Exchange Servers in your environment.

How to Resolve the Error?

To resolve the error, open ADSIEDIT and then connect to Configuration Container.

Then locate Exchange Administrative Group > Servers.

In the list of servers, you will see an Exchange Server which might have crashed or not properly decommissioned.

A screenshot of a cell phone
Description automatically generated

Right click on the Exchange Server that should not be in the Exchange Org and click delete.

A screenshot of a cell phone
Description automatically generated

Then click on Yes to confirm the deletion.

A screenshot of a cell phone
Description automatically generated

Then click on Yes to confirm that all objects in the container will be deleted.

A screenshot of a cell phone
Description automatically generated

You will notice that the Exchange Server container is no longer listed after the deletion.

A screenshot of a cell phone
Description automatically generated

If you have multiple Active Directory Site, force an Active Directory Replication.

Give the replication a minute or two and then rerun the Hybrid Configuration Wizard.

The Wizard will now be completed without giving you the DataString.InvalidSmtpDomainName(Domain). Error.

A screenshot of a social media post
Description automatically generated

Hope this helps those who might have this error in the future.

Microsoft also posted about this error HERE.

Sharing is caring!

Previous articleHow to create a new Azure virtual machine using Azure PowerShell and Azure CLI
Next articleOffice 365 Groups Activity Report
About Me ? I Guess i would start by saying i am a family guys and full time SysAdmin and Tech Junky. This Blog is my first attempt to share information about daily issues i come across as a SysAdmin as well as some new deployments i am part of. Topics that i will cover will mostly be about Office 365,Windows,Exchange as well as Active Directory. I hope some of my Blog posts helps someone #LiveLongAndBeLazy #Exchange #Office 365 #ActiveDirectory #Hyper-V
SHARE

LEAVE A REPLY

Please enter your comment!
Please enter your name here