Disable access to Sway with PowerShell for Microsoft 365

This article applies to both Microsoft 365 Enterprise and Office 365 Enterprise.

The ManageSway.ps1 PowerShell script lets you view and disable services in your Microsoft 365 organization, including Sway. This script automates the procedures that are described in the following topics:

You need to download the two files that are associated with the script: