Forum Discussion
Matthew Carter
Jan 19, 2023Iron Contributor
Windows 11, PowerShell 5.1.22000.1335 works yet 7.3.1 does not for Connect-AzureAD
I am in Windows 11 and I use PowerShell 5 and would like to mainly use 7 yet when I go to Connect-AzureAD it doesn't like it. I have a screenshot showing both as admin and NON admin and I can instal...
- Jan 19, 2023The AzureAD module does not support PS7/Core installs. You can however run it in compatibility mode:
Import-Module AzureAD -UseWindowsPowerShell
Better use the Graph SDK for PowerShell, as the AzureAD module is going to be deprecated soon anyway.
VasilMichev
Jan 19, 2023MVP
The AzureAD module does not support PS7/Core installs. You can however run it in compatibility mode:
Import-Module AzureAD -UseWindowsPowerShell
Better use the Graph SDK for PowerShell, as the AzureAD module is going to be deprecated soon anyway.
Import-Module AzureAD -UseWindowsPowerShell
Better use the Graph SDK for PowerShell, as the AzureAD module is going to be deprecated soon anyway.
Matthew Carter
Jan 24, 2023Iron Contributor
THANK YOU! That's a good point, I will update to Graph
I assume it is here -
https://learn.microsoft.com/en-us/powershell/microsoftgraph/installation?view=graph-powershell-1.0
Install-Module Microsoft.Graph -Scope AllUsers -Force
I assume it is here -
https://learn.microsoft.com/en-us/powershell/microsoftgraph/installation?view=graph-powershell-1.0
Install-Module Microsoft.Graph -Scope AllUsers -Force