OWAMailboxPolicy uitschakelen

Introduction

Het is niet langer nodig om de OWAMailboxPolicy handmatig in te stellen via PowerShell-commando’s. Dit beleid maakt nu deel uit van de standaardfunctionaliteit van Outlook Web Access (OWA). Als je dit beleid in het verleden handmatig voor je gebruikers hebt ingesteld, moet je het uitschakelen om onverwacht gedrag te voorkomen wanneer gebruikers e-mails verzenden vanuit Outlook Web Access (OWA).

Disable OWAMailboxPolicy

Om de OWAMailboxPolicy uit te schakelen:

  1. Verbind met Exchange via PowerShell
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName admin@domain.com
  1. Controleer de beschikbare OwaMailboxPolicies en hun waarde voor OnSendAddinsEnabled. Zorg dat de standaardwaarde FALSE is: Get-OwaMailboxPolicy | fl name, onsendaddinsenabled
  2. Werk de OwaMailboxPolicy bij voor alle gebruikers: Get-User -Filter {RecipientTypeDetails -eq 'UserMailbox'} -ResultSize Unlimited | Set-CASMailbox -OwaMailboxPolicy OWAMailboxPolicy-Default
  3. Sluit de verbinding met Exchange: Disconnect-ExchangeOnline
  4. Schakel de taak uit of verwijder deze, zodat nieuwe gebruikers de OwaMailboxPolicy niet automatisch krijgen:
    1. Open de Windows Taakplanner.
    2. Zoek de taak die de OwaMailboxPolicy inschakelt.
    3. Schakel de taak uit of verwijder deze.