How I can Remove Member Organization with error code ConstraintViolationException (The member account must be configured with a valid payment method, such as a credit card.)?

0

Enter image description here

I randomly entered an account email address that wasn't mine for testing purposes, and the prompt required me to enter the account configuration before it could be removed.

Sean
asked 8 months ago1889 views
2 Answers
1
Accepted Answer

If you do not have access to email account, you can try the option of closing account via AWS organisation and then removing it. I have tested this by creating and closing the account via AWS Organisation. You will have to wait for post closure period to end and account should be removed ((please see note section at the end)

Go to AWS Organisation of management account. Click on the account link you want and then on the right side you will see the close option. Clicking on the Close button will close your account.

Close account

Note: When you close a member account, that account isn't removed from the organization until after the post-closure period. During the post-closure period, a closed member account still counts toward your quota of accounts in the organization.

https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html

Though I used valid email to add account in the organisation, but I did not access the email at all. So I am assuming, you should be able to close account (and finally remove it after post closure period).

Also to note, you will still get the same error, if you try to remove the account manually after closing it during the post closure period which is 90 days. Closed accounts are visible in your organization with the SUSPENDED state until 90 days and after that they are no longer visible in your organization.

Please let me know if this worked for you, in case you chose to try this option.

AWS
answered 8 months ago
  • Thank you for your answer! I very much agree with the process you mentioned, I ignored the option of Close before. I just tried this process, the AWS system says that the account can be completely deleted after 90 days.

0

If AWS Organizations fails to remove one or more of the accounts, it's typically because you have not provided all the required information for the account to operate as a standalone account. You will need to sign in to that account to complete the process first.

Please follow the steps from this link to be able to remove the account: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove-member-account.html

Please mark the answer as accepted if this helps.

AWS
answered 8 months ago
  • Thank you for your response, but this process doesn't seem to be very suitable for me, because it is an email that I entered randomly, and I don't have permission to enter and adjust it. Thanks again for your help.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions