IAM Identity Center - Already registered another region

0

Hi - I started setting up IIC with a group and user. I navigated away from the IIC dashboard for other tasks. When I go back to IIC it takes me to the default login page with the "Enable" button. When I click the button, it says I've already set up IIC for another region. So I don't think I've changed my region, however I go through all the other regions I have access to and it gives me the same answer. So now I can't access my IIC dashboard to do any management. Is there a way to reset or otherwise access IIC?

2 Answers
2
Accepted Answer

Try running this in CloudShell to find all IAM Identity Center instances in enabled regions:

for region in `aws ec2 describe-regions --query 'Regions[].{Name:RegionName}' --output text`
do
     echo -e "\n* ${region}"
     aws sso-admin list-instances --region ${region}
done
EXPERT
answered 6 months ago
profile picture
EXPERT
reviewed 4 months ago
EXPERT
reviewed 6 months ago
  • I'm having the same issue, and I have run this script and confirmed that I'm using this region (us-west2) only and I'm on this region. Is there anyway to solve this?

  • Thank you, this worked. Then used aws sso-admin delete-instance to remove the instance and start again

1

Have you tried listing all of the IIC instances? https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_ListInstances.html

aws sso-admin list-instances

You can also check more commands related to IIC on how to create or list the ones that already exist: https://docs.aws.amazon.com/cli/latest/reference/sso-admin/

profile picture
answered 6 months ago
profile picture
EXPERT
reviewed 6 months ago

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