skip to Main Content

While upgrading if you are facing issue, especially below error

There was an error performing a read operation on the Blob Storage Secret Repository. then check out the following ways in comment/answer to resolve this

2

Answers


  1. Chosen as BEST ANSWER

    Perform the below actions or verify with the below steps

    • You must add the package microsoft.azure.webjobs.extensions.storage latest version
    • Update your existing package versions to the latest specially
    • microsoft.azure.webjobs.extensions.durabletask2.7.2
    • nmicrosoft.net.sdk.functions4.1.1

    Good to include the following in your local.setting.json

    • "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    • "AzureWebJobsDashboard": "UseDevelopmentStorage=true",
    • "FUNCTIONS_WORKER_RUNTIME": "dotnet"

    Modify csproj project file to make sure your azure function has the following

    • TargetFramework as net6.0
    • AzureFunctionsVersion as v4

    Your JSON configuration file must have "FUNCTIONS_EXTENSION_VERSION" as "~4"

    Make sure Azurite is up and coming

    • Close add visual studio instances
    • open cmd with administrator rights
    • Navigate to C:Program FilesMicrosoft Visual Studio2022EnterpriseCommon7IDEExtensionsMicrosoftAzure Storage Emulator
    • type "azurite.exe" and press enter

    Note: Always run azurite first and then open visual studio

    The above step will help you to make sure azurite is running perfectly without error especially azure storage emulator error "Port conflict with an existing application"


  2. Having recently done this activity. you must upgrade azure functions version to 4 in your csproj file.

    and upgrade all nuget packages in your project. this should take care of incompatible packages being upgraded. That should be sufficiant.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search