What does Windows error code 8582 (ERROR_DS_MODIFYDN_WRONG_GRANDPARENT) mean?

 
Previous Next
ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG ERROR_DS_NAME_ERROR_TRUST_REFERRAL

ERROR_DS_MODIFYDN_WRONG_GRANDPARENT

This object is not allowed to change its grandparent container. Moves are not forbidden on this object, but are restricted to sibling containers.

ERROR_DS_MODIFYDN_WRONG_GRANDPARENT is a domain-specific Windows result.

Likely impact: The object remains unchanged; repeated requests to the same forbidden hierarchy will not become valid through backoff.

Typical causes

  • the object may move only among siblings.
  • the destination is in a different protected subtree.
  • the script computes the wrong parent DN.
  • domain or application partition boundaries are crossed.

Troubleshooting steps

  1. Verify that the destination remains within the set of sibling containers allowed for this object.
  2. Collect source DN and destination DN and source and destination grandparents.

Useful evidence

  • Collect LDAP ModifyDN request controls.
  • Collect directory schema and product ownership.

Recovery and retry

Choose an allowed sibling destination or use a product-specific migration procedure that can recreate the object in the new hierarchy.

Related errors

ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG blocks the move entirely; this value permits movement only without changing the grandparent

Example

An automation job moves a protected object two levels upward. Recalculating the destination under the original grandparent allows the supported sibling move.

References


Looking for a different code? Search another status or error code.