What role(s) have you assigned to the service account? In any case, if the idea is to meet compliance requirements, I'd recommend using the Retention policies functionality within the Purview compliance portal, which does support private channels out of the box: https://learn.microsoft.com/en-us/microsoft-365/compliance/create-retention-policies?view=o365-worldwide#retention-policy-for-teams-locations
How to put each Teams Private Channel members Mailbox on eDiscovery Hold
Aase Nomad
246
Reputation points
I'm writing a PowerShell Script that put each Private Teams Channel member mailbox on eDiscovery Hold but I'm just wondering how can I see those member using Service Account.
I tried doing Get-TeamChannelUser but I'm getting this error (pic). After I investigate this issue, I find out that I get this error because of my Service Account is not a member of any of the Private Teams Channel we have.
I'm just wondering if there is work around using service account or what I need to do with my Service account to be able to access all the Private Channels we have?
Microsoft Teams | Development
4,162 questions
Windows for business | Windows Server | User experience | PowerShell
Microsoft Teams | Microsoft Teams for business | Other
10,983 questions
Accepted answer
-
Vasil Michev 119.8K Reputation points MVP Volunteer Moderator
2022-07-23T08:25:43.84+00:00