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 !
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.