Skip to content

Fix: EXO object matches multiple entries #1568

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

Merged

Conversation

ngms-psh
Copy link
Contributor

Fix issue in rare cases where Exchange identity matches multiple entries for DisableBasicAuthSMTP and DisableExoPowershell standards.

This causes the command to fail with EXO returning the following error:
Error: Ex9E65A2|Microsoft.Exchange.Configuration.Tasks.ManagementObjectAmbiguousException|The operation couldn't be performed because object: '****' matches multiple entries.

Changed the request parameter identity to use the Guid property, which is always unique and accepted as a valid identity by Exchange Online.

@KelvinTegelaar KelvinTegelaar merged commit 186ec9f into KelvinTegelaar:dev Jul 31, 2025
@KelvinTegelaar
Copy link
Owner

Nice find! great job again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants