79395952

Date: 2025-01-29 07:15:48
Score: 2
Natty:
Report link

Thanks for your comments.

I finally got it working by using
az functionapp config appsettings --settings "@appSettings.json"

One mistake I made was that my filename was appSettings.json and I wrote AppSettings.json in the command. The error message I got then was "Failed to parse string as JSON: /azp/_work/2/s/deployment/workflowparameters/Dev/AppSettings.json" so I thought it did not understand that I wanted to use the contents of the file. It seems like you get that error message also when it can't find the file.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Emma Gustafsson