Hi @Bharambe, Dhanashri,
Thank you for reaching out on the Microsoft Q&A forum.
I understand that even after increasing the original response timeout to 240 seconds, you are still experiencing a 504 error.
We have received similar reports, and there was a recent issue at the front door level, which has now been mitigated.
This matter has already been escalated to our backend team.
This issue has now been mitigated. Could you please confirm if the issue persists.
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.