You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example removes the specified deleted Microsoft 365 Group and site from the specified policy. You identify the deleted resources using the Microsoft 365 Group email address and the related site ID.
The example excludes the specified deleted Microsoft 365 Group and site from the specified tenant level policy. You identify the deleted resources using the Microsoft 365 Group email address and the related site ID.
This example is similar to Example 2, except multiple deleted resources are specified.
178
+
129
179
## PARAMETERS
130
180
131
181
### -Identity
@@ -574,6 +624,26 @@ Accept pipeline input: False
574
624
Accept wildcard characters: False
575
625
```
576
626
627
+
### -DeletedResources
628
+
The DeletedResources parameter specifies the Sharepoint sites to be removed from the list of included sites or excluded from a tenant level policy when the associated group has been deleted. You use this parameter with the AddModernGroupLocationException and RemoveModernGroupLocation parameters.
629
+
630
+
A valid value is a JSON String. See the Examples section for syntax and examples using this parameter.
631
+
632
+
For more information about this scenario, see [Learn more about modern group deletion under retention hold](https://learn.microsoft.com/purview/retention-settings#what-happens-if-a-microsoft-365-group-is-deleted-after-a-policy-is-applied).
633
+
634
+
```yaml
635
+
Type: String
636
+
Parameter Sets: Identity
637
+
Aliases:
638
+
Applicable: Security & Compliance
639
+
640
+
Required: False
641
+
Position: Named
642
+
Default value: None
643
+
Accept pipeline input: False
644
+
Accept wildcard characters: False
645
+
```
646
+
577
647
### -Enabled
578
648
The Enabled parameter specifies whether the policy is enabled. Valid values are:
0 commit comments