Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Dear Edwald,
Welcome to the forum here.
May I know whether you want users to log out of the computers automatically or not?
If you want users to be signed out of browser, desktop and mobile applications accessing Office 365 resources across all devices, you can run the command mentioned in Revoke-SPOUserSession (Microsoft.Online.SharePoint.PowerShell) | Microsoft Learn.
If there is no Azure AD environment, just the local AD environment, I suggest you post a new thread in the Windows category on our forum for further help.
Thanks for your effort and time.
Sincerely,
Cliff | Microsoft Community Moderator