Please update to Azure Cosmos DB extension version 4.x for Azure Functions.

Ding, Jianhua | MPB 0 Reputation points
2024-05-21T02:40:57.5733333+00:00

I had receiving a mail. tell me to update Azure Cosmos DB from version 3.x to 4.x.

but I didn't use this server. why I can received the mail.

Can you tell me how to check it or which function use it.

I didn't have and idea.

thank you.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,477 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,494 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,771 Reputation points Microsoft Employee
    2024-05-21T16:21:11.2533333+00:00

    Hello @Ding, Jianhua | MPB

    If you're receiving this email, it is because a function app within in your subscription has been identified as using a registered extension bundle that will soon be deprecated. This function app and/or associated trigger may have already been removed. However, to mitigate the issue, you can refer to the documentation on Migrate Azure Cosmos DB extension for Azure Functions to version 4.x | Microsoft Learn. Just click the tab to match the runtime you're function app is using.

    As for identifying function apps, you can use the following PowerShell script, that don't have the extension runtime set to 4.x

    $FunctionApps = Get-AzFunctionApp
    $FunctionApps | Sort-Object { $_.Name } | Where-Object { $_.ApplicationSettings["FUNCTIONS_EXTENSION_VERSION"] -ne "~4" }
    
    0 comments No comments