Run this command: Install-Module -Name AzureADīy default, the PowerShell Gallery (PSGallery) isn't configured as a trusted repository for PowerShellGet. Open a Windows PowerShell Command Prompt window. But you'll likely need to update the software periodically.
These steps are required only one time on your computer. For information about support for different versions of Windows, see Azure Active Directory PowerShell for Graph module.