# Migrate-roles-newly-added-in-CMS_688996336
## Introduction

This topic describes how to migrate roles newly added in CMS.

We provide an **sh** script to sync newly added CMS roles from IdM to the tenant.

The steps below are per tenant.

## Script file

[AuthConvergence\_migration\_Release.sh](attachments/688996336/688996341.sh)

#### Follow these steps:

1. Upload the script to the control plane node of the suite.
2. Log in to the control plane node as a root user, copy the script to the toolkit pod, and grant the executable permissions to the script and file.
3. Go to the toolkit pod and run the following command in the directory where the script is located:
	```
	sh AuthConvergence_migration_Release.sh -a <account_id>
	```
	Where <account\_id> is the ID of the account for which you want to migrate the roles. For example, `sh AuthConvergence_migration_Release.sh -a 123456789`

**The script will be run if you use the right account\_id.** You can see the following message after the script is successfully executed:

![](attachments/688996336/688996334.png)

It will print the task info at last. If some roles have been migrated, the succeeded part should contain values, as shown below.

![](attachments/688996336/688996335.png)

## Introduction

**Related pages**

- Page:
	[ESM Cloud Farm Version Tracking](/display/ICSD/ESM+Cloud+Farm+Version+Tracking)
- Page:
	[How to get an Opentext Confluence account](/display/ICSD/How+to+get+an+Opentext+Confluence+account)
- Page:
	[ITOM APM AppPluse Cloud Farm Information](/display/ICSD/ITOM+APM+AppPluse+Cloud+Farm+Information)
- Page:
	[ITOM Cloud Service Ops Doc Management Process](/display/ICSD/ITOM+Cloud+Service+Ops+Doc+Management+Process)
- Page:
	[ITOM ESM Cloud Service Catalog](/display/ICSD/ITOM+ESM+Cloud+Service+Catalog)
- Page:
	[ITOM OpsB NOM Cloud Service Catalog](/display/ICSD/ITOM+OpsB+NOM+Cloud+Service+Catalog)
- Page:
	[OpsB and NOM Cloud Deployments Version Tracking](/display/ICSD/OpsB+and+NOM+Cloud+Deployments+Version+Tracking)

## Attachments:

[image-2025-2-8\_15-6-3.png](attachments/688996336/688996334.png) (image/png)  
[image-2025-2-8\_15-6-14.png](attachments/688996336/688996335.png) (image/png)  
[AuthConvergence\_migration\_Release.sh](attachments/688996336/688996341.sh) (application/x-sh)  
[AuthConvergence\_migration.sh](attachments/688996336/688996344.sh) (application/x-sh)
