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

Fix for authentication dialog and headers #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dnewsholme
Copy link

Fix for auth headers not being parsed due to missing method AquireToken

Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext now has a method called AquireTokenAsync for .NET Core. So use this method instead.

Method invocation failed because [Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext] does not contain a method named 'AcquireToken'.

Issue when trying on PS 5.1 with Az module. The [Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext]::AquireToken() no longer exists as method and has been replaced with [Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext]::AquireTokenAsync() for PS Core compatibility.
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

Successfully merging this pull request may close these issues.

1 participant