Solved

How can I disable the events from email feature in Office365 via powershell

Posted on 2016-09-26
5
250 Views
Last Modified: 2016-09-26
We use Office365 for our email and we noticed recently that my colleagues event confirmations (plane and hotel reservations) are showing up on their Outlook calendars calendars as private events. I know a user can disable or modify this feature in OWA, Screenshot of Email from Events feature in Office365 OWA but is there a way to programmatically change this feature for all my colleagues?  We all use shared calendars and managing this feature on a user by user basis is not ideal for our organization.
0
Comment
Question by:sscal
  • 3
  • 2
5 Comments
 
LVL 39

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 500 total points
ID: 41816669
You can do it via PowerShell:

Set-MailboxMessageConfiguration vasil -EventsFromEmailEnabled $false

Open in new window


Or bulk for all users:

Get-Mailbox | Set-MailboxCalendarConfiguration -EventsFromEmailEnabled $false

Open in new window

0
 
LVL 1

Author Comment

by:sscal
ID: 41816673
Fantastic!  Is there a way to keep the feature but to disable the private attribute of the calendar entries created by this feature?
0
 
LVL 39

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 41816691
You should be able to control all settings via PowerShell, here's the full list of the relevant parameters:

EventsFromEmailEnabled                : True
EventsFromEmailDelegateChecked        : True
EventsFromEmailShadowMailboxChecked   : False
ReportEventsCreatedFromEmailEnabled   : True
CreateEventsFromEmailAsPrivate        : True
FlightEventsFromEmailEnabled          : True
DiningEventsFromEmailEnabled          : True
HotelEventsFromEmailEnabled           : True
PackageDeliveryEventsFromEmailEnabled : False
0
 
LVL 1

Author Comment

by:sscal
ID: 41816692
Perfect.  Thanks for your help.
0
 
LVL 1

Author Closing Comment

by:sscal
ID: 41816695
The solution is exactly what I needed.  Thanks Vasil!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
A brief introduction to what I consider to be the best editor for PowerShell.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now