# Active Directory: Set User Property

**URL:** https://community.automationedge.com/t/active-directory-set-user-property/3665
**Category:** Get Help & Discuss
**Tags:** generic, rpa
**Created:** [June 15, 2021, 4:24am UTC](https://community.automationedge.com/t/active-directory-set-user-property/3665 "2021-06-15T04:24:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sagar.bhandare](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@sagar.bhandare](https://community.automationedge.com/u/sagar.bhandare)
#### Post date: [June 15, 2021, 4:24am UTC](https://community.automationedge.com/t/active-directory-set-user-property/3665/1 "2021-06-15T04:24:30Z")

</div>

Hi!  
I am trying to execute the AD: Set User Property step. For the Property name – Country, I am getting an error on the corresponding Property Value - Country Name.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/1X/c18d713baabb7bc8fc8365019b7a86d9cfa7f491.png)

Please suggest corrective action.

---

<div class="post-metadata">

### Author: ![Miguel\_Lopez](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Miguel\_Lopez](https://community.automationedge.com/u/Miguel_Lopez)
#### Post date: [June 15, 2021, 4:29am UTC](https://community.automationedge.com/t/active-directory-set-user-property/3665/2 "2021-06-15T04:29:20Z")

</div>

Hi!  
You need to provide the Country code in the Property Value. Refer to the following URL for respective country codes, [Country Codes used in Active Directory&nbsp;Country Codes ISO 3166](https://dovestones.com/country-codes-used-in-active-directory/)
