How to Disabled OWA Signatures in Office 365 for all Staff

1
271
views

How to Disabled OWA Signatures in Office 365 for all Staff.

This is normally done if a 3rd Party email branding software like exclaimer or CodeTwo is being used.

Native to Office 365 (Exchange Online) there is a great way to prevent users from Enabling Signatures in OWA : Disable OWA Signatures.

First lets create a connection to Office 365 Powershell.

$UserCredential = Get-Credential

Next lets create a new PSSession

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

After Creating the new PSSession lets import it

The shell will look as follow after the import

Now that we have a connection to #MSOffice365 , lets go ahead and run a script to view all

Users with OWA email signatures.

get-mailbox -resultsize unlimited | get-mailboxmessageconfiguration |

where-object {$_.AutoAddSignature -Match “True”} | select-object AutoAddSignature,MailboxOwnerId

Results after running the first script

Now that we have a list of all users we can then run the second script to remove all “AutoAddSignature” for all Mailbox’s

Get-Mailbox -ResultSize Unlimited | Set-MailboxMessageConfiguration -AutoAddSignature $false

| Select-Object Name,AutoAddSignature

Hope you enjoyed the read !

Sharing is caring!

Next articleInsufficient access rights to perform the operation. Enabeling Remote Mailbox
About Me ? I Guess i would start by saying i am a family guys and full time SysAdmin and Tech Junky. This Blog is my first attempt to share information about daily issues i come across as a SysAdmin as well as some new deployments i am part of. Topics that i will cover will mostly be about Office 365,Windows,Exchange as well as Active Directory. I hope some of my Blog posts helps someone #LiveLongAndBeLazy #Exchange #Office 365 #ActiveDirectory #Hyper-V
SHARE

1 COMMENT

  1. Amazinng post! I cbeck out your posts quite frequently and you’re always posting some great stuff.
    Keep up the good work!|
    Really interesting post! I will share this with my Facebook followers and I am
    sure that they will toltally agree. Keep thee goodposts
    coming.|
    Thanks for your great post! Please post more stuf like this.Absolutely loved it.

LEAVE A REPLY

Please enter your comment!
Please enter your name here