Greetings, we too faced a similar challenge some time ago. The app
https://appsource.microsoft.com/en-us/product/office/WA200002986 helped us. It integrates with Teams and allows you to easily track your working hours and manage your schedule. Conveniently, all data is immediately synchronized with other Office 365 tools. Our company has been using it for over a year, and it has proved to be the best. The application helps automate time tracking and scheduling, which saves a lot of time and resources.