PS C:\ > Get-AzureADIPRiskyUser
WARNING: Unable to find type [Microsoft.Graph.PowerShell.Authentication.Utilities.DependencyAssemblyResolver].
Get-MgProfile : The term 'Get-MgProfile' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\IdentityProtectionTools\Get-AzureADIPRiskyUser.ps1:84 char:18
I guess this is because "Microsoft Graph PowerShell SDK V2" beta features can no longer be accessed directly..
Graph module version info:
PS C:> Get-InstalledModule | Where-Object {$_.name -match 'Microsoft.Graph'} | Select-Object version,name
Version Name
2.4.0 Microsoft.Graph.Authentication
2.4.0 Microsoft.Graph.Groups
2.4.0 Microsoft.Graph.Identity.DirectoryManagement
2.4.0 Microsoft.Graph.Identity.SignIns
2.4.0 Microsoft.Graph.Security
2.4.0 Microsoft.Graph.Users
PS C:\ > Get-AzureADIPRiskyUser
WARNING: Unable to find type [Microsoft.Graph.PowerShell.Authentication.Utilities.DependencyAssemblyResolver].
Get-MgProfile : The term 'Get-MgProfile' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\IdentityProtectionTools\Get-AzureADIPRiskyUser.ps1:84 char:18
I guess this is because "Microsoft Graph PowerShell SDK V2" beta features can no longer be accessed directly..
Graph module version info:
PS C:> Get-InstalledModule | Where-Object {$_.name -match 'Microsoft.Graph'} | Select-Object version,name
Version Name
2.4.0 Microsoft.Graph.Authentication
2.4.0 Microsoft.Graph.Groups
2.4.0 Microsoft.Graph.Identity.DirectoryManagement
2.4.0 Microsoft.Graph.Identity.SignIns
2.4.0 Microsoft.Graph.Security
2.4.0 Microsoft.Graph.Users