Skip to content

A project by

All articles →
Amazon Web Services

Update SCIM API access token in AWS for provisioning users from Microsoft Azure

Christopher Klein IT Architect

· 2 min read

AWS IAM Identity Center (successor to AWS Single Sign-On) SCIM Access Token Approaching Expiration

When your SCIM access token expires in 90 days or less, you or your AWS administrator will receive the following e-mail:

We're contacting you because you automatically provision users and groups from your corporate identity provider (IdP) to IAM Identity Center, a process which uses the SCIM protocol (System for Cross-domain Identity Management). The SCIM access token used to automatically provision users and groups from your IdP to IAM Identity Center expires in 89 days on xxx xx:xx:xx UTC yyyy.

Action is required before the expiration date to ensure that SCIM automatic provisioning isn’t interrupted. Disruption to this service results in your users and groups no longer being automatically provisioned. This may impose increased security risks and impact access to your services.

What is SCIM?

SCIM stands for System for Cross-domain Identity Management. It is an open standard protocol designed to automate the process of managing user identities and their associated access rights across multiple systems in a heterogeneous IT environment. SCIM is specifically focused on simplifying user provisioning and de-provisioning in cloud-based applications and services. For example, you can provision users and groups from an identity provider like Microsoft Entra ID (formerly Azure Active Directory) to AWS IAM Identity Center. At regular intervals, Microsoft Entra ID uses an API access token to provision new users and groups to IAM Identity Center.

use-scim-to-deploy-from-azure-to-aws.png

This access token from AWS is valid for 1 year. Starting 90 days before expiration, AWS sends reminders via the AWS Health Dashboard and the IAM Identity Center console, such as the mail above.

How to renew the SCIM access token in AWS

In your AWS account, navigate to IAM Identity Center > Settings > Automatic provisioning. Click on the button Access tokens > Generate token and copy the content of the new token (${NEW_ACCESS_TOKEN}).

aws-automatic-provisioning.png

How to replace the SCIM access token in Azure

In Microsoft Entra ID, navigate to Enterprise applications > ${YOUR AWS REGISTRATION} > Provisioning and click Edit provisioning.

azure-edit-provisioning.png

Paste the ${NEW_ACCESS_TOKEN} in the Admin Credentials > Secret Token field and click Test Connection. After successfully testing the connection, click Save.

azure-update-access-token.png

Remove the old token in AWS

In AWS, select the expiring token and click Delete. The IAM Identity Center console reminders persist until the old token is deleted.