Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teams and MFA - Cannot find an overload for "AcquireTokenAsync" and the argument count: "5". #44

Open
NikCharlebois opened this issue Mar 4, 2020 · 0 comments

Comments

@NikCharlebois
Copy link
Collaborator

There is an issue with Teams and MFA where we are not able to get the MFA prompt to appear when running Export-O365Configuration. It works fine when running it with Test-MSCloudLoginAssistant directly. The popup never appears. It appears that the ADAL object created has an extra property on its AuthContext when executed through the Export-O365Configuration path. The OwnerWindow property isn't on the object when using the direct Test-MSCloudLogin route. We need to determine what the difference is here.

$Global:ADALServicePoint.authContext
Authority : https://login.windows.net/e7a80bcf-696e-40ca-8775-a7f85fbb3ebc/oauth2/authorize/
ValidateAuthority : False
TokenCache : Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache
CorrelationId : 00000000-0000-0000-0000-000000000000
OwnerWindow :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant