Forum Discussion
Benjamin_Breja
May 31, 2022Copper Contributor
Log out from Office 365 account
Hello everyone,
We have a Microsoft 365 A3 license, which is used on school computers by students without a Windows Active Directory.
I'm looking for a powershell script that can sign out a student from Microsoft 365 account on a computer after they log out, so other students won't have access to it after logging back in.
Any help would be appreciated.
Thanks.
- mikhailfSteel Contributor
Hello Benjamin_Breja ,
You could clean cookies for browsers after a user signs out.
Check this: [SOLVED] Clearing Cache/Cookies/History from All Browsers - PowerShell (spiceworks.com)
- mikhailfSteel Contributor
Hello Benjamin_Breja,
If you have a local Active Directory you can configure GPO that will clear cache and history. When the browser is closed. Probably, this can help you.