Solved

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

Posted on 2016-09-26
5
172 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 38

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 38

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

708 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

10 Experts available now in Live!

Get 1:1 Help Now