cancelSchemaExtension

Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled during any of the following states; Initializing, CreatingSnapshot, and UpdatingSchema.

Samples

// The following example cancels an in progress schema extension to a Microsoft AD directory.
val resp = directoryClient.cancelSchemaExtension {
    directoryId = "d-92654abfed"
    schemaExtensionId = "e-926731d2a0"
}