Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Work Item] SetupAssist additional logic to find Schema issues #2270

Open
johage opened this issue Jan 16, 2025 · 0 comments
Open

[Work Item] SetupAssist additional logic to find Schema issues #2270

johage opened this issue Jan 16, 2025 · 0 comments
Assignees
Labels
Enhancement New feature or request Setup Assist This item is for local server settings and environment checks that cause issues for setup Setup Log Reviewer This item needs to be addressed within the log reviewer of Setup Setup Setup tools issue Work Item Work Item for project work

Comments

@johage
Copy link
Contributor

johage commented Jan 16, 2025

Describe the work
When running PrepareSchema we can check the ExchangeSetupLogs to confirm the failure and then reference LDIF.ERR and LDIF.LOG in the user path. (C:\users\NAME\AppData\Local\Temp). Example of the error for one such scenario:
Add error on entry starting on line 355: Unwilling To Perform
The server side error is: 0x20bb Schema update failed: duplicate OID.
The extended server error is:
000020BB: SvcErr: DSID-0326036D, problem 5003 (WILL_NOT_PERFORM), data 8379

Additional Context
In the ExchangeSetupLogs we'll point to the LDF files that'll be present in the mounted ISO path under Setup\Data\ like so:
"C:\Windows\Temp\ExchangeSetup\Setup\Data\PostWindows2003_schema0.ldf"

We'll then also call out the User path like so:
[ERROR] There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\PostWindows2003_schema0.ldf'. The error code is: 8245. More details can be found in the error file:

We have static AttributeIDs that are referenced as the OID in the logging. These can be captured by Get-ADObject where we'd then be able to match up against AttributeID with something like this:
Get-ADObject -Filter 'Name -like "*"' -SearchBase "CN=Schema,CN=Configuration,DC=DOMAIN,DC=com" -Properties AtrributeID

@johage johage added the Work Item Work Item for project work label Jan 16, 2025
@dpaulson45 dpaulson45 self-assigned this Jan 16, 2025
@dpaulson45 dpaulson45 added Enhancement New feature or request Setup Setup tools issue Setup Log Reviewer This item needs to be addressed within the log reviewer of Setup Setup Assist This item is for local server settings and environment checks that cause issues for setup labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Setup Assist This item is for local server settings and environment checks that cause issues for setup Setup Log Reviewer This item needs to be addressed within the log reviewer of Setup Setup Setup tools issue Work Item Work Item for project work
Projects
None yet
Development

No branches or pull requests

2 participants