Non-owners deleting conversations from Outlook on iOS

%3CLINGO-SUB%20id%3D%22lingo-sub-877328%22%20slang%3D%22en-US%22%3ENon-owners%20deleting%20conversations%20from%20Outlook%20on%20iOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-877328%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20had%20a%20ticket%20open%20with%20Microsoft%20for%20a%20couple%20of%20weeks%20trying%20to%20track%20down%20why%20conversations%20in%20a%20group%20mailbox%20were%20mysteriously%20dissapearing.%20I%20was%20finally%20able%20to%20do%20some%20digging%20in%20the%20mailbox%20audit%20logs%20for%20one%20of%20the%20affected%20groups%2C%20and%20found%20some%20logs%20showing%20that%20the%20messages%20were%20being%20deleted%20by%20some%20random%20user%2C%20(who%20is%20not%20an%20owner%20of%20the%20group%2C%20just%20a%20member)%20using%20the%20Outlook%20for%20iOS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3ESearch-MailboxAuditLog%20-Identity%20groupname%40example.com%20-GroupMailbox%20-showdetails%20-startDate%202019-09-26T08%3A40-7%20-EndDate%202019-09-26T08%3A57-7%0A...truncated...%0AOperation%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%20SoftDelete%0AOperationResult%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%20Succeeded%0AClientInfoString%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%20Client%3DOutlookService%3BOutlook-iOS%2F2.0%3B%0AInternalLogonType%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%20Delegated%0AMailboxOwnerUPN%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%20groupname%40example.com%0ALogonUserDisplayName%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%20John%20Smith%20(User%20who%20I%20was%20logged%20in%20as)%0ASourceItemSubjectsList%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%20Subject%20of%20test%20email%0A...truncated...%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20confirmed%20this%20is%20happening%2C%20logged%20in%20as%20a%20non-owner%20in%20Outlook%202019%20or%20Outlook%20on%20the%20Web%20I%20can't%20delete%20messages%20from%20that%20group%2C%20but%20logged%20in%20as%20the%20same%20user%20in%20Outlook%20for%20iOS%20I%20can%20delete%20anything.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20else%20confirm%20whether%20they%20can%20do%20the%20same%20thing%20in%20their%20tenant%3F%20I'm%20worried%20about%20whether%20this%20is%20a%20bug%20in%20the%20iOS%20app%20itself%20or%20just%20with%20our%20tenant.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-877328%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-878591%22%20slang%3D%22en-US%22%3ERe%3A%20Non-owners%20deleting%20conversations%20from%20Outlook%20on%20iOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-878591%22%20slang%3D%22en-US%22%3E%3CP%3EWell%20everyone%20in%20the%20group%20has%20equal%20access%2C%20thus%20you%20do%20not%20need%20to%20be%20an%20owner%20in%20order%20to%20delete%20stuff.%20At%20least%20that%20was%20the%20initial%20intention%2C%20as%20at%20some%20point%20Microsoft%20seems%20to%20have%20changed%20the%20behavior.%20Looking%20at%20the%20mailbox%20folder%20permissions%20now%2C%20you%20can%20see%20that%20members%20of%20the%20Group%20get%20Author%20permissions%2C%20in%20other%20words%20they%20can%20only%20delete%20items%20they've%20created.%20You%20can%20easily%20confirm%20this%20by%20looking%20at%20the%20permissions%2C%20or%20by%20performing%20tests%20in%20OWA%2FOutlook.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-cpp%22%3E%3CCODE%3E%23%20Get-MailboxFolderPermission%20default%20-GroupMailbox%0A%0AFolderName%20%20%20%20%20%20%20%20%20%20%20User%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20AccessRights%0A----------%20%20%20%20%20%20%20%20%20%20%20----%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20------------%0ATop%20of%20Informatio...%20Default%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7BNone%7D%0ATop%20of%20Informatio...%20Anonymous%20%20%20%20%20%20%20%20%20%20%20%20%7BNone%7D%0ATop%20of%20Informatio...%20Owner%40local%20%20%20%20%20%20%20%20%20%20%7BReadItems%2C%20CreateItems%2C%20EditOwnedItems%2C%20DeleteOwnedItems%2C%20DeleteAllItems%2C%20...%0ATop%20of%20Informatio...%20Member%40local%20%20%20%20%20%20%20%20%20%7BAuthor%7D%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20imagine%20the%20tests%20you%20did%20via%20iOS%20were%20with%20the%20Author%20of%20the%20message%2C%20thus%20you%20were%20able%20to%20delete%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20a%20side%20note%2C%20are%20your%20O365%20Groups%20associated%20with%20your%20onmicrosoft.com%20domain%2C%20or%20a%20custom%20one%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-878595%22%20slang%3D%22en-US%22%3ERe%3A%20Non-owners%20deleting%20conversations%20from%20Outlook%20on%20iOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-878595%22%20slang%3D%22en-US%22%3E%3CP%3EOn%20second%20thought%2C%20maybe%20they've%20always%20worked%20like%20that%2C%20but%20I've%20modified%20them%20for%20some%20groups%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-879322%22%20slang%3D%22en-US%22%3ERe%3A%20Non-owners%20deleting%20conversations%20from%20Outlook%20on%20iOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-879322%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20if%20I%20wasn't%20clear%20but%20no%2C%20I'm%20talking%20about%20members%20deleting%20other%20people's%20messages%2C%20not%20their%20own.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20affecting%20both%20groups%20that%20are%20associated%20with%20our%20custom%20domain%2C%20and%20ones%20that%20are%20.onmicrosoft.com%2C%20it%20doesn't%20seem%20to%20matter.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20confirmed%20the%20permissions%20on%20the%20group%20are%20what%20you%20described%2C%20and%20as%20far%20as%20I%20can%20remember%20it%20has%20worked%20that%20way%20at%20least%20as%20far%20back%20as%202015.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Eget-mailboxfolderpermission%20-GroupMailbox%20-Identity%20groupname%40example.onmicrosoft.com%0A%0AFolderName%20%20%20%20%20%20%20%20%20%20%20User%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20AccessRights%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20SharingPermissionFlags%0A----------%20%20%20%20%20%20%20%20%20%20%20----%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20------------%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20----------------------%0ATop%20of%20Informatio...%20Default%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7BNone%7D%0ATop%20of%20Informatio...%20Anonymous%20%20%20%20%20%20%20%20%20%20%20%20%7BNone%7D%0ATop%20of%20Informatio...%20Owner%40local%20%20%20%20%20%20%20%20%20%20%7BReadItems%2C%20CreateItems%2C%20EditOwnedI...%0ATop%20of%20Informatio...%20Member%40local%20%20%20%20%20%20%20%20%20%7BAuthor%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3Ein%20other%20words%20they%20can%20only%20delete%20items%20they've%20created.%3C%2FBLOCKQUOTE%3E%3CP%3EThat's%20exactly%20what%20I'm%20saying%2C%20they%20SHOULD%20only%20be%20able%20to%20delete%20items%20they%20created%2C%20not%20anyone's%20items.%20In%20Outlook%20on%20the%20Web%20and%20Desktop%20Outlook%202019%20it%20works%20as%20expected.%20But%20Outlook%20on%20iOS%20(And%20as%20far%20as%20I%20can%20tell%2C%20Android%20too)%20it%20completely%20ignores%20those%20permissions%20and%20allows%20any%20member%20to%20delete%20any%20message%2C%20including%20other%20users'.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20just%20curious%20if%20anyone%20else%20can%20try%20it%20with%20a%20test%20group%20in%20their%20own%20tenant%20to%20give%20me%20a%20hint%20whether%20it's%20a%20bug%20in%20the%20iOS%20app%20itself%2C%20or%20just%20a%20misconfiguration%20on%20our%20tenant.%20I%20have%20tickets%20open%20with%20both%20Office%20365%20support%20and%20the%20iOS%20Outlook%20in-app%20support%20but%20I'm%20not%20sure%20which%20side%20to%20pressure%20more.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-879588%22%20slang%3D%22en-US%22%3ERe%3A%20Non-owners%20deleting%20conversations%20from%20Outlook%20on%20iOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-879588%22%20slang%3D%22en-US%22%3E%3CP%3EI%20don't%20have%20iOS%20to%20test%2C%20but%20on%20the%20Android%20app%20I%20can%20only%20delete%20my%20own%20messages.%20Unless%20I'm%20an%20owner%20that%20is.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I've had a ticket open with Microsoft for a couple of weeks trying to track down why conversations in a group mailbox were mysteriously dissapearing. I was finally able to do some digging in the mailbox audit logs for one of the affected groups, and found some logs showing that the messages were being deleted by some random user, (who is not an owner of the group, just a member) using the Outlook for iOS.

 

Search-MailboxAuditLog -Identity groupname@example.com -GroupMailbox -showdetails -startDate 2019-09-26T08:40-7 -EndDate 2019-09-26T08:57-7
...truncated...
Operation                              : SoftDelete
OperationResult                        : Succeeded
ClientInfoString                       : Client=OutlookService;Outlook-iOS/2.0;
InternalLogonType                      : Delegated
MailboxOwnerUPN                        : groupname@example.com
LogonUserDisplayName                   : John Smith (User who I was logged in as)
SourceItemSubjectsList                 : Subject of test email
...truncated...

 

 

I confirmed this is happening, logged in as a non-owner in Outlook 2019 or Outlook on the Web I can't delete messages from that group, but logged in as the same user in Outlook for iOS I can delete anything.

 

Can anyone else confirm whether they can do the same thing in their tenant? I'm worried about whether this is a bug in the iOS app itself or just with our tenant.

4 Replies
Highlighted

Well everyone in the group has equal access, thus you do not need to be an owner in order to delete stuff. At least that was the initial intention, as at some point Microsoft seems to have changed the behavior. Looking at the mailbox folder permissions now, you can see that members of the Group get Author permissions, in other words they can only delete items they've created. You can easily confirm this by looking at the permissions, or by performing tests in OWA/Outlook.

 

# Get-MailboxFolderPermission default -GroupMailbox

FolderName           User                 AccessRights
----------           ----                 ------------
Top of Informatio... Default              {None}
Top of Informatio... Anonymous            {None}
Top of Informatio... Owner@local          {ReadItems, CreateItems, EditOwnedItems, DeleteOwnedItems, DeleteAllItems, ...
Top of Informatio... Member@local         {Author}

 

I imagine the tests you did via iOS were with the Author of the message, thus you were able to delete it.

 

On a side note, are your O365 Groups associated with your onmicrosoft.com domain, or a custom one?

Highlighted

On second thought, maybe they've always worked like that, but I've modified them for some groups :)

Highlighted

@Vasil Michev 

Sorry if I wasn't clear but no, I'm talking about members deleting other people's messages, not their own.

 

It's affecting both groups that are associated with our custom domain, and ones that are .onmicrosoft.com, it doesn't seem to matter.

 

I confirmed the permissions on the group are what you described, and as far as I can remember it has worked that way at least as far back as 2015.

 

get-mailboxfolderpermission -GroupMailbox -Identity groupname@example.onmicrosoft.com

FolderName           User                 AccessRights                           SharingPermissionFlags
----------           ----                 ------------                           ----------------------
Top of Informatio... Default              {None}
Top of Informatio... Anonymous            {None}
Top of Informatio... Owner@local          {ReadItems, CreateItems, EditOwnedI...
Top of Informatio... Member@local         {Author}

 

 

 

in other words they can only delete items they've created.

That's exactly what I'm saying, they SHOULD only be able to delete items they created, not anyone's items. In Outlook on the Web and Desktop Outlook 2019 it works as expected. But Outlook on iOS (And as far as I can tell, Android too) it completely ignores those permissions and allows any member to delete any message, including other users'.

 

I'm just curious if anyone else can try it with a test group in their own tenant to give me a hint whether it's a bug in the iOS app itself, or just a misconfiguration on our tenant. I have tickets open with both Office 365 support and the iOS Outlook in-app support but I'm not sure which side to pressure more.

 

Highlighted

I don't have iOS to test, but on the Android app I can only delete my own messages. Unless I'm an owner that is.