Edit

Share via


Microsoft.Entra.DirectoryManagement Module v1.1

This module contains cmdlets that designed to work with Microsoft.Entra.DirectoryManagement.

Microsoft.Entra.DirectoryManagement Cmdlets

Cmdlet Description
Add-EntraAdministrativeUnitMember

Adds an administrative unit member.

Add-EntraCustomSecurityAttributeDefinitionAllowedValue

Adds a predefined value for a custom security attribute definition.

Add-EntraDeviceRegisteredOwner

Adds a registered owner for a device.

Add-EntraDeviceRegisteredUser

Adds a registered user for a device.

Add-EntraDirectoryRoleMember

Adds a member to a directory role.

Add-EntraScopedRoleMembership

Assign a Microsoft Entra role with an administrative unit scope.

Confirm-EntraDomain

Validate the ownership of a domain.

Enable-EntraDirectoryRole

Activates an existing directory role in Microsoft Entra ID.

Get-CrossCloudVerificationCode

Retrieves the verification code to confirm domain ownership in another connected cloud.

Get-EntraAccountSku

Retrieves all the SKUs for a company.

Get-EntraAdministrativeUnit

Gets an administrative unit.

Get-EntraAdministrativeUnitMember

Gets a member of an administrative unit.

Get-EntraAttributeSet

Gets a list of attribute sets.

Get-EntraContact

Gets a contact from Microsoft Entra ID.

Get-EntraContactDirectReport

Get the direct reports for a contact.

Get-EntraContactManager

Gets the manager of a contact.

Get-EntraContactMembership

Get a contact membership.

Get-EntraContactThumbnailPhoto

Retrieves the thumbnail photo of a contact.

Get-EntraContract

Gets a contract.

Get-EntraCustomSecurityAttributeDefinition

Gets a list of custom security attribute definitions.

Get-EntraCustomSecurityAttributeDefinitionAllowedValue

Gets the predefined value for a custom security attribute definition.

Get-EntraDeletedAdministrativeUnit

Retrieves the list of previously deleted administrative units.

Get-EntraDeletedDevice

Retrieves the list of previously deleted devices.

Get-EntraDeletedDirectoryObject

Retrieves a soft deleted directory object from the directory.

Get-EntraDevice

Gets a device from Microsoft Entra ID.

Get-EntraDeviceRegisteredOwner

Gets the registered owner of a device.

Get-EntraDeviceRegisteredUser

Retrieve a list of users that are registered users of the device.

Get-EntraDirectoryObject

Retrieves directory objects based on a list of IDs.

Get-EntraDirectoryObjectOnPremisesProvisioningError

Returns directory synchronization errors when synchronizing on-premises directories to Microsoft Entra ID.

Get-EntraDirectoryRole

Gets a directory role.

Get-EntraDirectoryRoleMember

Gets members of a directory role.

Get-EntraDirectoryRoleTemplate

Gets directory role templates.

Get-EntraDirSyncConfiguration

Gets the directory synchronization settings.

Get-EntraDirSyncFeature

Checks the status of directory synchronization features for a tenant.

Get-EntraDomain

Gets a domain.

Get-EntraDomainFederationSettings

Retrieves settings for a federated domain.

Get-EntraDomainNameReference

Retrieves the objects that are referenced by a given domain name.

Get-EntraDomainServiceConfigurationRecord

Gets the domain's service configuration records from the serviceConfigurationRecords navigation property.

Get-EntraDomainVerificationDnsRecord

Retrieve the domain verification DNS record for a domain.

Get-EntraExtensionProperty

Gets extension properties registered with Microsoft Entra ID.

Get-EntraFederationProperty

Displays the properties of the Microsoft Entra ID Federation Services 2.0 server and Microsoft Online.

Get-EntraPartnerInformation

Retrieves company-level information for partners.

Get-EntraPasswordPolicy

Retrieves the current password policy for the tenant or the specified domain.

Get-EntraScopedRoleMembership

List Microsoft Entra role assignments with administrative unit scope.

Get-EntraSubscribedSku

Gets subscribed SKUs to Microsoft services.

Get-EntraSubscription

List the organization's commercial subscriptions.

Get-EntraTenantDetail

Gets the details of a tenant.

New-EntraAdministrativeUnit

Creates an administrative unit.

New-EntraAttributeSet

Adds a new attribute set.

New-EntraCustomSecurityAttributeDefinition

Create a new customSecurityAttributeDefinition object.

New-EntraDevice

Creates a device.

New-EntraDomain

Creates a domain.

Remove-EntraAdministrativeUnit

Removes an administrative unit.

Remove-EntraAdministrativeUnitMember

Removes an administrative unit member.

Remove-EntraContact

Removes a contact.

Remove-EntraDeletedDirectoryObject

Permanently delete a previously deleted directory object.

Remove-EntraDevice

Deletes a device.

Remove-EntraDeviceRegisteredOwner

Removes the registered owner of a device.

Remove-EntraDeviceRegisteredUser

Removes a registered user from a device.

Remove-EntraDirectoryRoleMember

Removes a member of a directory role.

Remove-EntraDomain

Removes a domain.

Remove-EntraExternalDomainFederation

Delete an externalDomainFederation by external domain name.

Remove-EntraScopedRoleMembership

Removes a scoped role membership.

Resolve-EntraTenant

Resolves a Tenant ID or Domain Name to a Microsoft Entra ID Tenant.

Restore-EntraDeletedDirectoryObject

Restore a previously deleted object.

Set-EntraAdministrativeUnit

Updates the properties of an administrative unit.

Set-EntraAttributeSet

Updates an existing attribute set.

Set-EntraCustomSecurityAttributeDefinition

Update the properties of a customSecurityAttributeDefinition object.

Set-EntraCustomSecurityAttributeDefinitionAllowedValue

Updates an existing custom security attribute definition predefined value.

Set-EntraDevice

Updates a device.

Set-EntraDirSyncConfiguration

Modifies the directory synchronization settings.

Set-EntraDirSyncEnabled

Turns directory synchronization on or off for a company.

Set-EntraDirSyncFeature

Used to set identity synchronization features for a tenant.

Set-EntraDomain

Updates a domain.

Set-EntraDomainFederationSettings

Updates settings for a federated domain.

Set-EntraPartnerInformation

Sets company information for partners.

Set-EntraTenantDetail

Set contact details for a tenant.