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

Warnings when using identity-based connection for AzureWebJobsStorage #579

Closed
Pompeoar opened this issue Jul 6, 2022 · 3 comments
Closed

Comments

@Pompeoar
Copy link

Pompeoar commented Jul 6, 2022

I can't tell if these are legit or related to something like issue 541 and others.

Using identity-based connections, everything works end to end locally, but I get this build warning when I build or run tests.

/home/vscode/.nuget/packages/microsoft.net.sdk.functions/4.1.1/build/Microsoft.NET.Sdk.Functions.Build.targets(32,5): warning : Function [MyQueueTriggeredFunction]: Missing value for AzureWebJobsStorage in local.settings.json. This is required for all triggers other than httptrigger, kafkatrigger, orchestrationTrigger, activityTrigger, entityTrigger.

My local. settings

{
  "IsEncrypted": false,
  "Values": {
      "APPINSIGHTS_INSTRUMENTATIONKEY": "<MY_KEY>,
      "AzureAppConfigEndpoint": "<MY_CONFIG_ENDPOINT>",
      "FUNCTIONS_WORKER_RUNTIME": "dotnet",      
      "AzureWebJobsStorage__accountName": "<MY_STORAGE_NAME>"
  }
}

My function

[FunctionName(nameof(MyQueueTriggeredFunction))]
        public async Task RunAsync(
            [QueueTrigger("%MyQueueName%")] FooModel req,
            [Table("%MyTableName%")] TableClient tableToWriteTo)            
{
///code
}

Possibly related issue 541? This isn't just for tests though, it's whenever I build.

@Ved2806 Ved2806 self-assigned this Jul 26, 2022
@Ved2806
Copy link

Ved2806 commented Jul 26, 2022

Hi @mattchenderson Could you please help with this issue?

@Ved2806
Copy link

Ved2806 commented Aug 25, 2022

Hi @Pompeoar Please refer the discussion here #584 and let us know if it helps. Thanks.

@ghost
Copy link

ghost commented Aug 29, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost ghost closed this as completed Sep 1, 2022
This issue was closed.
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