Solved

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

Posted on 2016-09-26
5
469 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 41

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 41

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…
how to add IIS SMTP to handle application/Scanner relays into office 365.

732 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