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

Andreas 26 Reputation points
2021-10-28T12:02:00.62+00:00

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.
163 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,636 questions
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,451 Reputation points
    2021-11-01T05:58:39.067+00:00

    @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
    2021-12-12T21:46:44.43+00:00

    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