{ "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "actions": { "Condition": { "actions": {}, "expression": { "or": [ { "not": { "equals": [ "@int(dayOfMonth(utcNow()))", 1 ] } }, { "not": { "equals": [ "@int(dayOfMonth(utcNow()))", "@int(formatDateTime(subtractFromTime(startOfMonth(addToTime(utcNow(),1,'month')),1,'day'),'dd'))" ] } } ] }, "runAfter": {}, "type": "If" } }, "contentVersion": "1.0.0.0", "outputs": {}, "parameters": {}, "triggers": { "Recurrence": { "recurrence": { "frequency": "Day", "interval": 1, "schedule": { "hours": [ "23" ], "minutes": [ 59 ] }, "startTime": "2022-06-08T00:00:00Z", "timeZone": "UTC" }, "type": "Recurrence" } } }, "parameters": {} }