Home

Owners unable to delete messages in Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-296979%22%20slang%3D%22en-US%22%3EOwners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296979%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOwners%20are%20unable%20to%20delete%20messages%20from%20their%20respective%20channels.%20I%20have%20researched%20to%20make%20sure%20all%20the%20settings%20are%20correct%20before%20starting%20a%20conversation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20made%20sure%20the%20setting%20is%20enabled%20for%20the%20global%20messaging%20policy.%20I%20have%20also%20created%20a%20new%20policy%20and%20applied%20it%20to%20myself%20for%20testing%2C%20but%20this%20did%20not%20solve%20the%20issue%20as%20well.%20I%20restarted%20Teams%20app%20after%20applying%20the%20policy%20and%20tested%20on%20browser%20app.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20424px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F62029i2C58993B74412520%2Fimage-dimensions%2F424x191%3Fv%3D1.0%22%20width%3D%22424%22%20height%3D%22191%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20425px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F62030i145BE93047E7C336%2Fimage-dimensions%2F425x172%3Fv%3D1.0%22%20width%3D%22425%22%20height%3D%22172%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOther%20users%20said%20you%20have%20to%20also%20enable%20it%20for%20the%20team%20on%20Teams%3B%20however%2C%20the%20setting%20is%20not%20present.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20536px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F62031i380F93FB2BE06C0A%2Fimage-dimensions%2F536x393%3Fv%3D1.0%22%20width%3D%22536%22%20height%3D%22393%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20confirmed%20that%20I%20am%20the%20owner%2C%20but%20not%20creator%2C%20of%20this%20channel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20Teams%20Admin%20Portal%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20170px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F62033i94D154313DFFD0AD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20Teams%20App%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20206px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F62034iF0BC2EC1159D2852%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20sure%20if%20it%20matters%2C%20but%20under%20O365%20admin%20center%20-%26gt%3B%20Services%20%26amp%3B%20Add-ins%20-%26gt%3B%20Microsoft%20Teams%20-%26gt%3B%20Messaging%20looks%20like%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20513px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F62036i2B4B95C7458C677E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20on%20a%20hybrid%20environment%20if%20that%20matters.%20Any%20help%20would%20be%20great%20so%20we%20can%20start%20moderating%20these%20channels.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-296979%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUser%20Interface%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-331973%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331973%22%20slang%3D%22en-US%22%3EGlad%20to%20hear%20%3A%20)%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-331964%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331964%22%20slang%3D%22en-US%22%3E%3CP%3EChecking%20back%20in%20that%20this%20appears%20to%20be%20resolved%20now.%20It%20may%20have%20needed%20time%20to%20replicate%20the%20change%20out%20to%20my%20environment%2C%20but%20I%20can%20now%20delete%20messages%20out%20of%20Teams%20chats.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329620%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329620%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20having%20the%20exact%20same%20problem%20and%20I%20have%20retraced%20all%20of%20your%20steps.%20It%20is%20100%25%20identical%2C%20down%20to%20the%20grayed%20out%20option%20in%20O365%20Admin.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20user%20who%20said%20something%20unsavory%20in%20a%20public%20Teams%20chat%20channel%20and%20I%20have%20no%20ability%20to%20delete%20it...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-297008%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-297008%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Chris!%20I%20will%20report%20back%20after%20I%20attempt%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-297006%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-297006%22%20slang%3D%22en-US%22%3EIn%20addition%20to%20above.%3CBR%20%2F%3ETo%20add%20a%20policy%20you%20can%20try%3A%3CBR%20%2F%3EGrant-CsTeamsMessagingPolicy%20-identity%20%22your%20user%22%20-PolicyName%20%22Delete%20Messages%22%3CBR%20%2F%3Etry%20and%20if%20it%20don't%20work%2C%20try%20setting%20back%20to%20global%3CBR%20%2F%3EGrant-CsTeamsMessagingPolicy%20-identity%20%22youruser%22%20-PolicyName%20Global%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-297004%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-297004%22%20slang%3D%22en-US%22%3ETry%20and%20see%20what%20Powershell%20returns.%3CBR%20%2F%3E1.%20First%20Install%20the%20Skype%20for%20Business%20Online%20powershell%20module%20from%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D39366%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D39366%3C%2FA%3E%3CBR%20%2F%3E2.%20Says%20a%20reboot%20is%20required%20after%20installation%20but%20I%20don't%20think%20it%20is%2C%20try%20if%20it%20doesn't%20work%2C%20then%20reboot%20%3B).%3CBR%20%2F%3E3.%20Now%20open%20powershell%20and%20run%20the%20following%20to%20connect%3A%3CBR%20%2F%3EImport-Module%20SkypeOnlineConnector%3CBR%20%2F%3E%24sfbSession%20%3D%20New-CsOnlineSession%3CBR%20%2F%3EImport-PSSession%20%24sfbSession%3CBR%20%2F%3E%3CBR%20%2F%3EThen%20run%3A%20Get-CsTeamsMessagingPolicy%20-Identity%20Global%20%7C%20fl%3CBR%20%2F%3E%3CBR%20%2F%3ESee%20what%20you%20get.%20I'm%20thinking%20the%20policy%20might%20take%20time%20to%20take%20hold%20that%20you%20swapped%20too%20but%20should%20have%20kicked%20in%20by%20now%20if%20it%20was%20working.%20I'd%20check%20this%2C%20then%20put%20you%20back%20on%20global.%3CBR%20%2F%3E%3CBR%20%2F%3EAfter%20any%20changes%20always%20restart%20client.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-297003%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-297003%22%20slang%3D%22en-US%22%3E%3CP%3EDo%20you%20know%20if%20there%20is%20anyway%20I%20can%20powershell%20into%20Teams%20to%20check%20the%20policy%20for%20my%20user%20account%3F%20I%20found%20a%20command%20to%20check%3A%20Set-CsTeamsMessagingPolicy%2C%20but%20I%20have%20never%20powershell%20into%20Teams%20on%20a%20hybrid%20environment.%20I%20am%20performing%20all%20my%20admin%20duties%20over%20O365%20Admin%20Center%20and%20not%20Azure%20if%20that%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296998%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296998%22%20slang%3D%22en-US%22%3EThat%20setting%20is%20actually%20controlled%20by%20that%20policy%2C%20it'll%20show%20up%20once%20it's%20working%20right.%20Why%20it's%20not%20showing%20is%20the%20part%20we%20gotta%20pinpoint%20now.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296997%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296997%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Chris%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20reply.%20No%20dice%20after%20signing%20out%20and%20in.%20I%20believe%20the%20issue%20might%20lie%20with%20the%20settings%20within%20Teams%2C%20but%20I%20cannot%20seem%20to%20find%20a%20way%20to%20get%20the%20setting%20to%20show.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296991%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296991%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Adam%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20quick%20response%2C%20but%20I%20attempted%20everything%20on%20there%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296990%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296990%22%20slang%3D%22en-US%22%3ETry%20signing%20out%20of%20Teams%20and%20back%20in%2C%20not%20just%20quit%20and%20starting%20again.%20See%20if%20that%20helps.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296984%22%20slang%3D%22en-US%22%3ERe%3A%20Owners%20unable%20to%20delete%20messages%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296984%22%20slang%3D%22en-US%22%3EIt%20seems%20you%E2%80%99ve%20done%20your%20howework!%20Seen%20this%20thread%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FCan-not-delete-team-chat-messages-despite-policy-change%2Fm-p%2F294725%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FCan-not-delete-team-chat-messages-despite-policy-change%2Fm-p%2F294725%3C%2FA%3E%3CBR%20%2F%3EIt%20looks%20like%20you%E2%80%99ve%20tried%20all%20hints%20though%3C%2FLINGO-BODY%3E
AndrewNguyen714
Occasional Contributor

Hello,

 

Owners are unable to delete messages from their respective channels. I have researched to make sure all the settings are correct before starting a conversation.

 

I made sure the setting is enabled for the global messaging policy. I have also created a new policy and applied it to myself for testing, but this did not solve the issue as well. I restarted Teams app after applying the policy and tested on browser app.

 

image.pngimage.png

 

Other users said you have to also enable it for the team on Teams; however, the setting is not present.

 

image.png

 

I have confirmed that I am the owner, but not creator, of this channel.

 

On Teams Admin Portal:

image.png

 

On Teams App:

image.png

 

Not sure if it matters, but under O365 admin center -> Services & Add-ins -> Microsoft Teams -> Messaging looks like this:

 

image.png

 

We are on a hybrid environment if that matters. Any help would be great so we can start moderating these channels.

 

Thank you!

12 Replies
It seems you’ve done your howework! Seen this thread?
https://techcommunity.microsoft.com/t5/Microsoft-Teams/Can-not-delete-team-chat-messages-despite-pol...
It looks like you’ve tried all hints though
Try signing out of Teams and back in, not just quit and starting again. See if that helps.

Hello Adam,

 

Thanks for the quick response, but I attempted everything on there as well.

Hello Chris,

 

Thank you for the reply. No dice after signing out and in. I believe the issue might lie with the settings within Teams, but I cannot seem to find a way to get the setting to show.

That setting is actually controlled by that policy, it'll show up once it's working right. Why it's not showing is the part we gotta pinpoint now.

Do you know if there is anyway I can powershell into Teams to check the policy for my user account? I found a command to check: Set-CsTeamsMessagingPolicy, but I have never powershell into Teams on a hybrid environment. I am performing all my admin duties over O365 Admin Center and not Azure if that helps.

Try and see what Powershell returns.
1. First Install the Skype for Business Online powershell module from: https://www.microsoft.com/en-us/download/details.aspx?id=39366
2. Says a reboot is required after installation but I don't think it is, try if it doesn't work, then reboot ;).
3. Now open powershell and run the following to connect:
Import-Module SkypeOnlineConnector
$sfbSession = New-CsOnlineSession
Import-PSSession $sfbSession

Then run: Get-CsTeamsMessagingPolicy -Identity Global | fl

See what you get. I'm thinking the policy might take time to take hold that you swapped too but should have kicked in by now if it was working. I'd check this, then put you back on global.

After any changes always restart client.

In addition to above.
To add a policy you can try:
Grant-CsTeamsMessagingPolicy -identity "your user" -PolicyName "Delete Messages"
try and if it don't work, try setting back to global
Grant-CsTeamsMessagingPolicy -identity "youruser" -PolicyName Global

Thanks Chris! I will report back after I attempt this.

I am having the exact same problem and I have retraced all of your steps. It is 100% identical, down to the grayed out option in O365 Admin.

 

I have a user who said something unsavory in a public Teams chat channel and I have no ability to delete it...

Checking back in that this appears to be resolved now. It may have needed time to replicate the change out to my environment, but I can now delete messages out of Teams chats.

Glad to hear : )
Adam