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

Update .NET 6.0 non-isolated template to use >= 4.2.0 of Microsoft.NET.Sdk.Functions #1413

Open
phenning opened this issue Jul 6, 2023 · 1 comment

Comments

@phenning
Copy link

phenning commented Jul 6, 2023

This blocks ZIP deploy with Azure AD Auth turned on in Visual Studio.

Repro Steps:
REGRESSION INFO: Worked in: Basic Authentication turned on.

AFFECTED TESTCASES:
Azure Functions Tooling E2E ~ 6.0 /7.0

INSTALL STEPS

  1. Clean machine: Win11 22h2 ENU
  2. Install Dev17.6.0 FB from Pipelines - Run rel.d17.6-33711.389 (visualstudio.com), Release channel
    Web workload plus 6.0/7.0
    Includes SDK 7.0.302
  3. Install the feature flag extension from here -  (Feature Flags - Visual Studio Marketplace) and select the “Publish.EnableAzureADAuth” feature flag from VS > Tools/Options....
    REPRO STEPS
  4. File > New > Azure Functions > .NET 6.0 (LTS) > Http trigger > Create
  5. Publish to Azure Function App (Windows) > Zip Deploy

ACTUAL
Publish encountered an error:
The attempt to publish the ZIP file through https://functionapp120230512020531.scm.azurewebsites.net/api/zipdeploy failed with HTTP status code Unauthorized.

image

Original internal bug here:
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1818572/

@kshyju
Copy link
Member

kshyju commented Jul 13, 2023

Oh, This was fixed in #1416 . I will share an update here when it is released.

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

No branches or pull requests

2 participants