Sign-out from M365 application using script

Prabhjot Singh 170 Reputation points
2024-05-24T07:12:46.8633333+00:00

Hi Team,

There are windows 11 machines in our environment in which we have M365 applications installed, and we are willing to sign-out current logged-in user account from all M365 applications present in user device using PowerShell script.

Like most of the users latest M365 version, 2% of user have Microsoft office 2016 version and 1% have Microsoft office 2019 version.

So, we are trying to automate the process of sign-out from M365 application for current logged in user in Windows 11 machine.

Note- The device is not stolen, only for current changes in environment we want to perform this for bulk user.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,132 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,659 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,234 questions
0 comments No comments
{count} votes