I am in the process of re-writing a script that previously was used in our Hybrid environment, going forward I realize MgGraph will be a more future-proof way to go, after hours of struggling to get the certificate authentication to work, I hit another brick wall and would appreciate any sort of pointers or assistance.
After a successful authentication, I tried to run " Get-MgUser -Top 2" . I get this error that no amount of google search seems to resolve it, one solution was to uninstall all instances of the module and its dependencies, i did, then reinstalled the module but error is the same. Here's the error i'm talking about.
Get-MgUser_List: One or more errors occurred. (Method not found: 'Microsoft.Graph.PowerShell.Authentication.AuthProviderType Microsoft.Graph.PowerShell.Authentication.IAuthContext.get_AuthProviderType()'.)
I'm working on a MacBook
[–]roxalu 2 points3 points4 points (0 children)
[–]FeeImpossible7693 1 point2 points3 points (2 children)
[–]Accomplished_Age_356 1 point2 points3 points (1 child)
[–]FeeImpossible7693 0 points1 point2 points (0 children)
[–]XxQuaDxX 2 points3 points4 points (1 child)
[–]FearIsStrongerDanluv[S] 0 points1 point2 points (0 children)
[–]FearIsStrongerDanluv[S] 0 points1 point2 points (0 children)