en-US

RemoveModernGroupLocation

Parameter of AppRetentionCompliancePolicy

Applies to : Security & Compliance

Description

The RemoveModernGroupLocation parameter specifies the Microsoft 365 Groups to remove from the list of included groups when you aren't using the value All for the ModernGroupLocation parameter.

You can use any value that uniquely identifies the Microsoft 365 Group. For example:

  • Name
  • Distinguished name (DN)
  • Email address
  • GUID

You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: "Value1","Value2",..."ValueN".

Microsoft Learn documentation

Characteristics

Type
MultiValuedProperty
Parameter sets
Identity

Apply

This value type (MultiValuedProperty) must be built by hand: see the examples on the policy page and the Microsoft documentation.