Share via

Microsoft.Azure.WebJobs.Extensions.Storage 5.0.0 and Table storage

Andreas 26 Reputation points
Oct 28, 2021, 12:02 PM

I tried to update a Azure Functions project to use the 5.0.0 version of Microsoft.Azure.WebJobs.Extensions.Storage but with this version my Azure Functions project does not compile any more and I get this error.

error CS0246: The type or namespace name 'TableAttribute' could not be found (are you missing a using directive or an assembly reference?)

It looks like Microsoft.Azure.WebJobs.TableAttribute is no longer part of the Microsoft.Azure.WebJobs.Extensions.Storage package. This is a rather big breaking change that I would expect to be mentioned in the release notes of Microsoft.Azure.WebJobs.Extensions.Storage.

Do I need to reference another package for table storage bindings to work now?

Azure Table Storage
Azure Table Storage
An Azure service that stores structured NoSQL data in the cloud.
174 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,342 questions
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,481 Reputation points
    Nov 1, 2021, 5:58 AM

    @Andreas ,

    Unfortunately the support for the Table binding hasn't been carried forward in the v5 storage extensions (Microsoft.Azure.WebJobs.Extensions.Storage). You'll have to use Table Storage SDKs directly for the table operations or you can use the next lower version of Microsoft.Azure.WebJobs.Extensions.Storage which is 4.0.5

    I'm not aware of any plans to bring the binding back, but I would encourage you to log a feature request in the repo https://github.com/Azure/azure-sdk-for-net/issues.

    Apologies for the inconvenience caused.


1 additional answer

Sort by: Most helpful
  1. John Bosch 51 Reputation points
    Dec 12, 2021, 9:46 PM

    Hi left hand, this is right hand.

    What a strange situation. One group in Microsoft promoting how easy it is to use functions and their bindings while another group is actively removing bindings.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.