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

0
78
views

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

Import-PSSession $Session

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 fist script

Results of Users with OWA enabled signatures will display. We can now 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 !

Twitter: shaun.hardneck

 

Sharing is caring!

Previous articleOutlook on the web makes going on vacations less stressful
Next articleVMware vs Hyper-V – Virtualization Battle
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

LEAVE A REPLY

Please enter your comment!
Please enter your name here