Microsoft Entra – PowerShell module now generally available – Exploring Microsoft Entra PowerShell – 1

Hi All,
Greetings for the day!!!
In last week, Microsoft announced general availability (GA) of the Microsoft Entra PowerShell module.
On Knowledge-Junction, I will start sharing articles on Microsoft Entra PowerShell module.
What is Microsoft Entra PowerShell module?
- Microsoft Entra PowerShell module is PowerShell module designed to streamline and automation for Microsoft Entra.
- The Microsoft Entra PowerShell module is a command-line tool. Allows administrators and developers to manage and automate Microsoft Entra resources programmatically.
- Microsoft Entra PowerShell module includes
- Managing users
- Groups
- Applications
- Service Principals
- Policies and more
- Microsoft Entra PowerShell module is developed upon Microsoft Graph PowerShell SDK.
- We have list of detailed articles on Microsoft Graph PowerShell – https://knowledge-junction.in/category/technology-articles/m365/microsoft-graph/microsoft-graph-powershell/
- Microsoft Entra PowerShell works with Windows PowerShell 5.1 and PowerShell 7+.
How to install Microsoft Entra PowerShell module ?
- We will use Install-Module PowerShell CMDLET for installing Microsoft Entra PowerShell module.
- We have detailed article on PowerShell Modules. PowerShell – Exploring Module CMDLETs – https://knowledge-junction.in/2022/12/12/__trashed-2/
Install-Module -Name Microsoft.Entra -Repository PSGallery -Scope CurrentUser -Force -AllowClobber

- We check installation of “Microsoft.Entra” PowerShell module is installed using “Get-Module“.
Get-Module -Name Microsoft.Entra

View all Microsoft Entra PowerShell CMDLETS
- We will use “Get-Command” PowerShell CMDLET to view all Microsoft Entra PowerShell CMDLET
Get-Command -Module Microsoft.Entra*

Demo – Executing Microsoft Entra PowerShell CMDLET – “Get-EntraUser”
Connect to Microsoft Entra
- We will use “Connect-Entra” PowerShell CMDLET to connect Microsoft Entra
Connect-Entra

- Once we connected to Microsoft Entra, we are ready to execute Microsoft Entra PowerShell CMDLETs
- Lets get all the users in our tenant
- We will use “Get-EntraUser” PowerShell CMDLET to get all users.
Get-EntraUser

REFERENCES
- Microsoft Graph PowerShell articles – https://knowledge-junction.in/category/technology-articles/m365/microsoft-graph/microsoft-graph-powershell/
- PowerShell – Exploring Module CMDLETs – https://knowledge-junction.in/2022/12/12/__trashed-2/
- Microsoft Entra PowerShell documentation – https://learn.microsoft.com/en-us/powershell/entra-powershell/?view=entra-powershell
Thanks for reading!!!
HAVE A FANTASTIC TIME AHEAD !!! LIFE IS BEAUTIFUL 🙂

You must be logged in to post a comment.