CodeTwo placeholders vs Azure AD attributes vs Microsoft 365 user properties
Problem:
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.
Solution:
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) |
---|---|---|---|
City | City | City | City |
Company | Company | Company name | Company |
Country | Country or region | Country or region | CountryOrRegion |
CustomAttribute1-15 | Custom attributes 1-15 | n/a | CustomAttribute1-15 |
Department | Department | Department | Department |
Display name | Display name | Name | DisplayName |
Username and email | EmailAddresses | ||
Fax | Fax number | n/a | Fax |
First Name | First name | First name | FirstName |
Home phone | Home phone | n/a | HomePhone |
Initials | Initials | n/a | Initials |
Last name | Last name | Last name | LastName |
Mobile | Mobile phone | Mobile phone | MobilePhone |
Notes | Notes | n/a | Notes |
Office | Office | Office | Office |
P.O. Box | n/a | n/a | PostOfficeBox |
Pager | n/a | n/a | Pager |
Phone | Office phone | Office phone | Phone |
Photo | Photo | Photo | UserPhoto |
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
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 mailbox properties in a new browser tab.
Fig. 2. Accessing the user's mailbox properties.
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.
Fig. 3. Locating the remaining user attributes within user mailbox properties.
Click Save to apply your changes.
Azure Active Directory admin center
In order to modify user properties in the AAD admin center, perform the following steps:
- Sign in to the Azure Active Directory admin center.
- In the navigation menu on the left, click Users (Fig. 4.).
Fig. 4. Accessing the Users list in the Azure Active Directory admin center.
- 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.
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 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"
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-Contact cmdlet
Note that in 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 1.x |
Categories: | FAQ |
Last modified: | November 28, 2022 |
Created: | March 4, 2022 |
ID: | 980 |