Azure / Azure/Azure-Functions

GetCryptoProviderForSha256 gives NullReferenceException when running locally

Open
#1,257 4 comments 0 reactions 1 assignee Claimed by @soninaren View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

Hello,

I am having the same issue described at https://github.com/Azure/Azure-Functions/issues/683 where `Microsoft.IdentityModel.Clients.ActiveDirectory.CryptographyHelper.GetCryptoProviderForSha256(RSACryptoServiceProvider rsaProvider)` throws a null reference exception when running a v1 runtime project launched from within Visual Studio.

The issue said to open a new issue to obtain information on how to fix this

The issue links to [this commit](https://github.com/Azure/azure-functions-host/commit/7addbeeb687a43a25acb2535c180b0f3ea512964) as a fix to change the httpRuntime targetFrameworkVersion but I don't know how to do this on a function that is run locally.

Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.