Solved

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

Posted on 2016-09-26
5
307 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 40

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 40

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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Find out what you should include to make the best professional email signature for your organization.
how to add IIS SMTP to handle application/Scanner relays into office 365.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

776 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