You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple to reproduce - just use the example Function App with TokenAzureB2COptions and results in error:
Exception while executing function: GetUser. AzureExtensions.FunctionToken: Could not load file or assembly 'Microsoft.IdentityModel.Tokens, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
Here is my startup code for B2C (albeit with altered uris)...
Looks like an issue with Microsoft.NET.Sdk.Functions... #5756
Works fine if I downgrade Microsoft.NET.Sdk.Functions to 3.0.3 (v3.0.4 - v3.0.6 causes error).
Another workaround that will allow latest version is to add the following property to the project... <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
As far as I know, currently <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
is the only solution to the problem. Haven't checked 3.0.7 yet.
Simple to reproduce - just use the example Function App with TokenAzureB2COptions and results in error:
Here is my startup code for B2C (albeit with altered uris)...
The above is using the Nuget package...
<PackageReference Include="AzureExtensions.FunctionToken" Version="1.0.11" />
The text was updated successfully, but these errors were encountered: