An Azure service that automates the access and use of data across clouds without writing code.
Hello AdamBudzinskiAZA-0329,
Thank you for posting your question in the Microsoft Q&A forum.
The error occurs because Azure Logic Apps do not support direct PATCH operations on workflow properties. Instead, you must update the entire Logic App definition via an ARM template or PUT request. To disable SAS tokens:
- Export your Logic App’s JSON definition (via Azure Portal or GET API call).
- Add/modify the sasAuthenticationPolicy property under accessControl.triggers as shown in your example.
- Redeploy the updated JSON using an ARM template deployment or PUT request to the Logic App’s resource endpoint.
Key Notes:
- Use PUT (not PATCH) to overwrite the entire definition.
- Validate the JSON structure to avoid syntax errors.
- Consider Azure Policy or DevOps pipelines for automated enforcement.
If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. Your contribution to the Microsoft Q&A community is highly appreciated.