Skip to content

Import fails when an included OU has been removed from AD #26

Description

@kcrosby

When an included OU has been removed from AD (or moved), Get-OrganizationalUnitHierarchy fails when calling FindAll. Need to either test for existence first, or handle the exception. Should probably just ignore it. As a workaround, the Inclusion OU list is updated and the offending OU removed when re-visiting the "containers" selection screen on the MA.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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