Exchange Online and Microsoft.Exchange.Data.SharingPolicyAction is invalid error on Get-MailboxFolderPermission


Recently we got an issue on Exchagne Online, for one mailbox (yes 1! :)) we were not able to properly read permissions, the error was:

•	WARNING: An unexpected error has occurred and a Watson dump is being generated: Value specified for a parameter of type <span id="mce_SELREST_start" style="overflow:hidden;line-height:0;"></span>Microsoft.Exchange.Data.SharingPolicyAction is invalid<span id="mce_SELREST_end" style="overflow:hidden;line-height:0;"></span>: 0.
•	Parameter name: allowedActions
•	Value specified for a parameter of type Microsoft.Exchange.Data.SharingPolicyAction is invalid: 0.
•	Parameter name: allowedActions
•	    + CategoryInfo          : NotSpecified: (:) [Get-MailboxFolderPermission], EnumOutOfRangeException
•	    + FullyQualifiedErrorId : Microsoft.Exchange.ExchangeSystem.EnumOutOfRangeException,Microsoft.Exchange.Management.StoreTasks.GetMailboxFolderPermission
•	    + PSComputerName        :


After contacting Microsoft they suggested running following command:

Get-SharingPolicy | Set-SharingPolicy -Domains Anonymous:CalendarSharingFreeBusySimple,*:CalendarSharingFreeBusyDetail

After running the above command we were able to properly rad permissions. More details about sharing policies can be found here.


Veeam Backup for Microsoft Office 365 and “Failed to synchronize item changes. The server cannot service this request right now. Try again later.” error.

Recently I’ve been struggling with a few issues on Veeam Backup for Microsoft Office 365, still struggling with one, but fortunately can post an update about two that has been resolved. Jupi!


Okay, so I got this error going on on Veeam:

30.10.2017 07:21:17 :: Job started at 30.10.2017 08:21:17
30.10.2017 07:21:17 :: Connected to organization
30.10.2017 07:21:20 :: Found 1 mailboxes
30.10.2017 07:21:20 :: Processing mailbox <mailbox_name>@<> failed with error: Failed to synchronize item changes. The server cannot service this request right now. Try again later. :: 0:21:22
30.10.2017 07:42:43 :: Processing of all mailboxes failed
30.10.2017 07:42:43 :: Job failed at 30.10.2017 08:42:43


Backup of one single mailbox was constantly failing.

What appeared was mailbox was over 100GB in size When running Get-MailboxStatistics against it – do not know how it is possible though as O365 gives you 100GB for the mailbox.

After enabling archive for this mailbox and runnig Start-ManagedFolderAssistant so the main mailbox went down below 100GB – the backup went just fine ^^.