Edit

Share via


Get-DirectToGroupAssignmentsMigrationStatus

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

Syntax

Default (Default)

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

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

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.