Module Reference & Getting Started

Overview:

The following provides a list of all of the commands within the Entra PowerShell Module.

Login Command:

Connect-Entra -Scopes 'User.Read.All'

Ensure to login with an administrator that has the proper scope. Ensure to review the permission reference in the PowerShell: Microsoft SDK section.

List All Available Commands:

Get-Command -Module Microsoft.Entra*

This returns a list of available commands

Search for a specific command

Get-Command -Module Microsoft.Entra* -Noun *role*

This returns a list of commands that match the string 'role'.

Check Supported Properties and Methods

New-EntraDirectoryRoleAssignment -RoleDefinitionId 'role-id' | Get-Member

Getting Command Line Help

Get-Help Get-EntraDirectoryRoleDefinition -Detailed

Documentation:

Last updated