Skip to content

[Feature Request] Improved error message reporting #5

@MichaelGrafnetter

Description

@MichaelGrafnetter

Hey @jformacek, I wonder if you could please expand SidCloner.formats.ps1xml to also show Win32Exception.Message in the last column in case of an error. I have seen customers struggle with meeting the requirements, and not seeing the actual error messages, .e.g., "The operation requires that destination domain auditing be enabled".

Unfortunately, I only noticed that the CloneResult return value actually had the ErrorDetail property after implementing my own wrapper of the IDL_DRSAddSidHistory RPC call. But at least I discovered this call could do intra-domain SID cloning as well, not just cross-forest, if the DS_ADDSID_FLAG_PRIVATE_DEL_SRC_OBJ flag is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions