How to get the list of emails added to a retention policy in Purview?
Dmitriy Kolesnikov
11
Reputation points
We have created a few retention policies for Microsoft Purview. Each policy is applied to many specific mailboxes (100 mailboxes max). Is there a way to get the list of mailboxes added to each policy?
The Get-RetentionCompliancePolicy command shows policy properties, including the ExchangeLocation field (in truncated view {account1, account 2, ...}). How to get the list of all accounts from that attribute?
Sign in to answer