Moving an Identity Domain Between Compartments

Move identity domains between compartments in IAM.

You can move any identity domain between compartments within the same tenancy, except the Default identity domain. The Default identity domain can't be moved from the root compartment of the tenancy.

When you move a domain, all its resources are moved with it. For information about moving resources, see Moving a Resource Between Compartments.

    1. Open the navigation menu and click Identity & Security. Under Identity, click Domains.
    2. Click the name of the identity domain that you want to move. You might need to change the compartment to find the domain that you want.
    3. Click Move resource.
    4. Select a new compartment and then click Move resource.
  • Use the oci iam domain change-compartment command and required parameters to move an identity domain between compartments within the same tenancy:

    oci iam domain change-compartment --compartment-id compartment_ocid --domain-id domain_ocid [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ChangeDomainCompartment operation to move an identity domain between compartments within the same tenancy.