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

Cannot publish when identity-based storage connection is used (AzureWebJobsStorage__accountName) #3376

Open
obesser opened this issue May 21, 2023 · 1 comment · May be fixed by #3573
Open

Comments

@obesser
Copy link

obesser commented May 21, 2023

The issue is described in #2671 but the conversation there is locked.
It is also marked as fixed in #3306 but it isn't.

When attempting a remote build, I get Azure Functions Core Tools does not support this deployment path.
There is an exact name match for AzureWebJobsStorage instead of prefix match:

if (!functionApp.AzureAppSettings.ContainsKey("AzureWebJobsStorage") && functionApp.IsDynamic && functionApp.IsLinux)
{
throw new CliException($"Azure Functions Core Tools does not support this deployment path. Please configure the app to deploy from a remote package using the steps here: https://aka.ms/deployfromurl");
}

@aelij
Copy link
Member

aelij commented Jan 7, 2024

I would also suggest migrating away from the deprecated package WindowsAzure.Storage which hasn't been updated since 2018. With the latest package Azure.Storage.Blobs you can use DefaultAzureCredential to authenticate.

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