microsoft / microsoft/CSS-Exchange

Health Checker/SetupAssist - GPO Check Blocked PowerShell

Open
#1,342 0 comments 0 reactions 1 assignee View on GitHub

@dpaulson45 is already working on this.

Since Dec 6, 2024.

HC - Add Data Collection Health Checker New Feature/Check P2 Setup Assist Work - Medium Change
Dominant language
PowerShell
Stars
1.3k
Forks
395
Avg merge
14h 7m
Merged PRs (30d)
5

Description

Is your request related to a problem? Please describe.
Recently had a customer provide the issue #1338, while we fixed the issue to allow Health Checker to complete and run. They still ended up having issues with running an LDAP query against AD even though they had permissions to do so. Also wasn't able to reproduce the issue in a lab initially. Turns out this was caused by a GPO that was blocking PowerShell on the server.

Describe The Request
Need to have Health Checker and SetupAssist check for this setting in GPO/Registry.

image

Additional context
This sends up causing issues with PowerShell trying to do LDAP Search that causes this exception: Exception calling "FindOne" with "0" argument(s): "Unknown error (0x80005000)". I am also assuming other issues can occur.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.