Access IAM Identity Center details from member account with CLI | An error occurred (ResourceNotFoundException) when calling the DescribeGroup operation: IdentityStore not present for IdentityStoreId

0

I am trying to execute

aws identitystore describe-group
--identity-store-id d-xxxxxx
--group-id 51db35d0-40xx-70xx-10ae-xxxxxxx

from the member account of an AWS organisation which has IAM identity center setup. But it fails with the error of resource not found. An error occurred (ResourceNotFoundException) when calling the DescribeGroup operation: IdentityStore not present for IdentityStoreId: d-xxxxxx

Althought the CLI reference document shows this note - Enter image description here

Kim
preguntada hace un mes263 visualizaciones
1 Respuesta
0

Hi There

You would need to run that command in the Management Account where Identity Center is provisioned. Looks like you are trying to describe it from a member account. You will need to either run the command from the management account, or assume a role in the management account. See https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html#cli-configure-role-xaccount

profile pictureAWS
EXPERTO
Matt-B
respondido hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas