Skip to content
Menu
Archicode
  • About me
Archicode
May 15, 2024

Issue when debugging Azure Function locally

If you’re developing Azure Functions, it may happen that you encounter this error :

Failed to decrypt settings. Encrypted settings only be edited through 'func settings add'.

That often means that there’s an issue with your local.settings.json file. There are different ways that people might use to circumvent this error but I found for me that doing the following works everytime I have this error.

  1. Open Windows Terminal or any command line tool
  2. Go to your Azure function project path
  3. Execute the following command “func settings encrypt”
  4. Then execute the following “func settings decrypt”.

That should do the trick. Let me know if that worked for you.

Happy fixing

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How to Deactivate and Reactivate a Plugin in Microsoft Dynamics 365: Resolving the “ProjectOperations_Anchor PackageImportFailed” Error
  • Issue when debugging Azure Function locally
  • Understanding Blazor Component Parameters
  • Error NETSDK1082 in Maui Blazor Hybrid App
  • Understanding @inject in Blazor Components

Recent Comments

  1. Harisinou on Understanding Blazor Component Parameters
  2. ปั้มไลค์ on Encourage your kids to read books
  3. Jamesglalt on How to : Blazor components (basic)
  4. Liza Conable on How to blazorify an existing mvc app
  5. BrianKit on How to : Blazor components (basic)

Archives

  • April 2025
  • May 2024
  • December 2023
  • November 2023
  • October 2023
  • May 2023
  • March 2021
  • August 2020
  • July 2020
  • June 2020
  • October 2019
  • June 2019
  • February 2019

Categories

  • .NET
  • Fixes
  • IoT
  • Misc
  • Uncategorised
  • Uncategorized
©2025 Archicode | Powered by WordPress and Superb Themes!