/ /

Country code-to-name conversion in SCIM user provisioning

Updated last month

Overview

When a connected identity provider sends a country code through SCIM, Simpplr uses the code to populate the user’s Country profile field with the corresponding country name. This improves consistency in user profiles while allowing identity providers to continue sending standardized country codes.

SCIM value

Displayed value

BE

Belgium

US

United States

GB

United Kingdom

Example: If the identity provider sends IN in the SCIM address country attribute, Simpplr displays India in the user profile.

Supported country codes

The following ISO 3166-1 alpha-2 country codes are converted to country names.

Code

Country

Code

Country

AF

Afghanistan

AL

Albania

DZ

Algeria

AD

Andorra

AO

Angola

AG

Antigua and Barbuda

AR

Argentina

AM

Armenia

AU

Australia

AT

Austria

AZ

Azerbaijan

BS

Bahamas

BH

Bahrain

BD

Bangladesh

BB

Barbados

BY

Belarus

BE

Belgium

BZ

Belize

BJ

Benin

BT

Bhutan

BO

Bolivia

BA

Bosnia and Herzegovina

BW

Botswana

BR

Brazil

BN

Brunei

BG

Bulgaria

BF

Burkina Faso

BI

Burundi

CV

Cabo Verde

KH

Cambodia

CM

Cameroon

CA

Canada

CF

Central African Republic

TD

Chad

CL

Chile

CN

China

CO

Colombia

KM

Comoros

CG

Congo

CD

Democratic Republic of the Congo

CR

Costa Rica

CI

Côte d’Ivoire

HR

Croatia

CU

Cuba

CY

Cyprus

CZ

Czechia

DK

Denmark

DJ

Djibouti

DM

Dominica

DO

Dominican Republic

EC

Ecuador

EG

Egypt

SV

El Salvador

GQ

Equatorial Guinea

ER

Eritrea

EE

Estonia

SZ

Eswatini

ET

Ethiopia

FJ

Fiji

FI

Finland

FR

France

GA

Gabon

GM

Gambia

GE

Georgia

DE

Germany

GH

Ghana

GR

Greece

GD

Grenada

GT

Guatemala

GN

Guinea

GW

Guinea-Bissau

GY

Guyana

HT

Haiti

HN

Honduras

HU

Hungary

IS

Iceland

IN

India

ID

Indonesia

IR

Iran

IQ

Iraq

IE

Ireland

IL

Israel

IT

Italy

JM

Jamaica

JP

Japan

JO

Jordan

KZ

Kazakhstan

KE

Kenya

KI

Kiribati

KP

North Korea

KR

South Korea

KW

Kuwait

KG

Kyrgyzstan

LA

Laos

LV

Latvia

LB

Lebanon

LS

Lesotho

LR

Liberia

LY

Libya

LI

Liechtenstein

LT

Lithuania

LU

Luxembourg

MG

Madagascar

MW

Malawi

MY

Malaysia

MV

Maldives

ML

Mali

MT

Malta

MH

Marshall Islands

MR

Mauritania

MU

Mauritius

MX

Mexico

FM

Micronesia

MD

Moldova

MC

Monaco

MN

Mongolia

ME

Montenegro

MA

Morocco

MZ

Mozambique

MM

Myanmar

NA

Namibia

NR

Nauru

NP

Nepal

NL

Netherlands

NZ

New Zealand

NI

Nicaragua

NE

Niger

NG

Nigeria

MK

North Macedonia

NO

Norway

OM

Oman

PK

Pakistan

PW

Palau

PA

Panama

PG

Papua New Guinea

PY

Paraguay

PE

Peru

PH

Philippines

PL

Poland

PT

Portugal

QA

Qatar

RO

Romania

RU

Russia

RW

Rwanda

KN

Saint Kitts and Nevis

LC

Saint Lucia

VC

Saint Vincent and the Grenadines

WS

Samoa

SM

San Marino

ST

Sao Tome and Principe

SA

Saudi Arabia

SN

Senegal

RS

Serbia

SC

Seychelles

SL

Sierra Leone

SG

Singapore

SK

Slovakia

SI

Slovenia

SB

Solomon Islands

SO

Somalia

ZA

South Africa

SS

South Sudan

ES

Spain

LK

Sri Lanka

SD

Sudan

SR

Suriname

SE

Sweden

CH

Switzerland

SY

Syria

TJ

Tajikistan

TZ

Tanzania

TH

Thailand

TL

Timor-Leste

TG

Togo

TO

Tonga

TT

Trinidad and Tobago

TN

Tunisia

TR

Türkiye

TM

Turkmenistan

TV

Tuvalu

UG

Uganda

UA

Ukraine

AE

United Arab Emirates

GB

United Kingdom

US

United States

UY

Uruguay

UZ

Uzbekistan

VU

Vanuatu

VA

Vatican City

VE

Venezuela

VN

Vietnam

YE

Yemen

ZM

Zambia

ZW

Zimbabwe

SCIM mapping

Configure the identity provider to send the country value in the work address country attribute:

{
  "addresses": [
    {
      "type": "work",
      "primary": true,
      "country": "${parameters.Country}"
    }
  ]
}

The value sent in country should be a supported two-letter code, such as IN, rather than an arbitrary country name.

Important: Country values should be validated in the identity provider before provisioning. Unsupported, malformed, or non-standard values may not be converted.

Troubleshooting

  • Country code is displayed unchanged: Confirm that the value is a supported two-letter code and is formatted consistently.

  • Country is blank: Verify that the SCIM payload contains the work address country field and that the mapped source attribute has a value.

  • Unexpected country name: Check the source identity-provider mapping and confirm that the code was not transformed before provisioning.

Was this article helpful?
Subscribe to receive updates on this article