Skip to content

Canno find my SSO admin instance

0

I have created my root account for my organization and have enabled both the organization and the SSO (in the IAM Identiy center console). The problem is that I cannot find my the SSO instance. The command

aws sso-admin list-instances

returns an empty list even from the root user cloudshell. So I cannot proceed. Any idea?

3 Answers
1
Accepted Answer

For some reason I have not been able to understand, my SSO instance was not existing in any opted-in region. Infact, that information box we can see in Riku_Kobayashi's answer was not present in any region. I have been able to fix that by manually removing the organization created by enabling the SSO for organizations and then re-enabling it again in a specific region. I used this simple command from my CloudShell session:

aws organizations delete-organization

Thanks everyone for the great support.

answered 2 years ago

EXPERT

reviewed 2 years ago

0

Hello.

Since IAM Identity Center is a regional resource, try running the command while specifying the region where IAM Identity Center is enabled.

aws sso-admin list-instances --region ap-northeast-1
EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • My AWS account uses the Tokyo region, so you can check it as follows.

    aws sso-admin list-instances --region ap-northeast-1
    {
        "Instances": [
            {
                "CreatedDate": "2022-04-16T12:59:49.118000+00:00",
                "IdentityStoreId": "d-yyyyyyyy",
                "InstanceArn": "arn:aws:sso:::instance/ssoins-yyyyyyyy",
                "OwnerAccountId": "11111111111",
                "Status": "ACTIVE"
            }
        ]
    }
    

    If you run the command in a region different from the region where IAM Identity Center is enabled, an empty list will be returned as shown below.

    aws sso-admin list-instances --region us-east-1
    {
        "Instances": []
    }
    
  • You can check in which region it is currently enabled by accessing the IAM Identity Center console. a
    If you want to enable it in another region, you need to disable it once. You can disable or enable it as many times as you like. https://docs.aws.amazon.com/singlesignon/latest/userguide/delete-config.html

0

How do I know in which region IAM Identity Center has been enabled? May I re-enable in a different one and disable it wherever it it?

answered 2 years 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.