CodeTwo placeholders vs Azure AD attributes vs Microsoft 365 user properties
You cannot find an attribute in Microsoft 365 or Azure Active Directory that corresponds to a placeholder used in the template editor of CodeTwo Email Signatures for Office 365.
There are slight differences between the names of placeholders used in CodeTwo Email Signatures for Office 365 and their counterparts in Azure AD (attribute names) and the Microsoft 365 admin center (user properties). Refer to the table below to find out which placeholder corresponds to which attribute/property.
|CodeTwo Email Signatures for Office 365||Microsoft 365 admin center||Azure AD (AAD admin center)||Azure AD (PowerShell)|
|Country||Country or region||Country or region||CountryOrRegion|
|CustomAttribute1-15||Custom attributes 1-15||n/a||CustomAttribute1-15|
|Display name||Display name||Name||DisplayName|
|Username and email||EmailAddresses|
|First Name||First name||First name||FirstName|
|Home phone||Home phone||n/a||HomePhone|
|Last name||Last name||Last name||LastName|
|Mobile||Mobile phone||Mobile phone||MobilePhone|
|Phone||Office phone||Office phone||Phone|
|Postal code||Zip or postal code||ZIP or postal code||PostalCode|
|State||State or province||State or province||StateOrProvince|
|Street||Street address||Street address||StreetAddress|
|Title||Job title||Job title||Title|
|Web page||Web page||n/a||WebPage|
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 User 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 for Office 365 only. And if your AAD 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 Azure AD database. And if you want to restore the AAD data in your signatures, disclaimers or auto-replies, you can do it as well. Learn more
In order to modify user properties in the Microsoft 365 admin center, perform the following steps:
- Log 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.
- Conduct the necessary modifications and click Save changes.
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 mailbox properties in a new browser tab.
The remaining user attributes can be found in the following locations:
- the general tab: Initials, Display name, Custom attributes 1-15;
- the contact information tab: Home phone, Web Page, Notes;
- the organization tab: Company.
Click Save to apply your changes.
In order to modify user properties in the AAD admin center, perform the following steps:
- Log in to the Azure Active Directory admin center.
- In the navigation menu on the left, click Users (Fig. 4.).
- Now, you will see the list of all users registered in your organization. Select a user to display their properties. The Profile tab will contain all user properties. In order to modify them, click Edit, as shown in Fig. 5.
- Click Save for your changes to take effect.
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 for Office 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-Contact -Identity "UserIdentity" -City "CityValue" -Company "CompanyValue"
- 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.
Note that in case of Custom Attributes 1-15 it is required to use the Set-Mailbox cmdlet. See this article to learn how.