このコンテンツはお使いの言語では利用できません。

Extension attributes in on-premise Active Directory (AD) let organizations extend directory objects with new attributes tailored to their needs. These custom attributes can be synchronized with Microsoft Entra ID for seamless integration across platforms.

Once synchronized, you can display them on SharePoint sites and in Microsoft Teams using the Employee Directory web part.

This article is a complete guide to setting up the Employee Directory web part to display custom attributes of Entra ID user objects.

Attribute Name

Custom extension attributes in Entra ID are not named the same way as in on-premises AD. For example, an attribute such as fax in on-premises AD follows a different naming convention in Entra ID. Custom attribute names in Entra ID have this format:

extension_{uniqueid}_attributeName

To use these custom attributes, you first need to retrieve their names from Entra ID.

Prerequisites

Before you begin, make sure the PowerShell modules needed to work with Microsoft 365 are installed. Open PowerShell and run the following commands to install the MSOnline and AzureAD modules:

Install-Module -Name MSOnline
Install-Module -Name AzureAD

Connect to Your Environment

To connect to your Microsoft 365 environment, run the Connect-AzureAD cmdlet:

Connect-AzureAD

You'll be prompted to sign in with your corporate account. This connection is required to access and manage your Entra ID attributes.

Connect to Microsoft 365 environment with a corporate account

Connect to Microsoft 365 environment with a corporate account

Getting Custom Attributes

To retrieve the custom attributes, replace dbadmin@vitextra.onmicrosoft.com with the login of a user in your Entra ID that has the attributes you need, then run the following script:

$userLogin = "dbadmin@vitextra.onmicrosoft.com"
Get-AzureADUser -ObjectId $userLogin | Select -ExpandProperty ExtensionProperty

This command lists the extension properties you can use as custom attributes in the Employee Directory web part.

Extension Property of user object in Azure AD

Extension Property of user object in Azure AD

Web Part Properties

To configure the Employee Directory web part, go to the page where it's placed and enter edit mode. Open the web part settings and select Configure under the Custom Columns heading:

Web Part Settings

Web Part Settings

Add the custom attributes to the list and click Save to apply your changes.

Custom columns settings

Custom Columns Settings

📝 Note
Both Employee Directory and Employee Directory (Entra ID) have similar settings for custom user properties.

Once the custom attributes are defined and marked as visible, they appear in the employee details pane:

Employee Details Pane

Employee Details Pane

Finally, publish the page to save your changes and make the custom attributes available to users.

Summary

Extending directory objects with custom attributes in Entra ID expands what the Employee Directory web part can show in SharePoint and Microsoft Teams.

By following the steps in this article, you can retrieve and display these attributes, improving the experience and making more information accessible across your organization.

注目の記事

My Tasks: よく寄せられる質問

SharePoint Online と Microsoft Teams で使える Vitextra My Tasks Web パーツに関するよく寄せられる質問に、簡潔に回答します。読み取れるソース、タスクの変更の有無、他のユーザーのタスクの表示、データのプライバシー、タスクの上限、エクスポート、言語、Teams、オンプレミスのタスク、試用版、ライセンスについてわかります。

2026/10/18
カスケード フィルター: 選択済みの他のフィルターによるドロップダウン オプションの絞り込み

Vitextra List Filter Online Web パーツの Cascading filters オプションが、ドロップダウン フィルター コントロールの選択肢を、選択済みの他のフィルターに一致するアイテムに存在する値のみに絞り込む仕組みを説明します。オプションの有効化、シナリオ例、動作の詳細、パフォーマンス上の考慮事項、制限事項について解説します。

2026/10/13
List Filter Online のフィルター ペイン コントロールとサポートされる列の種類

Vitextra List Filter Online Web パーツのフィルター ペインのリファレンスです。構成ツールで列とフィルター コントロールを選ぶ方法、各コントロール (Text、Text with options、Dropdown、Date picker、Date Range、Relative Date、Person or Group、Term、Numeric range、Yes/No) の動作と生成される CAML 比較、SharePoint の列の種類と使用可能なコントロールの対応表を説明します。

2026/10/13

共有