- Newest
- Most votes
- Most comments
Hello.
This exception error occurs when you try to move an AWS Organizations management account to another AWS Organizations.
As described in the following document, to move the AWS Organizations administrative account to another AWS Organization, you must first disband the AWS Organization.
Therefore, after moving all member accounts in the existing AWS Organizations to the new AWS Organizations, try disabling AWS Organizations and then moving the AWS account that was originally used as the management account.
https://docs.aws.amazon.com/organizations/latest/APIReference/API_LeaveOrganization.html#:~:text=MasterCannotLeaveOrganizationException
You can't remove a management account from an organization. If you want the management account to become a member account in another organization, you must first delete the current organization of the management account.
You can delete AWS Organizations by following the steps in the following document.
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_delete.html
