Hi There,
Thank you for asking this question on the Microsoft Q&A Platform.
Yes, you can disable/enable Standard LogicApps using below script,
This should work for disable the workflow:
az functionapp config appsettings set --name x --resource-group y --settings Workflows.<workflow_Name>.FlowState=Disabled
This should work for enable the workflow:
az functionapp config appsettings set --name x --resource-group y --settings Workflows.<workflow_Name>.FlowState=Enable
Sample Scenario,
Standard LogicApp 'TestSingleTenantLogicApps' with 5 enabled workflow
Run AZ CLI command to disable 'WF-1' workflow
After command execution, result
Run AZ CLI command to enable 'WF-1' workflow
Regards,
Kamlesh Kumar
BizTalk Techie
If this answer solved your problem, please click the Verify Answer button (found below the answer) to help other users who have the same question.