Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
applicable: Microsoft Teams
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
Module Name: MicrosoftTeams
author: emartinezrod
ms.author: emartinezrod
manager: ganesh
online version:
schema: 2.0.0
title: Get-DirectToGroupAssignmentsMigrationStatus
---

# Get-DirectToGroupAssignmentsMigrationStatus

## SYNOPSIS
As an admin, you can get the status of any direct assignments to group policy assignments migration.

## SYNTAX
```
Get-DirectToGroupAssignmentsMigrationStatus [-MigrationEventId <String>]
[<CommonParameters>]
```

## DESCRIPTION
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.

**This is only applicable for tenants who have activated the new features related to group policy assignment adoption.**

## EXAMPLES

### Example 1
```powershell
PS C:\> Get-DirectToGroupAssignmentsMigrationStatus
```

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.

### Example 2
```powershell
PS C:\> Get-DirectToGroupAssignmentsMigrationStatus -MigrationEventId 42ed6fb9-65c7-42de-abda-7492bfe2d616
```

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.

## PARAMETERS

### -MigrationEventId
Migration event id from which want to know the status.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
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).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
---
applicable: Microsoft Teams
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
Module Name: MicrosoftTeams
author: emartinezrod
ms.author: emartinezrod
manager: ganesh
online version:
schema: 2.0.0
title: Get-GroupAssignmentRecommendationsPerPolicyName
---

# Get-GroupAssignmentRecommendationsPerPolicyName

## SYNOPSIS
As an admin, you can get group policy assignments recommendations based on the existing direct assignments for a policy document.

## SYNTAX
```
Get-GroupAssignmentRecommendationsPerPolicyName -EntityType <String> -PolicyType <String>
[-GroupThreshold <String>] [<CommonParameters>]
```

## DESCRIPTION
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.

**This is only applicable for tenants who have activated the new features related to group policy assignment adoption.**

## EXAMPLES

### Example 1
```powershell
PS C:\> Get-GroupAssignmentRecommendationsPerPolicyName -EntityType User -PolicyType TeamsCallingPolicy
```

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.

### Example 2
```powershell
PS C:\> Get-GroupAssignmentRecommendationsPerPolicyName -EntityType User -GroupThreshold 1 -PolicyType TeamsCallingPolicy
```

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.

## PARAMETERS

### -EntityType
Entity type from which the cmdlet will provide the recommendations.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -GroupThreshold
Group threshold used to define the minimum number of users per group that will be recommended.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PolicyType
Policy type of the instance from which the cmdlet will provide the recommendations.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
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).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
applicable: Microsoft Teams
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
Module Name: MicrosoftTeams
author: emartinezrod
ms.author: emartinezrod
manager: ganesh
online version:
schema: 2.0.0
title: Get-GroupAssignmentRecommendationsPerPolicyType
---

# Get-GroupAssignmentRecommendationsPerPolicyType

## SYNOPSIS
As an admin, you can get group policy assignments recommendations based on the existing direct assignments for a policy type.

## SYNTAX
```
Get-GroupAssignmentRecommendationsPerPolicyType -EntityType <String> [-GroupThreshold <String>]
[<CommonParameters>]
```

## DESCRIPTION
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.

**This is only applicable for tenants who have activated the new features related to group policy assignment adoption.**

## EXAMPLES

### Example 1
```powershell
PS C:\> Get-GroupAssignmentRecommendationsPerPolicyType -EntityType User
```

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.

### Example 2
```powershell
PS C:\> Get-GroupAssignmentRecommendationsPerPolicyType -EntityType User -GroupThreshold 1
```

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.

## PARAMETERS

### -EntityType
Entity type from which the cmdlet will provide the recommendations.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -GroupThreshold
Group threshold used to define the minimum number of users per group that will be recommended.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
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).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS
80 changes: 80 additions & 0 deletions teams/teams-ps/MicrosoftTeams/Get-GroupPolicyAssignmentConflict.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
applicable: Microsoft Teams
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
Module Name: MicrosoftTeams
author: emartinezrod
ms.author: emartinezrod
manager: ganesh
online version:
schema: 2.0.0
title: Get-GroupPolicyAssignmentConflict
---

# Get-GroupPolicyAssignmentConflict

## SYNOPSIS
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.

## SYNTAX
```
Get-GroupPolicyAssignmentConflict -GroupId <String> -PolicyType <String>
[<CommonParameters>]
```

## DESCRIPTION
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.

**This is only applicable for tenants who have activated the new features related to group policy assignment adoption.**

## EXAMPLES

### Example 1
```powershell
PS C:\> Get-GroupPolicyAssignmentConflict -GroupId cde9a331-5bf8-415c-990c-19838b0d898a -PolicyType TeamsCallingPolicy
```

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.

## PARAMETERS

### -GroupId
Group id of the group policy assignment from which the cmdlet will look for conflicts.


```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PolicyType
Policy type of the group policy assignment from which the cmdlet will look for conflicts.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
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).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS
Loading