I have a PnP Power shell script, but it is raising this error:-
The term Get-PnPAzureADUser is not recognized as the name of a Cmdlet
any advice? Thanks
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityGet-PnPAzureADUser is part of the PnP.PowerShell module.
If you are using the legacy module, first uninstall it:
Uninstall-Module SharePointPnPPowerShellOnline
Then, install the latest PnP.PowerShell module
Install-module PnP.PowerShell