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

KeyVault incompatible with Functions #138

Closed
Workshop2 opened this issue May 15, 2017 · 3 comments
Closed

KeyVault incompatible with Functions #138

Workshop2 opened this issue May 15, 2017 · 3 comments

Comments

@Workshop2
Copy link

Hello,

I have been banging my head against a table trying to get Key Vault working in my function.

I receive the following error:
Method not found: 'Void Microsoft.Azure.KeyVault.KeyVaultClient..ctor(AuthenticationCallback, System.Net.Http.DelegatingHandler[])

I am using the latest versions in which this should be fixed - any help would be great (I think the Azure CLI/SDK is using an older version of this library & System.Net.Http).

Example:
https://github.com/Workshop2/azure-function-with-keyvault

@Workshop2
Copy link
Author

Looks like the libraries included in the Azure.Functions.Cli are overriding anything in the Azure Function. These libraries are out of date.

Can you update the following packages

  • System.Net.Http
  • Microsoft.Azure.KeyVault

@lindydonna
Copy link
Contributor

@Workshop2 What version of the Azure CLI are you using? We updated our binding redirects in 0.97.

@Workshop2
Copy link
Author

Aha, my VS updated to 0.97 and it works fine. Thanks for the help

@ghost ghost locked as resolved and limited conversation to collaborators Dec 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants