Exchange 2013 MP doesn't discover Exchange edge servers

SCOM cannot discover exchange 2013 edge servers with the following error 

MicrosoftExchangeDiscovery.ps1 : (198):   $res= $ds.FindOne()  

 System.Runtime.InteropServices.COMException (0x8007054B): The specified domain either does not exist or could not be contacted.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at System.DirectoryServices.DirectorySearcher.get_SearchRoot()
   at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
   at System.DirectoryServices.DirectorySearcher.FindOne()

November 26th, 2014 12:57pm

Wondering if you need a run as account in order to do this.  Have you taken a look at the updated mp guide?
Free Windows Admin Tool Kit Click here and download it now
November 26th, 2014 8:02pm

Yes, I have configured the run as account and it worked great with all exchange servers except edge servers as they are in a workgroup .
November 26th, 2014 10:20pm

Ok so the workgroup is the problem.  I have seen discussions around this on these forums, look for run as account + workgroup.  Might be a work around.
Free Windows Admin Tool Kit Click here and download it now
November 26th, 2014 10:33pm

Hi,

Here is a similar thread for Echange 2010 MP adge monitoring, the resolution is to add a registry path, it should work for Exchange 2013 MP, please refer to it:

Exchange 2010 Edge Transport - Not being detected by SCOM agent?

https://social.technet.microsoft.com/Forums/systemcenter/en-US/55728dc9-85ee-476d-8103-37dbb91aefce/exchange-2010-edge-transport-not-being-detected-by-scom-agent?forum=operationsmanagermgmtpacks

Remeber to backup the registry before changing it.

Regards,

Yan Li

November 28th, 2014 9:33am

I found this before and it didn't work with me 
Free Windows Admin Tool Kit Click here and download it now
November 28th, 2014 2:13pm

anyone try this MP and worked with him.
November 30th, 2014 1:16pm

Hi,

Please expand the registry for the edge server, expand the below path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\ServerRole
Under that there will be the "ConfiguredVersion" subkey which tells the exact version.

If there is no such subkey, please create it, and set the value according to your Exchange version, you may refer to the below link to find the correct version for your Exchange server:

http://technet.microsoft.com/en-us/library/hh135098(v=exchg.150).aspx

Regards,

Yan Li

Free Windows Admin Tool Kit Click here and download it now
December 1st, 2014 5:19am

Hi,

I have the same problem.  I use the last Exchange 2013 MP version.  My edge are in a DMZ/Workgroup.

The SCOM agent is deployed and working fine. But the server "Exchange Edge" are not discovered in SCOM.  I have try the tweak to add the registry key HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\SteName and DynamicSiteName whtout success.

The MP Run As Account work fine for my Workgroup machine.  But the script detection always return:

MicrosoftExchangeDiscovery.ps1 : (198):   $res= $ds.FindOne()  

 System.Runtime.InteropServices.COMException (0x8007054B): The specified domain either does not exist or could not be contacted.

Thanks,

Steve

December 1st, 2014 8:08pm

Hi,

Make sure you enter the correct registry name, not SteName, should be sitename.

In addition, please open another new thread in this forum for your issue.

Regards,

Yan Li

Free Windows Admin Tool Kit Click here and download it now
December 5th, 2014 10:53am

Any updates regarding this issues. it still not working.
January 15th, 2015 2:44pm

did it work with you or not ?
Free Windows Admin Tool Kit Click here and download it now
January 28th, 2015 2:15pm

anyone found the solution as i having the same problem to discover the edge transport servers

January 30th, 2015 12:45pm

I have the same problem as well. Tried all the fixes that were done to discover Exchange 2010 Edge servers. Cant discover the 2013 Edge Server.

See the script start;

MicrosoftExchangeDiscovery.ps1 : Exchange Server Discovery Script
    Message: Discovery Script started.
    Arguments:  '0' '{3E7D658E-FA5E-924E-334E-97C84E068C4A}' '{26027EF2-6F9B-528B-706D-49808087F917}' 'mx2.exchange.****.***.**' 'mx2' 'PER' '' '' 'C:\Program Files\Microsoft\Exchange Server\V15\' '0' 'true'

Then see it error;

MicrosoftExchangeDiscovery.ps1 : (198):   $res= $ds.FindOne()  

 System.Runtime.InteropServices.COMException (0x8007054B): The specified domain either does not exist or could not be contacted.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at System.DirectoryServices.DirectorySearcher.get_SearchRoot()
   at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
   at System.DirectoryServices.DirectorySearcher.FindOne()
   at CallSite.Target(Closure , CallSite , Object )

  • Edited by Rogersau 10 hours 38 minutes ago
Free Windows Admin Tool Kit Click here and download it now
February 16th, 2015 8:00pm

I have the same problem as well. Tried all the fixes that were done to discover Exchange 2010 Edge servers. Cant discover the 2013 Edge Server.

See the script start;

MicrosoftExchangeDiscovery.ps1 : Exchange Server Discovery Script
    Message: Discovery Script started.
    Arguments:  '0' '{3E7D658E-FA5E-924E-334E-97C84E068C4A}' '{26027EF2-6F9B-528B-706D-49808087F917}' 'mx2.exchange.****.***.**' 'mx2' 'PER' '' '' 'C:\Program Files\Microsoft\Exchange Server\V15\' '0' 'true'

Then see it error;

MicrosoftExchangeDiscovery.ps1 : (198):   $res= $ds.FindOne()  

 System.Runtime.InteropServices.COMException (0x8007054B): The specified domain either does not exist or could not be contacted.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at System.DirectoryServices.DirectorySearcher.get_SearchRoot()
   at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
   at System.DirectoryServices.DirectorySearcher.FindOne()
   at CallSite.Target(Closure , CallSite , Object )

  • Edited by Rogersau Tuesday, February 17, 2015 12:54 AM
February 17th, 2015 3:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics