Posted in : Applications, Exchange, Microsoft, Office 365, Powershell

1 year ago

A few days ago I got a question from an end user that reported quite a strange issue regarding Meeting invites in Outlook.
The user added a meeting room to the meeting invite, and then when the user added a distribution group to the invite, the meeting room and the group disappeared and no meeting was sent or created.
After a bit of troubleshooting on the client, I couldn’t find any issues with her Outlook client. This lead me to dig a bit deeper into the Troubleshooting with the help of Powershell.
The first thing I did was to connect to the Exchange Online Powershell Module.
After that I saved all the members of the distribution list to a variable so I can later use it for a Foreach loop.
After comparing a variety of attributes for the members, I ran the command below and got some interesting information.

Connect-EXOPSSession -UserPrincipalName ""
$Members = Get-DistributionGroupMember -Identity ""
foreach ($Member in $Members){
   Get-MailboxCalendarConfiguration -Identity "$Member" | select Identity, WorkingHoursStartTime, WorkingHoursEndTime
Identity         WorkingHoursStartTime WorkingHoursEndTime
--------         --------------------- -------------------
User1            08:00:00              17:00:00
User2            08:00:00              17:00:00
User3            08:00:00              21:30:00
User4            08:00:00              17:00:00
User5            08:00:00              17:00:00
User6            08:00:00              17:00:00
User7            08:00:00              17:00:00
User8            08:00:00              17:00:00
User9            08:00:00              17:00:00
User10           08:00:00              17:00:00
User11           08:00:00              17:00:00
User12           08:00:00              17:00:00
ErrorUser        16:00:00              01:00:00
"WARNING: The object ErrorUser has been corrupted or isn't compatible with Microsoft support requirements,
and it's in an inconsistent state. The following validation errors happened:
WARNING: The end time that you entered occurs before the start time. The start time must occur before the end time."

As you can see on the warning above, one of the users (ErrorUser) are “corrupt” and this is because of incorrect ”WorkingHours” which Microsoft doesn’t support.
The solution to the issue was to change the ”WorkingHoursStartTime” and ”WorkingHoursEndTime” values so they matched the other users in the distribution group.

Set-MailboxCalendarConfiguration -Identity -WorkingHoursStartTime "08:00:00" -WorkingHoursEndTime "17:00:00"

After I did that change I contacted the end user who reported the issue, whom then verified that they could now send the invite as usual.
If you have any questions regarding this don’t hesitate to contact med at or by leaving a comment below.

Tags : calendar, Exchange Online, meeting, Office 365, Outlook, PowerShell

Add comment

Your comment will be revised by the site if needed.