0

I'm working with a Standard logic app in Azure and need to adjust the Runtime.Backend.VariableOperation.MaximumVariableSize setting in the host.json file. I attempted to edit the file using Visual Studio Code (via Azure Tools extension), but the file appears to be read-only and won't allow changes.

Has anyone encountered this issue? Is there a specific method or workaround to modify the host.json settings for a Standard logic app? Any guidance on how to enable write access or how to properly deploy a custom host.json configuration would be greatly appreciated.

3
  • Where was the original development of the workflows undertaken? In the portal or in VS Code? Commented Feb 24 at 21:05
  • @InvalidSyntax, you have to save the file to edit in visual studio code. Commented Feb 25 at 7:59
  • @Skin it was done in the portal Commented Feb 25 at 9:47

2 Answers 2

2

Azure Logic App Standard doesn't allow direct modification of certain files via the Azure Tools extension in Visual Studio code.

I have tried to edit the host.json file of the logic apps workflow (which was created in Portal) in Visual studio code and faced the same issue.

enter image description here

To resolve this, you have to save the file you want to edit.

Open Visual Studio code, click on File=>Save or Ctrl+S and save the file.

enter image description here

Now, you will be able to edit the host.json file.

enter image description here

You can edit host.json in Portal directly.

Follow below Steps:

  1. Navigate to Development Tools=>Advanced Tools=>Go in Logic Apps.
  2. It will open the Kudu site of logic app.
  3. Click on Debug Console=> select CMD.

enter image description here

enter image description here

  1. Go to Site/wwwroot =>host.json.
  2. Click on edit icon near host.json and you will be able to edit the file.

enter image description here

enter image description here

Sign up to request clarification or add additional context in comments.

5 Comments

But once you save it locally, how do you then deploy it back to the Azure Logic App?
You can directly edit host.json in portal instead of editing the file in visual studio code and deploy it to Azure.
Can you clarify where this can be found? I've been unable to locate it.
Navigate to Advanced tools=>Go(KUDU site) in Logic Apps, open Debug Console=>CMD=>site/wwwroot click on the edit icon at host.json file and you will be able to edit the file. Image1
Check the updated answer @InvalidSyntax.
0

You can find the steps to edit the host settings in the host.json file using the Azure portal in the following product documentation:

Edit host and app settings for Standard logic apps

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.