Get-EntraExtensionProperty

Gets extension properties registered with Microsoft Entra ID.

Syntax

Get-EntraExtensionProperty
   [-IsSyncedFromOnPremises <Boolean>]
   [<CommonParameters>]

Description

The Get-EntraExtensionProperty cmdlet gets a collection that contains the extension properties registered with Microsoft Entra ID through Microsoft Entra ID Connect.

You can get extension properties that are synced with on-premises Microsoft Entra ID that aren't synced with on-premises Microsoft Entra ID or both types.

This command returns all directory extension definitions registered in a directory, including those from multitenant apps. The following entities support extension properties:

  • User
  • Group
  • AdministrativeUnit
  • Application
  • Device
  • Organization

Examples

Example 1: Get extension properties synced from on-premises Microsoft Entra ID

Connect-Entra -Scopes 'Directory.Read.All'
Get-EntraExtensionProperty -IsSyncedFromOnPremises $True

DeletedDateTime Id                                   AppDisplayName              DataType IsMultiValued IsSyncedFromOnPremises Name                                                           TargetObjects
--------------- --                                   --------------              -------- ------------- ---------------------- ----                                                           -------------
                aaaabbbb-0000-cccc-1111-dddd2222eeee Tenant Schema Extension App String   False         True                   extension_aaaabbbb-0000-cccc-1111-dddd2222eeee_extensionAttribute1 {User}

This command gets extension properties that have sync from on-premises Microsoft Entra ID.

Parameters

-IsSyncedFromOnPremises

Specifies whether this cmdlet gets extension properties that are synced or not synced.

  • $True - get extension properties that are synced from the on-premises Microsoft Entra ID.
  • $False - get extension properties that aren't synced from the on-premises Microsoft Entra ID.
  • No value - get all extension properties (both synced and nonsynced).
Type:System.Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False