Skip to content

PowerShell Script to cleanup all failed OWA rules in Exchange Online

License

Notifications You must be signed in to change notification settings

paulkakell/Cleanup-OWARules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Cleanup-OWARules

This PowerShell script is designed to clean up erroring OWA (Outlook Web App) rules from user mailboxes in Exchange Online. It connects to Exchange Online, retrieves all user mailboxes, identifies erroring OWA rules, and removes them.

Prerequisites

  • Windows PowerShell 5.1 or later
  • Exchange Online Management Module installed To install the Exchange Online Management Module, open PowerShell as an administrator and run: Install-Module -Name ExchangeOnlineManagement

Usage

  1. Save the script in a file named CleanUpOWARules.ps1.
  2. Open PowerShell and navigate to the directory containing the script.
  3. Run the script using the command:
    .\CleanUp-OWARules.ps1

The script will prompt you for your Office 365 admin credentials. After providing the credentials, it will process each mailbox, removing erroring OWA rules.

About

PowerShell Script to cleanup all failed OWA rules in Exchange Online

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published