Azure / logicapps

Azure Logic Apps labs, samples, and tools
MIT License
363 stars 301 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 2 days ago

kblacquiere commented 2 days 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 18 hours ago

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