Skip to content

Commit fc1ddeb

Browse files
authored
Create Invoke-ClearDirectToGroupAssignmentMigration.md
Adding new documentation for command Invoke-ClearDirectToGroupAssignmentMigration related to GPA Adoption project from IC3 Tenant Policy team.
1 parent 7796116 commit fc1ddeb

File tree

1 file changed

+110
-0
lines changed

1 file changed

+110
-0
lines changed
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
---
2+
applicable: Microsoft Teams
3+
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
4+
Module Name: Microsoft.Teams.Policy.Administration.Cmdlets.Core
5+
online version:
6+
schema: 2.0.0
7+
title: Invoke-ClearDirectToGroupAssignmentMigration
8+
---
9+
10+
# Invoke-ClearDirectToGroupAssignmentMigration
11+
12+
## SYNOPSIS
13+
As an admin, you can trigger a new direct assignments to group policy assignments cleanup.
14+
15+
## SYNTAX
16+
17+
```
18+
Invoke-ClearDirectToGroupAssignmentMigration -Authority <String> -PolicyType <String> -PolicyName <String>
19+
-GroupId <Guid> [<CommonParameters>]
20+
```
21+
22+
## DESCRIPTION
23+
As an admin, you can trigger a new direct assignments to group policy assignments cleanup for a specific authority, instance document and group id. The cleanup will be automatic and will clean all direct assignments with the provided parameters.
24+
25+
**This is only applicable for tenants who have activated the new features related to group policy assignment adoption.**
26+
27+
## EXAMPLES
28+
29+
### Example 1
30+
```powershell
31+
PS C:\> Invoke-clearDirectToGroupAssignmentMigration -Authority Tenant -PolicyType TeamsCallingPolicy -PolicyName Test-Gpa-Adoption-Policy-2 -GroupId cde9a331-5bf8-415c-990c-19838b0d898c
32+
```
33+
34+
In this example, the Invoke-clearDirectToGroupAssignmentMigration cmdlet is used to trigger the direct assignment to group policy assignment cleanup for the instance document with policy type TeamsCallingPolicy and name Test-Gpa-Adoption-Policy-2 which will clean all direct assignments with the provided parameters.
35+
36+
## PARAMETERS
37+
38+
### -Authority
39+
The authority (issuer) of the policy.
40+
41+
```yaml
42+
Type: String
43+
Parameter Sets: (All)
44+
Aliases:
45+
46+
Required: True
47+
Position: Named
48+
Default value: None
49+
Accept pipeline input: False
50+
Accept wildcard characters: False
51+
```
52+
53+
### -GroupId
54+
The target group ID.
55+
56+
```yaml
57+
Type: Guid
58+
Parameter Sets: (All)
59+
Aliases:
60+
61+
Required: True
62+
Position: Named
63+
Default value: None
64+
Accept pipeline input: False
65+
Accept wildcard characters: False
66+
```
67+
68+
### -PolicyName
69+
The name of the policy.
70+
71+
```yaml
72+
Type: String
73+
Parameter Sets: (All)
74+
Aliases:
75+
76+
Required: True
77+
Position: Named
78+
Default value: None
79+
Accept pipeline input: False
80+
Accept wildcard characters: False
81+
```
82+
83+
### -PolicyType
84+
The type of the policy.
85+
86+
```yaml
87+
Type: String
88+
Parameter Sets: (All)
89+
Aliases:
90+
91+
Required: True
92+
Position: Named
93+
Default value: None
94+
Accept pipeline input: False
95+
Accept wildcard characters: False
96+
```
97+
98+
### CommonParameters
99+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
100+
101+
## INPUTS
102+
103+
### None
104+
105+
## OUTPUTS
106+
107+
### System.Object
108+
## NOTES
109+
110+
## RELATED LINKS

0 commit comments

Comments
 (0)