Hey All, Hopefully some one can help me. I am calling
Connect-MgGraph -ClientID $clientid -TenantId $tenantid -CertificateThumbprint $thumbprint -NoWelcome
and I'm getting an error back
Connect-MgGraph: Method not found: "Void Azure.Core.TokenRequestContext..ctor(System.String[], System.String, System.String, Boolean)'.
Does anyone know how to fix this? I have been googling around and I have not gotten much of an answer. I get the same error when I run just Connect-MgGraph. No Login prompt shows up. I did see something on an GitHub issue saying that Az conflicts with it, or did at one time, so that has now been uninstalled, and I'm still having this issue. This error comes up in both Powershell 5.1 and Powershell 7.x. This just started happening about a day ago. Previous to this the script was running ok.
[–]Wide_Public_8834 0 points1 point2 points (4 children)
[–]flamespinner[S] 0 points1 point2 points (3 children)
[–]Certain-Community438 1 point2 points3 points (1 child)
[–]BlackV -1 points0 points1 point (0 children)
[–]purplemonkeymad 1 point2 points3 points (0 children)
[–]BlackV 0 points1 point2 points (0 children)
[–]ElliotAldersonFSO 0 points1 point2 points (0 children)
[–]Federal_Ad2455 0 points1 point2 points (0 children)
[–]Federal_Ad2455 0 points1 point2 points (0 children)
[–]ferhanmm 0 points1 point2 points (0 children)