Introduction
Recently, MSFT introduced the Graph PowerShell module. Since then, it has been encouraging all applications to authenticate using MS Graph. In simple words, Microsoft Graph serves as an entry point for authentication and authorization of all the applications inside M365. More about the MS graph can be found in the references section. In this article, we will focus on how to install Graph PowerShell Module on a Windows 11 machine.
First, let’s validate that no modules of MS graph are installed in your machine. This can be verified by running the below command:
Get-InstalledModuleMicrosoft.Graph

If the output has an error message that says "No Match was found for the specified search criteria and module names 'Microsoft. Graph'," this confirms that Graph PowerShell module is not installed on your machine.
Pre-requisites
A PowerShell version greater than five is required to install this module.

Steps
Let’s follow the steps below to install the MS Graph PowerShell module.
Step 1
Run the below command to install the latest version of Graph PowerShell module from the PS repository.
Install-Module Microsoft.Graph -Scope AllUsers
In some cases you may not have admin rights to install for all users. If so, try modifying the scope to current user by running the command below.
Install-Module Microsoft.Graph -Scope CurrentUser
You should be seeing the below message, asking to confirm if you are sure about installing the Graph PowerShell module from untrusted repository. Click on "Yes."

Step 2
It might take some time to complete the module installation. Observe the messages below. They will update you about the progress of the installation.

After 5 to 10 minutes, depending on the resources utilization, you should see that the operation is complete.

Step 3
Now, validate the version of the MS Graph module installed by running the same command on validation.
Get-InstalledModule Microsoft.Graph

Step 4
Go to Azure AD and look for Enterprise Applications. Search for “Microsoft Graph Powershell’ module and validate if admin consent is granted for basic read profiles for all applications.









Join the conversation! Your thoughts help the community grow.