Microsoft Azure CosmosDB Table API has deprecated and replaced with Azure.Data.Tables ,

lakshmi 551 Reputation points
2022-12-22T10:57:22.627+00:00

Microsoft Azure CosmosDB Table API has deprecated and we have replaced with Azure.Data.Tables ,

273304-0-1671623833788.png

After updating we are getting below errors ,

273286-1-1671624017252.png

Should I need to install any other package to solve this upgradation issue

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,439 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Arun Siripuram 801 Reputation points
    2022-12-22T17:45:34.843+00:00

    @lakshmi

    Yes, that is correct. The Microsoft Azure CosmosDB Table API has been deprecated and replaced with Azure.Data.Tables. This change was made to improve the performance and scalability of the Table API, as well as to align it with the Azure Cosmos DB API for MongoDB.

    If you are using the Microsoft Azure CosmosDB Table API in your application, you will need to update your code to use Azure.Data.Tables instead. This can typically be done by replacing references to the Microsoft.Azure.Cosmos.Table namespace with Azure.Data.Tables. You may also need to update any code that uses the CloudTable or TableResult classes, as these have been replaced with new classes in the Azure.Data.Tables namespace.

    It is important to note that the Azure.Data.Tables library is not backward compatible with the Microsoft Azure CosmosDB Table API, so you will need to thoroughly test your application after making the switch to ensure that it is still functioning as expected.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.

  2. Rajesh 0 Reputation points Microsoft Vendor
    2024-02-26T21:37:23.6666667+00:00

    I am also doing similar migration and looking to find an alternative of TableContinuationToken in Azure.Data.Tables. Any idea on this ?

    0 comments No comments