Skip to content

Commit a77f5d8

Browse files
authored
Merge branch 'main' into main
2 parents 3e8f797 + 91bb3ef commit a77f5d8

7 files changed

+596
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
applicable: Microsoft Teams
3+
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
4+
Module Name: MicrosoftTeams
5+
author: emartinezrod
6+
ms.author: emartinezrod
7+
manager: ganesh
8+
online version:
9+
schema: 2.0.0
10+
title: Get-DirectToGroupAssignmentsMigrationStatus
11+
---
12+
13+
# Get-DirectToGroupAssignmentsMigrationStatus
14+
15+
## SYNOPSIS
16+
As an admin, you can get the status of any direct assignments to group policy assignments migration.
17+
18+
## SYNTAX
19+
```
20+
Get-DirectToGroupAssignmentsMigrationStatus [-MigrationEventId <String>]
21+
[<CommonParameters>]
22+
```
23+
24+
## DESCRIPTION
25+
As an admin, you can get the status of all the direct assignments to group policy assignments migrations completed or in progress in the tenant. Or you can provide an specific migration id to know the status of one in particular.
26+
27+
**This is only applicable for tenants who have activated the new features related to group policy assignment adoption.**
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
```powershell
33+
PS C:\> Get-DirectToGroupAssignmentsMigrationStatus
34+
```
35+
36+
In this example, the Get-DirectToGroupAssignmentsMigrationStatus cmdlet is used to get the status of all the direct assignments to group policy assignments migrations completed or in progress in the tenant.
37+
38+
### Example 2
39+
```powershell
40+
PS C:\> Get-DirectToGroupAssignmentsMigrationStatus -MigrationEventId 42ed6fb9-65c7-42de-abda-7492bfe2d616
41+
```
42+
43+
In this example, the Get-DirectToGroupAssignmentsMigrationStatus cmdlet is used to get the status of the direct assignments to group policy assignments migration with the event id 42ed6fb9-65c7-42de-abda-7492bfe2d616.
44+
45+
## PARAMETERS
46+
47+
### -MigrationEventId
48+
Migration event id from which want to know the status.
49+
50+
```yaml
51+
Type: String
52+
Parameter Sets: (All)
53+
Aliases:
54+
55+
Required: False
56+
Position: Named
57+
Default value: None
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
62+
### CommonParameters
63+
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).
64+
65+
## INPUTS
66+
67+
## OUTPUTS
68+
69+
## NOTES
70+
71+
## RELATED LINKS
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
---
2+
applicable: Microsoft Teams
3+
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
4+
Module Name: MicrosoftTeams
5+
author: emartinezrod
6+
ms.author: emartinezrod
7+
manager: ganesh
8+
online version:
9+
schema: 2.0.0
10+
title: Get-GroupAssignmentRecommendationsPerPolicyName
11+
---
12+
13+
# Get-GroupAssignmentRecommendationsPerPolicyName
14+
15+
## SYNOPSIS
16+
As an admin, you can get group policy assignments recommendations based on the existing direct assignments for a policy document.
17+
18+
## SYNTAX
19+
```
20+
Get-GroupAssignmentRecommendationsPerPolicyName -EntityType <String> -PolicyType <String>
21+
[-GroupThreshold <String>] [<CommonParameters>]
22+
```
23+
24+
## DESCRIPTION
25+
As an admin, you can get a list of possible group policy assignments that can be created based on the existing direct assignments for a policy document provided, grouping by policy instance name.
26+
27+
**This is only applicable for tenants who have activated the new features related to group policy assignment adoption.**
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
```powershell
33+
PS C:\> Get-GroupAssignmentRecommendationsPerPolicyName -EntityType User -PolicyType TeamsCallingPolicy
34+
```
35+
36+
In this example, the Get-GroupAssignmentRecommendationsPerPolicyName cmdlet is used to get all the possible group policy assignments that can be created for the policy type TeamsCallingPolicy and entity type User. In this case the group threshold is not provided so the default will be 500, which means that all the recommendations will have at least 500 users. This threshold can change based on admin preferences.
37+
38+
### Example 2
39+
```powershell
40+
PS C:\> Get-GroupAssignmentRecommendationsPerPolicyName -EntityType User -GroupThreshold 1 -PolicyType TeamsCallingPolicy
41+
```
42+
43+
In this example, the Get-GroupAssignmentRecommendationsPerPolicyName cmdlet is used to get all the possible group policy assignments that can be created for the policy type TeamsCallingPolicy, entity type User and providing a group threshold of 1, which means that all the recommendations will have at least 1 user. This threshold can change based on admin preferences.
44+
45+
## PARAMETERS
46+
47+
### -EntityType
48+
Entity type from which the cmdlet will provide the recommendations.
49+
50+
```yaml
51+
Type: String
52+
Parameter Sets: (All)
53+
Aliases:
54+
55+
Required: True
56+
Position: Named
57+
Default value: None
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
62+
### -GroupThreshold
63+
Group threshold used to define the minimum number of users per group that will be recommended.
64+
65+
```yaml
66+
Type: String
67+
Parameter Sets: (All)
68+
Aliases:
69+
70+
Required: False
71+
Position: Named
72+
Default value: None
73+
Accept pipeline input: False
74+
Accept wildcard characters: False
75+
```
76+
77+
### -PolicyType
78+
Policy type of the instance from which the cmdlet will provide the recommendations.
79+
80+
```yaml
81+
Type: String
82+
Parameter Sets: (All)
83+
Aliases:
84+
85+
Required: True
86+
Position: Named
87+
Default value: None
88+
Accept pipeline input: False
89+
Accept wildcard characters: False
90+
```
91+
92+
### CommonParameters
93+
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).
94+
95+
## INPUTS
96+
97+
## OUTPUTS
98+
99+
## NOTES
100+
101+
## RELATED LINKS
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
applicable: Microsoft Teams
3+
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
4+
Module Name: MicrosoftTeams
5+
author: emartinezrod
6+
ms.author: emartinezrod
7+
manager: ganesh
8+
online version:
9+
schema: 2.0.0
10+
title: Get-GroupAssignmentRecommendationsPerPolicyType
11+
---
12+
13+
# Get-GroupAssignmentRecommendationsPerPolicyType
14+
15+
## SYNOPSIS
16+
As an admin, you can get group policy assignments recommendations based on the existing direct assignments for a policy type.
17+
18+
## SYNTAX
19+
```
20+
Get-GroupAssignmentRecommendationsPerPolicyType -EntityType <String> [-GroupThreshold <String>]
21+
[<CommonParameters>]
22+
```
23+
24+
## DESCRIPTION
25+
As an admin, you can get a list of possible group policy assignments that can be created based on the existing direct assignments for a policy document provided, grouping by policy instance type.
26+
27+
**This is only applicable for tenants who have activated the new features related to group policy assignment adoption.**
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
```powershell
33+
PS C:\> Get-GroupAssignmentRecommendationsPerPolicyType -EntityType User
34+
```
35+
36+
In this example, the Get-GroupAssignmentRecommendationsPerPolicyType cmdlet is used to get all the possible group policy assignments that can be created for the entity type User. In this case the group threshold is not provided so the default will be 500, which means that all the recommendations will have at least 500 users. This threshold can change based on admin preferences.
37+
38+
### Example 2
39+
```powershell
40+
PS C:\> Get-GroupAssignmentRecommendationsPerPolicyType -EntityType User -GroupThreshold 1
41+
```
42+
43+
In this example, the Get-GroupAssignmentRecommendationsPerPolicyType cmdlet is used to get all the possible group policy assignments that can be created for the entity type User and providing a group threshold of 1, which means that all the recommendations will have at least 1 user. This threshold can change based on admin preferences.
44+
45+
## PARAMETERS
46+
47+
### -EntityType
48+
Entity type from which the cmdlet will provide the recommendations.
49+
50+
```yaml
51+
Type: String
52+
Parameter Sets: (All)
53+
Aliases:
54+
55+
Required: True
56+
Position: Named
57+
Default value: None
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
62+
### -GroupThreshold
63+
Group threshold used to define the minimum number of users per group that will be recommended.
64+
65+
```yaml
66+
Type: String
67+
Parameter Sets: (All)
68+
Aliases:
69+
70+
Required: False
71+
Position: Named
72+
Default value: None
73+
Accept pipeline input: False
74+
Accept wildcard characters: False
75+
```
76+
77+
### CommonParameters
78+
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).
79+
80+
## INPUTS
81+
82+
## OUTPUTS
83+
84+
## NOTES
85+
86+
## RELATED LINKS
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
applicable: Microsoft Teams
3+
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
4+
Module Name: MicrosoftTeams
5+
author: emartinezrod
6+
ms.author: emartinezrod
7+
manager: ganesh
8+
online version:
9+
schema: 2.0.0
10+
title: Get-GroupPolicyAssignmentConflict
11+
---
12+
13+
# Get-GroupPolicyAssignmentConflict
14+
15+
## SYNOPSIS
16+
As an admin, you can get the existing conflicts for a particular group policy assignments which causes it not to be effective for some users.
17+
18+
## SYNTAX
19+
```
20+
Get-GroupPolicyAssignmentConflict -GroupId <String> -PolicyType <String>
21+
[<CommonParameters>]
22+
```
23+
24+
## DESCRIPTION
25+
As an admin, you can get the existing conflicts for a particular group policy assignments which causes it not to be effective for some users, providing the group id and policy type of the assignment. This will return a list of users in where the group policy assignment is not effective due a direct assignment or other group policy assignment that is taking effect on it.
26+
27+
**This is only applicable for tenants who have activated the new features related to group policy assignment adoption.**
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
```powershell
33+
PS C:\> Get-GroupPolicyAssignmentConflict -GroupId cde9a331-5bf8-415c-990c-19838b0d898a -PolicyType TeamsCallingPolicy
34+
```
35+
36+
In this example, the Get-GroupPolicyAssignmentConflict cmdlet is used to get all the possible conflicts that the group policy assignment in TeamsCallingPolicy applied for group cde9a331-5bf8-415c-990c-19838b0d898a could have with others assignments.
37+
38+
## PARAMETERS
39+
40+
### -GroupId
41+
Group id of the group policy assignment from which the cmdlet will look for conflicts.
42+
43+
44+
```yaml
45+
Type: String
46+
Parameter Sets: (All)
47+
Aliases:
48+
49+
Required: True
50+
Position: Named
51+
Default value: None
52+
Accept pipeline input: False
53+
Accept wildcard characters: False
54+
```
55+
56+
### -PolicyType
57+
Policy type of the group policy assignment from which the cmdlet will look for conflicts.
58+
59+
```yaml
60+
Type: String
61+
Parameter Sets: (All)
62+
Aliases:
63+
64+
Required: True
65+
Position: Named
66+
Default value: None
67+
Accept pipeline input: False
68+
Accept wildcard characters: False
69+
```
70+
71+
### CommonParameters
72+
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).
73+
74+
## INPUTS
75+
76+
## OUTPUTS
77+
78+
## NOTES
79+
80+
## RELATED LINKS

0 commit comments

Comments
 (0)