Hi @B K ,
Thank you for posting query in Microsoft Q&A Platform.
I tried below expression in Synapse & ADF. Both the places it executed without any issues. Kindly check below screenshots.
@formatDateTime(convertTimeZone(adddays(utcnow(),sub(0,mod(dayOfWeek(utcnow()),7))),'UTC','Eastern Standard Time'), 'yyyy_MM_dd')
Synapse:
ADF:
Could you please try to re-run and see if that helps? If not, please share your implementation details step by step. So that I can try same and see. Thank you.
Hope this helps. Please let us know if any further queries.
------------
Please consider hitting Accept Answer
button. Accepted answers help community as well.