Azure / logicapps

Azure Logic Apps labs, samples, and tools
MIT License
368 stars 302 forks source link

Calling Local Azure Function From logic Apps Standard with Azure.Data.tables.dll assembly is Failing with The system cannot find the file specified. #1189

Open kblacquiere opened 1 month ago

kblacquiere commented 1 month ago

Describe the Bug

Hello, I am trying to access an Azure Storage Table from a Logic Apps Standard Local Azure Function. We added the pakage in the .csproj and we are able to compile. We also added the following lines in the project file:

true

When the function is called, it fails with the following errors

System.IO.FileNotFoundException: Could not load file or assembly 'Azure.Data.Tables, Version=12.9.1.0, Culture=neutral, PublicKeyToken=92742159e12e44c8'. The system cannot find the file specified.

When we look in the lib folder, we can see the assembly is present under the .net8 folder.

image

Is there something missing to make this work ?

Plan Type

Standard

Steps to Reproduce the Bug or Issue

  1. Create a new logic apps standard in visual studio code With custom code project
  2. Add the Azure.Data.Tagble package
  3. Create a new Azure Function using Azure.Data.Table
  4. Create a new logic apps
  5. Call the Function from logic apps
  6. Run and it fails

Workflow JSON

No response

Screenshots or Videos

image

Additional context

No response

Andrew-Lahikainen commented 1 month ago

https://github.com/Azure/logicapps/issues/1146

github-actions[bot] commented 4 days ago

This issue is stale because it has been open for 45 days with no activity.