Knowledge Base

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:

There are slight differences between the names of placeholders used in CodeTwo Email Signatures 365 and their counterparts in Entra ID (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 365Microsoft 365 admin centerEntra ID (Microsoft Entra admin center)Entra ID (PowerShell)
CityCityCityCity
Companyn/aCompany nameCompany
CountryCountry or regionCountry or regionCountryOrRegion
CustomAttribute1-15n/an/aCustomAttribute1-15
DepartmentDepartmentDepartmentDepartment
Display nameDisplay nameDisplay nameDisplayName
E-mailUsername and emailEmailEmailAddresses
FaxFax numberFax numberFax
First NameFirst nameFirst nameFirstName
Home phonen/an/aHomePhone
Initialsn/an/aInitials
Last nameLast nameLast nameLastName
MobileMobile phoneMobile phoneMobilePhone
Notesn/an/aNotes
OfficeOfficeOffice locationOffice
P.O. Boxn/an/aPostOfficeBox
Pagern/an/aPager
PhoneOffice phoneBusiness phonePhone
PhotoPhotoPhotoUserPhoto
Postal codeZip or postal codeZIP or postal codePostalCode
StateState or provinceState or provinceStateOrProvince
StreetStreet addressStreet addressStreetAddress
TitleJob titleJob titleTitle
Web pagen/an/aWebPage

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:

  1. Sign in to the Microsoft 365 admin center.
  2. In the navigation menu on the left, click Users > Active users.
  3. 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.
  4. On the Account tab, click Manage contact information under Contact information, as shown in Fig. 1.

Accessing the user's contact information
Fig. 1. Accessing the user's contact information in the Microsoft 365 admin center.

  1. 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.).

Accessing the user's mailbox properties
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.

Locating the remaining user attributes in the Exchange admin center.
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:

  1. Sign in to the Microsoft Entra admin center.
  2. In the navigation menu on the left, go to Azure Active Directory (or Identity) > Users > All users (Fig. 4.).

Accessing the Users list in the Microsoft Entra admin center.
Fig. 4. Accessing the Users list in the Microsoft Entra admin center.

  1. 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.

Editing the user's profile details.
Fig. 5. Editing the user's profile details.

  1. 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:

  1. Connect to your Microsoft 365 using PowerShell. See this article to learn how to do that.
  2. 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 the case of Custom Attributes 1-15, it is required to use the Set-Mailbox cmdlet. See this article to learn how.

Was this information useful?