Skip to content

microsoftgraph/entra-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
title description ms.topic ms.date ms.author ms.reviewer manager author
About Microsoft Entra PowerShell
About Microsoft Entra PowerShell
reference
02/03/2025
eunicewaweru
stevemutungi
CelesteDG
msewaweru

PSGallery Version PSGallery Downloads PSGallery Platform GitHub issues

Microsoft Entra PowerShell

Microsoft Entra PowerShell, is a command-line tool that allows administrators and developers to manage and automate Microsoft Entra resources programmatically. This module is developed based on customer feedback to meet usability needs. Microsoft Entra PowerShell is meticulously designed to deliver a delightful, usable, and high-quality collection of PowerShell cmdlets for Entra administrators.

The module offers human-readable parameters, deliberate parameter set specification, inline documentation, and core PowerShell fundamentals like pipelining. The module builds upon the Microsoft Graph PowerShell SDK. It’s fully interoperable with all cmdlets in the Microsoft Graph PowerShell SDK.

The module also offers a backward compatibility option to streamline migration from the retiring AzureAD PowerShell module. Microsoft Entra PowerShell works with Windows PowerShell 5.1 and PowerShell 7+. For the best experience on Windows, Linux, and macOS, we recommend using PowerShell 7 or later.

Modules

The following table contains a list of the Microsoft Entra PowerShell modules.

Module Latest Description
Microsoft.Entra mg v1.0 Module
Microsoft.Entra.Beta mgbeta Beta Module

Learn more

Our Motivation | Get-Started: Installation & Usage | Contributing | Known Issues | License

Note

We continuously enhance Microsoft Entra PowerShell to improve functionality and performance. To stay up to date, install updates as soon as they are released. Updates are provided on a regular cadence.

Contribute

To contribute, see contribution guide.

Known Issues

  • Some properties names change between the Azure AD PowerShell module and Microsoft Graph endpoints:
    • Parameter -Filter might not work correctly
    • Parameter -SearchString don't currently work
    • Output objects might be different
  • "Assembly with same name is already loaded" - when there are multiple versions of Microsoft.Graph.Authentication modules installed.

Product feedback and issues

If you find any bugs when using the Microsoft Entra PowerShell module, file an issue on our GitHub issues page.

This project adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] for questions or comments.

License

Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT license.