Ever since Microsoft implemented Modern Authentication, it is no longer possible to reliably sign out of MS Office desktop apps. We have been working closely with Microsoft to supply us the capability to perform signout of office desktop apps, however, it is not a priority for Microsoft and they are unlikely to provide us with a supported solution any time soon.
In the mean time we have worked with a few customers and have created a Powershell script that will sign out all used from MS Office desktop apps, with the following conditions:
- Sign out only Excel, Word, Powerpoint, Access, Publisher and Outlook desktop apps
- App must be version 16.0.7967 or greater
- Only for Windows version 1703 or greater
- Does not sign out or delete "Consumer Account" credentials
- Recently used files may still appear in the Windows Start Menu - but may not be on the computer
- Does work for the Office Hub App
- Does not immediately sign the user out of Skype
- It is not recommended to have Outlook running of the conference room computer as the user's mailbox and address book will be cached on the computer
Before deploying this script, make sure to:
- Remove any cached credentials are deleted from the conference computer.
- Disable caching of Work or School Accounts (see Do Not Cache Work or School Accounts)
The MS Office signout script can be downloaded from here: Signout MS Office 16 Script
To signout MS Teams, please see this FAQ: Signout MS Teams