The Azure VPN Site-To-Site Connection is "always on". There is no option for an idle-timeout of a VPN session.
The "timeout/disconnect" config should be on the side of the "Fortigate".
You should check on the Fortigate device for a timeout on idle-timeout setting of the VPN connection.
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten