Installation of the Microsoft Graph PowerShell SDK

Target

For customers who wish to do user synchronization between Microsoft 365 and HENNGE Access Control with Microsoft Graph PowerShell, or federate Microsoft 365 and HENNGE Access Control with Microsoft Graph PowerShell.

Purpose

This article describes how to proceed with the installation of HENNGE Access Control using the Microsoft Graph PowerShell

Cautions

1. Installation of the Microsoft Graph PowerShell SDK module is needed.

2. The account information of the global administrator in your Microsoft 365 tenant is required.

3.The content of this article is based on product specifications as of April 2024 and is revised accordingly without advanced notice.

 

Procedures

Prerequisites

1. Preparing client terminals

Please prepare a client terminal with Windows/Windows Server OS supported by Microsoft installed.
Note that the OS of the terminal to be prepared must be 64-bit version.
※ For client OS such as Windows 11, Windows 10, execution by a user with module execution permissions is required.

2. Check versions of PowerShell and .NET Framework

  • PowerShell 5.1 or later
  • .NET Framework 4.7.2 or later

* Please make sure to check the latest information in the following website:

      Install the Microsoft Graph PowerShell SDK

3. Update of PowerShell and .NET Framework

1. Open Windows [ Start ] and open [ Windows PowerShell ] with administrator privileges

* Check if "Administrator" is displayed in the upper left corner of the PowerShell.

admin1.png

2. Install the Microsoft Graph PowerShell SDK

Execute the following command:

Install-Module Microsoft.Graph

* If the message "NuGet provider is required to continue" appears, type "[ Y ] Yes ( Y )" and execute.

* If the message "Untrusted repository" appears, type "[ A ] Yes to all ( A )" and execute.

admin2.png

3. Check if the Microsoft Graph PowerShell SDK is installed

Get-InstalledModule Microsoft.Graph

If the module is correctly installed, the following will be displayed:

admin3.png

Related Articles

References

Overview of Microsoft Graph

Microsoft Graph SDK overview

Find Azure AD and MSOnline cmdlets in Microsoft Graph PowerShell

          
Was this article helpful?