The Microsoft Office 365 Sign-In Assistant application will display a notification bubble in the Windows tray when the Office 365 password is about to expire.
The default duration of the notification bubble is five seconds. If you need to modify the duration (e.g. to increase the chance of the user noticing the notification) you can add a key to the registry or change a setting in the Control Panel.
Method 1: Add a key to the Registry
Method 2: Change setting in Control Panel