---
title: "Syncing Active Directory attributes to Entra ID (directory extensions)"
slug: "if-you-have-configured-a-white-labeled-tracking-and-hosting-url-and-your-organization-uses-microsoft-direct-access-you-may-need-to-do-one-minor-confi"
description: "Sync attributes that exist only in on-premises Active Directory to Entra ID with Entra Connect (Azure AD Connect) directory extensions for Opensense."
updated: 2026-10-13T00:00:00.000Z
canonical: "https://help.opensense.com/docs/if-you-have-configured-a-white-labeled-tracking-and-hosting-url-and-your-organization-uses-microsoft-direct-access-you-may-need-to-do-one-minor-confi"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.opensense.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Syncing Active Directory attributes to Entra ID (directory extensions)

## Overview

Opensense syncs user data from Microsoft Entra ID (formerly Azure Active Directory, or Azure AD). It can only sync attributes that exist in Entra ID. If a field you want in your signatures exists only in your on-premises Active Directory, for example a custom attribute your organization added, sync it to Entra ID first with the directory extensions feature of Microsoft Entra Connect (formerly Azure AD Connect). Opensense can then sync it like any other field.

For Microsoft's full instructions, see [Microsoft Entra Connect Sync: Directory extensions](https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-sync-feature-directory-extensions).

## How it fits together

1. In Microsoft Entra Connect, sync the attribute to Entra ID as a directory extension. See [Syncing an attribute with directory extensions](#syncing-an-attribute-with-directory-extensions).
2. Find the attribute name and your Azure tenant ID, and send them to your Opensense representative. See [Syncing extension attributes from Azure AD (Entra ID)](https://help.opensense.com/docs/syncing-extension-attributes-from-azure-ad).
3. Opensense syncs the field. Changes in Active Directory can take time to reach Entra ID and then Opensense. See [Why Active Directory changes take time to reach Opensense](https://help.opensense.com/docs/delay-in-ad-to-aad).

## Syncing an attribute with directory extensions

A Microsoft administrator does these steps on the server that runs Microsoft Entra Connect:

1. Open the Microsoft Entra Connect wizard, and use the custom settings.
2. On the **Optional Features** page, select **Directory Extension attribute sync**.
3. On the **Directory Extensions** page, select the attributes to sync. The **Available Attributes** field is case sensitive.
4. Finish the wizard.

:::note[New attributes in your Active Directory schema]
Microsoft Entra Connect reads the list of attributes from the Active Directory schema when it is installed. If you added custom attributes to the schema later, refresh the directory schema in Microsoft Entra Connect before they appear.
:::

## What to know about directory extensions

<dl class="kb-insights-summary">
  <div><dt>Attribute name in Entra ID</dt><dd>A synced attribute appears in Entra ID as <code>extension_{ApplicationId}_&lt;attributeName&gt;</code>, where <code>ApplicationId</code> is the application ID of the <strong>Tenant Schema Extension App</strong>. Opensense needs this full name to sync the field.</dd></div>
  <div><dt>Supported attributes</dt><dd>Attributes on user and group objects. Single-valued string, Boolean, integer, and binary attributes, and multi-valued string and binary attributes.</dd></div>
  <div><dt>Limits</dt><dd>An object can have up to 100 directory extension values. A string value can be up to 256 characters; longer values are truncated.</dd></div>
</dl>

:::caution[Don't delete the Tenant Schema Extension App]
Microsoft Entra Connect registers an app named **Tenant Schema Extension App** in Entra ID to hold these attributes. Deleting its service principal breaks the synchronization.
:::

## What's next

- [Syncing extension attributes from Azure AD (Entra ID)](https://help.opensense.com/docs/syncing-extension-attributes-from-azure-ad): find the attribute name and tenant ID, and send them to Opensense.
- [What Azure Active Directory fields can be used when syncing with Opensense?](https://help.opensense.com/docs/what-azure-active-directory-fields-can-be-used-when-syncing-with-opensense): the fields Opensense syncs by default.
- [Why Active Directory changes take time to reach Opensense](https://help.opensense.com/docs/delay-in-ad-to-aad): why directory changes take time to appear.
