Exchange 2010 SP1 giving “ACCESSDENIED” on trying to access AD

When attempting to use the Test-SystemHealth it returns the following error:

WARNING: Active Directory server DC1.Example.local is down or unreachable. This error could also be the result of a network or permissions problem. Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

This can be avoided by using the following script directly into the Exchange PowerShell

$c=get-credential EXAMPLE\Fubar
Test-Systemhealth -adcredentials $c -Verbose |fl

Leave a Reply

Your email address will not be published. Required fields are marked *