This is a known issue in the PK4 TimeTracker application, when you try to login to the TimeTracker app with Azure AD, you see the error as in the screenshot for the first time login.

Click the OK button and try to log in to the application again, you will be logged in and the app works fine after that.

The issue will be fixed in the upgraded version of the PK4 TimeTracker.