Azure Active Directory PowerShell for Graph
AzureAD PowerShell Modunle
You need install AzureAD module only once. In the next time, run to connect to Azure Active Directory PowerShell for Graph.
##Connect to Azure Active Directory PowerShell for Graph
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine -Force;
Install-PackageProvider -Name NuGet -Force;
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted;
Install-Module -Name AzureAD
Connect-AzureAD
How do you know this worked ?
Get-Module AzureAD –ListAvailable
Update Azure Active Directory PowerShell for Graph
Update-Module -Name AzureAD
Disconnect from Azure in your PowerShell session
Disconnect-AzureAD
5/5 - (1 vote)