Knowledge Base

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 365Microsoft 365 admin centerAzure AD (AAD admin center)Azure AD (PowerShell)
CityCityCityCity
CompanyCompanyCompany nameCompany
CountryCountry or regionCountry or regionCountryOrRegion
CustomAttribute1-15Custom attributes 1-15n/aCustomAttribute1-15
DepartmentDepartmentDepartmentDepartment
Display nameDisplay nameNameDisplayName
E-mailUsername and emailEmailEmailAddresses
FaxFax numbern/aFax
First NameFirst nameFirst nameFirstName
Home phoneHome phonen/aHomePhone
InitialsInitialsn/aInitials
Last nameLast nameLast nameLastName
MobileMobile phoneMobile phoneMobilePhone
NotesNotesn/aNotes
OfficeOfficeOfficeOffice
P.O. Boxn/an/aPostOfficeBox
Pagern/an/aPager
PhoneOffice phoneOffice phonePhone
PhotoPhotoPhotoUserPhoto
Postal codeZip or postal codeZIP or postal codePostalCode
StateState or provinceState or provinceStateOrProvince
StreetStreet addressStreet addressStreetAddress
TitleJob titleJob titleTitle
Web pageWeb pagen/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 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:

  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 mailbox properties in a new browser tab.

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: Initials, Display name, Custom attributes 1-15;
  • the contact information tab: Home phone, Web Page, Notes;
  • the organization tab: Company.

Remaining user attributes in the user mailbox properties
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:

  1. Sign in to the Azure Active Directory admin center.
  2. In the navigation menu on the left, click Users (Fig. 4.).

Accessing the Users list in the AAD admin center
Fig. 4. Accessing the Users list in the Azure Active Directory admin center.

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

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 for Office 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 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?