CodeTwo placeholders vs Entra ID (Azure AD) attributes vs Microsoft 365 user properties
Problem:
You cannot find an attribute in Microsoft 365 or Microsoft Entra ID (Azure Active Directory) that corresponds to a placeholder used in the template editor of CodeTwo Email Signatures 365.
Solution:
While placeholders have different names across Microsoft's ecosystems, we needed to adopt a unified naming policy in our software. In the table below, you can check the names of placeholders used in CodeTwo Email Signatures 365 as well as their counterparts in Entra ID (attribute names) and the Microsoft 365 admin center (user properties).
| CodeTwo Email Signatures 365 | Microsoft 365 admin center | Entra ID (Microsoft Entra admin center) | Exchange Online PowerShell | Microsoft Graph |
|---|---|---|---|---|
| City | City | City | City | city |
| Company | n/a | Company name | Company | companyName |
| Country | Country or region | Country or region | CountryOrRegion | country |
| CustomAttribute1-15 | n/a | n/a | CustomAttribute1-15 | n/a |
| Department | Department | Department | Department | department |
| Display name | Display name | Display name | DisplayName | displayName |
| Username and email | EmailAddresses | |||
| Fax | Fax number | Fax number | Fax | faxNumber |
| First Name | First name | First name | FirstName | givenName |
| Home phone | n/a | n/a | HomePhone | n/a |
| Initials | n/a | n/a | Initials | n/a |
| Last name | Last name | Last name | LastName | surname |
| Mobile | Mobile phone | Mobile phone | MobilePhone | mobilePhone |
| Notes | n/a | n/a | Notes | n/a |
| Office | Office | Office location | Office | officeLocation |
| P.O. Box | n/a | n/a | PostOfficeBox | n/a |
| Pager | n/a | n/a | Pager | n/a |
| Phone | Office phone | Business phone | Phone | businessPhones |
| Photo | Photo | Photo | UserPhoto | Photo |
| Postal code | Zip or postal code | ZIP or postal code | PostalCode | postalCode |
| State | State or province | State or province | StateOrProvince | state |
| Street | Street address | Street address | StreetAddress | streetAddress |
| Title | Job title | Job title | Title | jobTitle |
| Web page | n/a | n/a | WebPage | n/a |
Below are the steps required to access and modify user attributes/properties respectively via:
Easier attribute management
You can also manage your users’ contact data used in email signatures in an easier way. Our Attributes manager available at attributes.codetwo.com lets you quickly edit or bulk edit user details without the hassle of clicking through different admin centers, which can be time-consuming. The manager also allows you to create custom attributes that will be available to you in CodeTwo Email Signatures 365 only. And if your Entra ID (Azure AD) data is outdated, you can allow users to update their contact details.
What’s important, all the changes do not affect the original data in your Entra ID database. And if you want to restore the Entra ID data in your signatures, disclaimers or auto-replies, you can do it as well. Learn more
Microsoft 365 admin center
In order to modify user properties in the Microsoft 365 admin center, perform the following steps:
- Sign in to the Microsoft 365 admin center.
- In the navigation menu on the left, click Users > Active users.
- From the displayed list, select a user, for whom you want to modify their properties. This will bring up a new pane on the right-hand side of the browser window.
- On the Account tab, click Manage contact information under Contact information, as shown in Fig. 1.
![]()
Fig. 1. Accessing the user's contact information in the Microsoft 365 admin center.
- Conduct the necessary modifications and click Save changes.
Additional attributes
Some user attributes cannot be found under Manage contact information. To modify these attributes, navigate to the Mail tab and select Edit Exchange properties, as displayed in Fig. 2. This will open the user's mailbox properties in the Exchange admin center on a new browser tab (Fig. 3.).
![]()
Fig. 2. Accessing the user's mailbox properties.
The remaining user attributes can be found in the following locations:
- the General tab > Manage contact information: Alias, Home phone, Notes;
- the Organization tab: Company, Manager, Direct reports;
- the Others tab > Custom attributes: Custom attributes 1-15.
![]()
Fig. 3. Locating the remaining user attributes in the Exchange admin center.
Click Save to apply your changes on each tab.
Microsoft Entra admin center
In order to modify user properties in the Microsoft Entra admin center, perform the following steps:
- Sign in to the Microsoft Entra admin center.
- In the navigation menu on the left, go to Entra ID > Users (Fig. 4.).
![]()
Fig. 4. Accessing the Users list in the Microsoft Entra admin center.
- Now, you will see the list of all users registered in your organization. Select a user and click the Properties tab on the Overview settings page to display all the user's properties. In order to modify them, click Edit properties, as shown in Fig. 5.
![]()
Fig. 5. Editing the user's profile details.
- Click Save for your changes to take effect.
PowerShell
PowerShell is the only method that allows you to set the values of all user attributes corresponding to placeholders used in the template editor of CodeTwo Email Signatures 365. Follow the steps below to modify the attributes via PowerShell:
- Connect to your Microsoft 365 using PowerShell. See this article to learn how to do that.
- Run appropriate commands to modify required attributes, for example:
Set-User -Identity "UserIdentity" -City "CityValue" -Company "CompanyValue"
where:
- UserIdentity – specifies the user whose attribute(s) you want to set/change. You can use any value that uniquely identifies the user;
- -City or -Company – user attributes to be modified. The complete list can be found in the table provided at the beginning of this article;
- CityValue/CompanyValue – here, type the value that you want to set for the selected attribute.
Learn more about the Set-User cmdlet
Note that in the case of Custom Attributes 1-15, it is required to use the Set-Mailbox cmdlet. See this article to learn how.
| Related products: | CodeTwo Email Signatures for Office 365 |
| Categories: | FAQ |
| Last modified: | December 19, 2025 |
| Created: | March 4, 2022 |
| ID: | 980 |



