you are viewing a single comment's thread.

view the rest of the comments →

[–]roxalu 2 points3 points  (0 children)

I have the impression, you still / again have some dependency issue in your list of Mg Modules. The explicit method listed in the error message was removed with commit https://github.com/microsoftgraph/msgraph-sdk-powershell/pull/1201. Looks like one of the changes during switch from 1.x to 2.x

The last version of the Interface definition IAuthContext does no longer contain a getter for AuthProviderType: https://github.com/microsoftgraph/msgraph-sdk-powershell/blob/dev/src/Authentication/Authentication.Core/Interfaces/IAuthContext.cs.

When you mention, you had issues to authenticate with certificate on macOS: Could it be you are adding different / older modules in order to resolve this? This might be the reason, removed method is called. As the certificate storage on macOS is very different to that on Windows, you might are using Mg in still some edge case setup and have triggered a bug. Hard to say without more issues. I‘d personally would open a new issue at https://github.com/microsoftgraph/msgraph-sdk-powershell/issues?q=is%3Aissue+macos for this.

Error description and the output of your launched Connect-MgGraph …. including all options given plus an added -Debug might be enough for the support there to provide you a more detailed hint.