microsoft / CSS-Exchange

Exchange Server support tools and scripts
MIT License
1.21k stars 332 forks source link

Setup Log Reviewer to catch Service Stopped or AD Top Issues #2050

Closed dpaulson45 closed 3 months ago

dpaulson45 commented 3 months ago

Issue: Been seeing a lot of issues around Set Shared DC for setup issues. This can be caused by few different things. The most common one appears to be the service not starting the second+ attempt of the install due to setup stopping and disabling it. Hence you need to keep starting it throughout setup. It is also possible that there is another underlying issue like missing SACL rights or something like that where we can't find a suitable domain controller. At this point, you need to review the inner exception and the application logs to make sure the service is starting correctly and will properly function prior to trying to continue.

Fix: Added new test regarding this.

Validation: Verified with data/added pester test