diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Get-MgBetaCrossTenantMigrationJob.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Get-MgBetaCrossTenantMigrationJob.md new file mode 100644 index 000000000000..cafb227ae53a --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Get-MgBetaCrossTenantMigrationJob.md @@ -0,0 +1,565 @@ +--- +document type: cmdlet +external help file: Microsoft.Graph.Beta.Migrations-Help.xml +HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/get-mgbetacrosstenantmigrationjob +Locale: en-US +Module Name: Microsoft.Graph.Beta.Migrations +ms.date: 08/21/2026 +PlatyPS schema version: 2024-05-01 +title: Get-MgBetaCrossTenantMigrationJob +--- + +# Get-MgBetaCrossTenantMigrationJob + +## SYNOPSIS + +Read the properties and relationships of crossTenantMigrationJob object. +Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. + +## SYNTAX + +### List (Default) + +``` +Get-MgBetaCrossTenantMigrationJob [-ExpandProperty ] [-Property ] + [-Filter ] [-Search ] [-Skip ] [-Sort ] [-Top ] + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-PageSize ] [-All] + [-CountVariable ] +``` + +### Get + +``` +Get-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId [-ExpandProperty ] + [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] +``` + +### GetViaIdentity + +``` +Get-MgBetaCrossTenantMigrationJob -InputObject [-ExpandProperty ] + [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] +``` + +## ALIASES + +This cmdlet has the following aliases, + {{Insert list of aliases}} + +## DESCRIPTION + +Read the properties and relationships of crossTenantMigrationJob object. +Includes details of the crossTenantMigrationJob , but not details of the individual crossTenantMigrationTasks of the crossTenantMigrationJob. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Migrations + +Get-MgBetaCrossTenantMigrationJob + +``` +This example shows how to use the Get-MgBetaCrossTenantMigrationJob Cmdlet. + + +## PARAMETERS + +### -All + +List all pages. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Break + +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CountVariable + +Specifies a count of the total number of items in a collection. +By default, this variable will be set in the global scope. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- CV +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationJobId + +The unique identifier of crossTenantMigrationJob + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: Get + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ExpandProperty + +Expand related entities + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: +- Expand +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Filter + +Filter items by property values + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Headers + +Optional headers that will be added to the request. + +```yaml +Type: System.Collections.IDictionary +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelineAppend + +SendAsync Pipeline Steps to be appended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelinePrepend + +SendAsync Pipeline Steps to be prepended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -InputObject + +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: GetViaIdentity + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -PageSize + +Sets the page size of results. + +```yaml +Type: System.Int32 +DefaultValue: 0 +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Property + +Select properties to be returned + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: +- Select +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Proxy + +The URI for the proxy server to use + +```yaml +Type: System.Uri +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyCredential + +Credentials for a proxy server to use for the remote call + +```yaml +Type: System.Management.Automation.PSCredential +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyUseDefaultCredentials + +Use the default credentials for the proxy + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResponseHeadersVariable + +Optional Response Headers Variable. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- RHV +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Search + +Search items by search phrases + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Skip + +Skip the first n items + +```yaml +Type: System.Int32 +DefaultValue: 0 +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Sort + +Order items by property values + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: +- OrderBy +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Top + +Show only the first n items + +```yaml +Type: System.Int32 +DefaultValue: 0 +SupportsWildcards: false +Aliases: +- Limit +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### 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](https://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity + +{{ Fill in the Description }} + +### System.Collections.IDictionary + +{{ Fill in the Description }} + +## OUTPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationJob + +{{ Fill in the Description }} + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + [CrossTenantMigrationJobId ]: The unique identifier of crossTenantMigrationJob + [CrossTenantMigrationTaskId ]: The unique identifier of crossTenantMigrationTask + [DisplayName ]: Alternate key of crossTenantMigrationJob + + +## RELATED LINKS + +- [Get-MgBetaCrossTenantMigrationJob](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/get-mgbetacrosstenantmigrationjob) +- [Graph API Reference](https://learn.microsoft.com/graph/api/crosstenantmigrationjob-get?view=graph-rest-beta) +- [Graph API Reference](https://learn.microsoft.com/graph/api/migrationsroot-list-crosstenantmigrationjobs?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Get-MgBetaCrossTenantMigrationJobUser.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Get-MgBetaCrossTenantMigrationJobUser.md new file mode 100644 index 000000000000..d20a1ed6aa4e --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Get-MgBetaCrossTenantMigrationJobUser.md @@ -0,0 +1,594 @@ +--- +document type: cmdlet +external help file: Microsoft.Graph.Beta.Migrations-Help.xml +HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/get-mgbetacrosstenantmigrationjobuser +Locale: en-US +Module Name: Microsoft.Graph.Beta.Migrations +ms.date: 08/21/2026 +PlatyPS schema version: 2024-05-01 +title: Get-MgBetaCrossTenantMigrationJobUser +--- + +# Get-MgBetaCrossTenantMigrationJobUser + +## SYNOPSIS + +Read the properties and relationships of crossTenantMigrationTask, which shows the details of the migration task for a single user of a crossTenantMigrationJob. +The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob. + +## SYNTAX + +### List (Default) + +``` +Get-MgBetaCrossTenantMigrationJobUser -CrossTenantMigrationJobId + [-ExpandProperty ] [-Property ] [-Filter ] [-Search ] + [-Skip ] [-Sort ] [-Top ] [-ResponseHeadersVariable ] [-Break] + [-Headers ] [-HttpPipelineAppend ] + [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] + [-ProxyUseDefaultCredentials] [-PageSize ] [-All] [-CountVariable ] +``` + +### Get + +``` +Get-MgBetaCrossTenantMigrationJobUser -CrossTenantMigrationJobId + -CrossTenantMigrationTaskId [-ExpandProperty ] [-Property ] + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] +``` + +### GetViaIdentity + +``` +Get-MgBetaCrossTenantMigrationJobUser -InputObject + [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] + [-Headers ] [-HttpPipelineAppend ] + [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] + [-ProxyUseDefaultCredentials] +``` + +## ALIASES + +This cmdlet has the following aliases, + {{Insert list of aliases}} + +## DESCRIPTION + +Read the properties and relationships of crossTenantMigrationTask, which shows the details of the migration task for a single user of a crossTenantMigrationJob. +The crossTenantMigrationTask contains the status details of migrations for the workloads specified in the crossTenantMigrationJob. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Migrations + +Get-MgBetaCrossTenantMigrationJobUser -CrossTenantMigrationJobId $crossTenantMigrationJobId + +``` +This example shows how to use the Get-MgBetaCrossTenantMigrationJobUser Cmdlet. + + +## PARAMETERS + +### -All + +List all pages. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Break + +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CountVariable + +Specifies a count of the total number of items in a collection. +By default, this variable will be set in the global scope. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- CV +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationJobId + +The unique identifier of crossTenantMigrationJob + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: Get + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationTaskId + +The unique identifier of crossTenantMigrationTask + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: Get + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ExpandProperty + +Expand related entities + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: +- Expand +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Filter + +Filter items by property values + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Headers + +Optional headers that will be added to the request. + +```yaml +Type: System.Collections.IDictionary +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelineAppend + +SendAsync Pipeline Steps to be appended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelinePrepend + +SendAsync Pipeline Steps to be prepended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -InputObject + +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: GetViaIdentity + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -PageSize + +Sets the page size of results. + +```yaml +Type: System.Int32 +DefaultValue: 0 +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Property + +Select properties to be returned + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: +- Select +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Proxy + +The URI for the proxy server to use + +```yaml +Type: System.Uri +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyCredential + +Credentials for a proxy server to use for the remote call + +```yaml +Type: System.Management.Automation.PSCredential +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyUseDefaultCredentials + +Use the default credentials for the proxy + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResponseHeadersVariable + +Optional Response Headers Variable. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- RHV +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Search + +Search items by search phrases + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Skip + +Skip the first n items + +```yaml +Type: System.Int32 +DefaultValue: 0 +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Sort + +Order items by property values + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: +- OrderBy +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Top + +Show only the first n items + +```yaml +Type: System.Int32 +DefaultValue: 0 +SupportsWildcards: false +Aliases: +- Limit +ParameterSets: +- Name: List + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### 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](https://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity + +{{ Fill in the Description }} + +### System.Collections.IDictionary + +{{ Fill in the Description }} + +## OUTPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationTask + +{{ Fill in the Description }} + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + [CrossTenantMigrationJobId ]: The unique identifier of crossTenantMigrationJob + [CrossTenantMigrationTaskId ]: The unique identifier of crossTenantMigrationTask + [DisplayName ]: Alternate key of crossTenantMigrationJob + + +## RELATED LINKS + +- [Get-MgBetaCrossTenantMigrationJobUser](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/get-mgbetacrosstenantmigrationjobuser) +- [Graph API Reference](https://learn.microsoft.com/graph/api/crosstenantmigrationtask-get?view=graph-rest-beta) +- [Graph API Reference](https://learn.microsoft.com/graph/api/crosstenantmigrationjob-list-users?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Microsoft.Graph.Beta.Migrations.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Microsoft.Graph.Beta.Migrations.md new file mode 100644 index 000000000000..636a0644f09e --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Microsoft.Graph.Beta.Migrations.md @@ -0,0 +1,54 @@ +--- +Module Name: Microsoft.Graph.Beta.Migrations +Module Guid: 45b4d0cc-e79e-4abe-b53b-c3aec87a8a01 +Download Help Link: https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.beta.migrations/?view=graph-powershell-beta +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Microsoft.Graph.Beta.Migrations Module +## Description +Microsoft Graph PowerShell Cmdlets + +## Microsoft.Graph.Beta.Migrations Cmdlets +### [Get-MgBetaCrossTenantMigrationJob](Get-MgBetaCrossTenantMigrationJob.md) + +### [Get-MgBetaCrossTenantMigrationJob](Get-MgBetaCrossTenantMigrationJob.md) + +### [Get-MgBetaCrossTenantMigrationJobUser](Get-MgBetaCrossTenantMigrationJobUser.md) + +### [Get-MgBetaCrossTenantMigrationJobUser](Get-MgBetaCrossTenantMigrationJobUser.md) + +### [Move-MgBetaCrossTenantMigrationJob](Move-MgBetaCrossTenantMigrationJob.md) + +### [New-MgBetaCrossTenantMigrationJob](New-MgBetaCrossTenantMigrationJob.md) + +### [Remove-MgBetaCrossTenantMigrationJob](Remove-MgBetaCrossTenantMigrationJob.md) + +### [Stop-MgBetaCrossTenantMigrationJob](Stop-MgBetaCrossTenantMigrationJob.md) + +### [Stop-MgBetaCrossTenantMigrationJobUser](Stop-MgBetaCrossTenantMigrationJobUser.md) + +### [Test-MgBetaCrossTenantMigrationJob](Test-MgBetaCrossTenantMigrationJob.md) + +### [Update-MgBetaCrossTenantMigrationJob](Update-MgBetaCrossTenantMigrationJob.md) + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Move-MgBetaCrossTenantMigrationJob.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Move-MgBetaCrossTenantMigrationJob.md new file mode 100644 index 000000000000..0d4332b2de10 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Move-MgBetaCrossTenantMigrationJob.md @@ -0,0 +1,384 @@ +--- +document type: cmdlet +external help file: Microsoft.Graph.Beta.Migrations-Help.xml +HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/move-mgbetacrosstenantmigrationjob +Locale: en-US +Module Name: Microsoft.Graph.Beta.Migrations +ms.date: 08/21/2026 +PlatyPS schema version: 2024-05-01 +title: Move-MgBetaCrossTenantMigrationJob +--- + +# Move-MgBetaCrossTenantMigrationJob + +## SYNOPSIS + +Migrate a cross-tenant migration job asynchronously. +The job must pass validation before migration can start. +After a job is created by using the Create crossTenantMigrationJob method and validated by using the validate action, call this action to start the migration of user data from the source tenant to the target tenant for the specified workloads. +Validation results expire after seven days; if expired, revalidate the job before you call the migrate API. +This action is asynchronous. +After you call the migrate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of completed, completedWithErrors, or failed. + +## SYNTAX + +### Migrate (Default) + +``` +Move-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +### MigrateViaIdentity + +``` +Move-MgBetaCrossTenantMigrationJob -InputObject + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +## ALIASES + +This cmdlet has the following aliases, + {{Insert list of aliases}} + +## DESCRIPTION + +Migrate a cross-tenant migration job asynchronously. +The job must pass validation before migration can start. +After a job is created by using the Create crossTenantMigrationJob method and validated by using the validate action, call this action to start the migration of user data from the source tenant to the target tenant for the specified workloads. +Validation results expire after seven days; if expired, revalidate the job before you call the migrate API. +This action is asynchronous. +After you call the migrate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of completed, completedWithErrors, or failed. + +## EXAMPLES + +### EXAMPLE 1 + +Import-Module Microsoft.Graph.Beta.Migrations + +Move-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId $crossTenantMigrationJobId + +## PARAMETERS + +### -Break + +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Confirm + +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- cf +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationJobId + +The unique identifier of crossTenantMigrationJob + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: Migrate + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Headers + +Optional headers that will be added to the request. + +```yaml +Type: System.Collections.IDictionary +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelineAppend + +SendAsync Pipeline Steps to be appended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelinePrepend + +SendAsync Pipeline Steps to be prepended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -InputObject + +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: MigrateViaIdentity + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Proxy + +The URI for the proxy server to use + +```yaml +Type: System.Uri +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyCredential + +Credentials for a proxy server to use for the remote call + +```yaml +Type: System.Management.Automation.PSCredential +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyUseDefaultCredentials + +Use the default credentials for the proxy + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResponseHeadersVariable + +Optional Response Headers Variable. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- RHV +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -WhatIf + +Runs the command in a mode that only reports what would happen without performing the actions. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- wi +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### 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](https://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity + +{{ Fill in the Description }} + +### System.Collections.IDictionary + +{{ Fill in the Description }} + +## OUTPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationJob + +{{ Fill in the Description }} + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + [CrossTenantMigrationJobId ]: The unique identifier of crossTenantMigrationJob + [CrossTenantMigrationTaskId ]: The unique identifier of crossTenantMigrationTask + [DisplayName ]: Alternate key of crossTenantMigrationJob + + +## RELATED LINKS + +- [Move-MgBetaCrossTenantMigrationJob](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/move-mgbetacrosstenantmigrationjob) +- [Graph API Reference](https://learn.microsoft.com/graph/api/crosstenantmigrationjob-migrate?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/New-MgBetaCrossTenantMigrationJob.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/New-MgBetaCrossTenantMigrationJob.md new file mode 100644 index 000000000000..c87b30dd9eb7 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/New-MgBetaCrossTenantMigrationJob.md @@ -0,0 +1,828 @@ +--- +document type: cmdlet +external help file: Microsoft.Graph.Beta.Migrations-Help.xml +HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/new-mgbetacrosstenantmigrationjob +Locale: en-US +Module Name: Microsoft.Graph.Beta.Migrations +ms.date: 08/21/2026 +PlatyPS schema version: 2024-05-01 +title: New-MgBetaCrossTenantMigrationJob +--- + +# New-MgBetaCrossTenantMigrationJob + +## SYNOPSIS + +Create a new crossTenantMigrationJob. +A job defines the migration batch but doesn't start validation or migration. +After you create the job, call validate to verify tenant and resource configuration, then call migrate to begin the actual migration. + +## SYNTAX + +### CreateExpanded (Default) + +``` +New-MgBetaCrossTenantMigrationJob [-ResponseHeadersVariable ] + [-AdditionalProperties ] [-CompleteAfterDateTime ] [-CreatedBy ] + [-CreatedDateTime ] [-DisplayName ] + [-ExchangeSettings ] [-Id ] + [-JobType ] [-LastUpdatedDateTime ] [-Message ] [-ResourceType ] + [-Resources ] [-SourceTenantId ] [-Status ] [-TargetTenantId ] + [-Users ] [-Workloads ] [-Break] + [-Headers ] [-HttpPipelineAppend ] + [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +### Create + +``` +New-MgBetaCrossTenantMigrationJob -BodyParameter + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +## ALIASES + +This cmdlet has the following aliases, + {{Insert list of aliases}} + +## DESCRIPTION + +Create a new crossTenantMigrationJob. +A job defines the migration batch but doesn't start validation or migration. +After you create the job, call validate to verify tenant and resource configuration, then call migrate to begin the actual migration. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Migrations + +$params = @{ + displayName = "xtmigration_user_req_1" + completeAfterDateTime = [System.DateTime]::Parse("2024-12-09T22:48:03.092Z") + sourceTenantId = "12345678-1234-1234-1234-123456789012" + exchangeSettings = @{ + targetDeliveryDomain = "xtmigration.onmicrosoft.com" + sourceEndpoint = "sampleEndpointText" + } + resources = @( + "4dd550d9-9ea2-4e71-a16b-60b1d1c4f506" +"63f15b55-f61a-49cb-a599-2e3d233afb2c" +"41d94bac-3a53-47d6-a89e-583830104e15" +) +resourceType = "Users" +workloads = @( +"Teams" +"Exchange" +"ODSP" +) +} + +New-MgBetaCrossTenantMigrationJob -BodyParameter $params + +``` +This example shows how to use the New-MgBetaCrossTenantMigrationJob Cmdlet. + + +## PARAMETERS + +### -AdditionalProperties + +Additional Parameters + +```yaml +Type: System.Collections.Hashtable +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -BodyParameter + +crossTenantMigrationJob +To construct, see NOTES section for BODYPARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationJob +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: Create + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Break + +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CompleteAfterDateTime + +Date and time after which the migration should be performed. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. + +```yaml +Type: System.DateTime +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Confirm + +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- cf +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CreatedBy + +User principal name (UPN) of the user who created the job. +Read-only. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CreatedDateTime + +When the job was created. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. +Read-only. + +```yaml +Type: System.DateTime +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -DisplayName + +Display name of the job. +Must be unique per tenant. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ExchangeSettings + +exchangeOnlineCrossTenantMigrationSettings +To construct, see NOTES section for EXCHANGESETTINGS properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExchangeOnlineCrossTenantMigrationSettings +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Headers + +Optional headers that will be added to the request. + +```yaml +Type: System.Collections.IDictionary +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelineAppend + +SendAsync Pipeline Steps to be appended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelinePrepend + +SendAsync Pipeline Steps to be prepended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Id + +The unique identifier for an entity. +Read-only. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -JobType + +crossTenantMigrationJobType + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -LastUpdatedDateTime + +When this migration job was last updated. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. +Read-only. + +```yaml +Type: System.DateTime +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Message + +Status message of the migration job. +Nullable. +Read-only. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Proxy + +The URI for the proxy server to use + +```yaml +Type: System.Uri +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyCredential + +Credentials for a proxy server to use for the remote call + +```yaml +Type: System.Management.Automation.PSCredential +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyUseDefaultCredentials + +Use the default credentials for the proxy + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Resources + +IDs (GUID) of the resources that are migrated with the migration job. + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResourceType + +Type of resource being migrated. +Only Users is currently supported. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResponseHeadersVariable + +Optional Response Headers Variable. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- RHV +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -SourceTenantId + +ID (GUID) of the tenant that content is migrated from. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Status + +crossTenantMigrationJobStatus + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -TargetTenantId + +ID of the tenant that content is migrated to. +Read-only. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Users + +Details and status of the users migrated in this migration job. +To construct, see NOTES section for USERS properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationTask[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -WhatIf + +Runs the command in a mode that only reports what would happen without performing the actions. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- wi +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Workloads + +Workloads to migrate. +Supported workloads are Teams, Exchange, and ODSP (OneDrive/SharePoint). + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CreateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### 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](https://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationJob + +{{ Fill in the Description }} + +### System.Collections.IDictionary + +{{ Fill in the Description }} + +## OUTPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationJob + +{{ Fill in the Description }} + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +BODYPARAMETER ``: crossTenantMigrationJob + [(Any) ]: This indicates any property can be added to this object. + [Id ]: The unique identifier for an entity. +Read-only. + [CompleteAfterDateTime ]: Date and time after which the migration should be performed. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. + [CreatedBy ]: User principal name (UPN) of the user who created the job. +Read-only. + [CreatedDateTime ]: When the job was created. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. +Read-only. + [DisplayName ]: Display name of the job. +Must be unique per tenant. + [ExchangeSettings ]: exchangeOnlineCrossTenantMigrationSettings + [(Any) ]: This indicates any property can be added to this object. + [SourceEndpoint ]: Name of the Migration Endpoint in the source tenant + [TargetDeliveryDomain ]: Delivery domain on the target tenant + [JobType ]: crossTenantMigrationJobType + [LastUpdatedDateTime ]: When this migration job was last updated. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. +Read-only. + [Message ]: Status message of the migration job. +Nullable. +Read-only. + [ResourceType ]: Type of resource being migrated. +Only Users is currently supported. + [Resources ]: IDs (GUID) of the resources that are migrated with the migration job. + [SourceTenantId ]: ID (GUID) of the tenant that content is migrated from. + [Status ]: crossTenantMigrationJobStatus + [TargetTenantId ]: ID of the tenant that content is migrated to. +Read-only. + [Users ]: Details and status of the users migrated in this migration job. + [Id ]: The unique identifier for an entity. +Read-only. + [CurrentStatus ]: Most recent status of this migration task + [Errors ]: Errors associated with the migration for this service + [Code ]: The error code + [Message ]: The message for the error + [Message ]: Service status message + [Service ]: Service or workload the status details are associated with + [Status ]: crossTenantMigrationServiceStatus + [LastUpdatedDateTime ]: Time the task was last updated + [TaskType ]: Type of migration task. +Only Users are supported at this time. + [Workloads ]: Workloads to migrate. +Supported workloads are Teams, Exchange, and ODSP (OneDrive/SharePoint). + +EXCHANGESETTINGS ``: exchangeOnlineCrossTenantMigrationSettings + [(Any) ]: This indicates any property can be added to this object. + [SourceEndpoint ]: Name of the Migration Endpoint in the source tenant + [TargetDeliveryDomain ]: Delivery domain on the target tenant + +USERS : Details and status of the users migrated in this migration job. + [Id ]: The unique identifier for an entity. +Read-only. + [CurrentStatus ]: Most recent status of this migration task + [Errors ]: Errors associated with the migration for this service + [Code ]: The error code + [Message ]: The message for the error + [Message ]: Service status message + [Service ]: Service or workload the status details are associated with + [Status ]: crossTenantMigrationServiceStatus + [LastUpdatedDateTime ]: Time the task was last updated + [TaskType ]: Type of migration task. +Only Users are supported at this time. + + +## RELATED LINKS + +- [New-MgBetaCrossTenantMigrationJob](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/new-mgbetacrosstenantmigrationjob) +- [Graph API Reference](https://learn.microsoft.com/graph/api/migrationsroot-post-crosstenantmigrationjobs?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Remove-MgBetaCrossTenantMigrationJob.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Remove-MgBetaCrossTenantMigrationJob.md new file mode 100644 index 000000000000..157f8f8d2ca2 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Remove-MgBetaCrossTenantMigrationJob.md @@ -0,0 +1,408 @@ +--- +document type: cmdlet +external help file: Microsoft.Graph.Beta.Migrations-Help.xml +HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/remove-mgbetacrosstenantmigrationjob +Locale: en-US +Module Name: Microsoft.Graph.Beta.Migrations +ms.date: 08/21/2026 +PlatyPS schema version: 2024-05-01 +title: Remove-MgBetaCrossTenantMigrationJob +--- + +# Remove-MgBetaCrossTenantMigrationJob + +## SYNOPSIS + +Delete navigation property crossTenantMigrationJobs for solutions + +## SYNTAX + +### Delete (Default) + +``` +Remove-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId [-IfMatch ] + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] + [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +### DeleteViaIdentity + +``` +Remove-MgBetaCrossTenantMigrationJob -InputObject [-IfMatch ] + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] + [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +## ALIASES + +This cmdlet has the following aliases, + {{Insert list of aliases}} + +## DESCRIPTION + +Delete navigation property crossTenantMigrationJobs for solutions + +## PARAMETERS + +### -Break + +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Confirm + +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- cf +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationJobId + +The unique identifier of crossTenantMigrationJob + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: Delete + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Headers + +Optional headers that will be added to the request. + +```yaml +Type: System.Collections.IDictionary +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelineAppend + +SendAsync Pipeline Steps to be appended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelinePrepend + +SendAsync Pipeline Steps to be prepended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -IfMatch + +ETag + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -InputObject + +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: DeleteViaIdentity + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -PassThru + +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Proxy + +The URI for the proxy server to use + +```yaml +Type: System.Uri +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyCredential + +Credentials for a proxy server to use for the remote call + +```yaml +Type: System.Management.Automation.PSCredential +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyUseDefaultCredentials + +Use the default credentials for the proxy + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResponseHeadersVariable + +Optional Response Headers Variable. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- RHV +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -WhatIf + +Runs the command in a mode that only reports what would happen without performing the actions. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- wi +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### 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](https://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity + +{{ Fill in the Description }} + +### System.Collections.IDictionary + +{{ Fill in the Description }} + +## OUTPUTS + +### System.Boolean + +{{ Fill in the Description }} + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + [CrossTenantMigrationJobId ]: The unique identifier of crossTenantMigrationJob + [CrossTenantMigrationTaskId ]: The unique identifier of crossTenantMigrationTask + [DisplayName ]: Alternate key of crossTenantMigrationJob + + +## RELATED LINKS + +- [Remove-MgBetaCrossTenantMigrationJob](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/remove-mgbetacrosstenantmigrationjob) + + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Stop-MgBetaCrossTenantMigrationJob.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Stop-MgBetaCrossTenantMigrationJob.md new file mode 100644 index 000000000000..dec4f2b017f0 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Stop-MgBetaCrossTenantMigrationJob.md @@ -0,0 +1,385 @@ +--- +document type: cmdlet +external help file: Microsoft.Graph.Beta.Migrations-Help.xml +HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/stop-mgbetacrosstenantmigrationjob +Locale: en-US +Module Name: Microsoft.Graph.Beta.Migrations +ms.date: 08/21/2026 +PlatyPS schema version: 2024-05-01 +title: Stop-MgBetaCrossTenantMigrationJob +--- + +# Stop-MgBetaCrossTenantMigrationJob + +## SYNOPSIS + +Cancel a crossTenantMigrationJob. +All tasks within the job that were in a Sync state are canceled. +If the job can't be canceled, a 409 Conflict response is returned and the migrations continue. +This response happens when a migration is already in progress or is in a terminal state. + +## SYNTAX + +### Cancel (Default) + +``` +Stop-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +### CancelViaIdentity + +``` +Stop-MgBetaCrossTenantMigrationJob -InputObject + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +## ALIASES + +This cmdlet has the following aliases, + {{Insert list of aliases}} + +## DESCRIPTION + +Cancel a crossTenantMigrationJob. +All tasks within the job that were in a Sync state are canceled. +If the job can't be canceled, a 409 Conflict response is returned and the migrations continue. +This response happens when a migration is already in progress or is in a terminal state. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Migrations + +Stop-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId $crossTenantMigrationJobId + +``` +This example shows how to use the Stop-MgBetaCrossTenantMigrationJob Cmdlet. + + +## PARAMETERS + +### -Break + +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Confirm + +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- cf +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationJobId + +The unique identifier of crossTenantMigrationJob + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: Cancel + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Headers + +Optional headers that will be added to the request. + +```yaml +Type: System.Collections.IDictionary +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelineAppend + +SendAsync Pipeline Steps to be appended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelinePrepend + +SendAsync Pipeline Steps to be prepended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -InputObject + +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CancelViaIdentity + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Proxy + +The URI for the proxy server to use + +```yaml +Type: System.Uri +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyCredential + +Credentials for a proxy server to use for the remote call + +```yaml +Type: System.Management.Automation.PSCredential +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyUseDefaultCredentials + +Use the default credentials for the proxy + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResponseHeadersVariable + +Optional Response Headers Variable. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- RHV +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -WhatIf + +Runs the command in a mode that only reports what would happen without performing the actions. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- wi +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### 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](https://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity + +{{ Fill in the Description }} + +### System.Collections.IDictionary + +{{ Fill in the Description }} + +## OUTPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationCancelResponse + +{{ Fill in the Description }} + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + [CrossTenantMigrationJobId ]: The unique identifier of crossTenantMigrationJob + [CrossTenantMigrationTaskId ]: The unique identifier of crossTenantMigrationTask + [DisplayName ]: Alternate key of crossTenantMigrationJob + + +## RELATED LINKS + +- [Stop-MgBetaCrossTenantMigrationJob](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/stop-mgbetacrosstenantmigrationjob) +- [Graph API Reference](https://learn.microsoft.com/graph/api/crosstenantmigrationjob-cancel?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Stop-MgBetaCrossTenantMigrationJobUser.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Stop-MgBetaCrossTenantMigrationJobUser.md new file mode 100644 index 000000000000..9384fe5ac09e --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Stop-MgBetaCrossTenantMigrationJobUser.md @@ -0,0 +1,403 @@ +--- +document type: cmdlet +external help file: Microsoft.Graph.Beta.Migrations-Help.xml +HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/stop-mgbetacrosstenantmigrationjobuser +Locale: en-US +Module Name: Microsoft.Graph.Beta.Migrations +ms.date: 08/21/2026 +PlatyPS schema version: 2024-05-01 +title: Stop-MgBetaCrossTenantMigrationJobUser +--- + +# Stop-MgBetaCrossTenantMigrationJobUser + +## SYNOPSIS + +Cancel a specific crossTenantMigrationTask for a User within a CrossTenantMigrationJob. +If the User migration can't be canceled or is in a terminal state, a 409 CONFLICT response code is returned, and the migration continues. + +## SYNTAX + +### Cancel (Default) + +``` +Stop-MgBetaCrossTenantMigrationJobUser -CrossTenantMigrationJobId + -CrossTenantMigrationTaskId [-ResponseHeadersVariable ] [-Break] + [-Headers ] [-HttpPipelineAppend ] + [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +### CancelViaIdentity + +``` +Stop-MgBetaCrossTenantMigrationJobUser -InputObject + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +## ALIASES + +This cmdlet has the following aliases, + {{Insert list of aliases}} + +## DESCRIPTION + +Cancel a specific crossTenantMigrationTask for a User within a CrossTenantMigrationJob. +If the User migration can't be canceled or is in a terminal state, a 409 CONFLICT response code is returned, and the migration continues. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Migrations + +Stop-MgBetaCrossTenantMigrationJobUser -CrossTenantMigrationJobId $crossTenantMigrationJobId -CrossTenantMigrationTaskId $crossTenantMigrationTaskId + +``` +This example shows how to use the Stop-MgBetaCrossTenantMigrationJobUser Cmdlet. + + +## PARAMETERS + +### -Break + +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Confirm + +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- cf +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationJobId + +The unique identifier of crossTenantMigrationJob + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: Cancel + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationTaskId + +The unique identifier of crossTenantMigrationTask + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: Cancel + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Headers + +Optional headers that will be added to the request. + +```yaml +Type: System.Collections.IDictionary +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelineAppend + +SendAsync Pipeline Steps to be appended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelinePrepend + +SendAsync Pipeline Steps to be prepended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -InputObject + +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: CancelViaIdentity + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Proxy + +The URI for the proxy server to use + +```yaml +Type: System.Uri +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyCredential + +Credentials for a proxy server to use for the remote call + +```yaml +Type: System.Management.Automation.PSCredential +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyUseDefaultCredentials + +Use the default credentials for the proxy + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResponseHeadersVariable + +Optional Response Headers Variable. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- RHV +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -WhatIf + +Runs the command in a mode that only reports what would happen without performing the actions. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- wi +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### 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](https://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity + +{{ Fill in the Description }} + +### System.Collections.IDictionary + +{{ Fill in the Description }} + +## OUTPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationCancelResponse + +{{ Fill in the Description }} + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + [CrossTenantMigrationJobId ]: The unique identifier of crossTenantMigrationJob + [CrossTenantMigrationTaskId ]: The unique identifier of crossTenantMigrationTask + [DisplayName ]: Alternate key of crossTenantMigrationJob + + +## RELATED LINKS + +- [Stop-MgBetaCrossTenantMigrationJobUser](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/stop-mgbetacrosstenantmigrationjobuser) +- [Graph API Reference](https://learn.microsoft.com/graph/api/crosstenantmigrationtask-cancel?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Test-MgBetaCrossTenantMigrationJob.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Test-MgBetaCrossTenantMigrationJob.md new file mode 100644 index 000000000000..1fe413fce2b7 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Test-MgBetaCrossTenantMigrationJob.md @@ -0,0 +1,405 @@ +--- +document type: cmdlet +external help file: Microsoft.Graph.Beta.Migrations-Help.xml +HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/test-mgbetacrosstenantmigrationjob +Locale: en-US +Module Name: Microsoft.Graph.Beta.Migrations +ms.date: 08/21/2026 +PlatyPS schema version: 2024-05-01 +title: Test-MgBetaCrossTenantMigrationJob +--- + +# Test-MgBetaCrossTenantMigrationJob + +## SYNOPSIS + +Validate the configuration of a cross-tenant migration job asynchronously. +This action doesn't migrate any content, but goes through validation for the specified workloads to find any errors or misconfigurations that affect an actual migration job. +The job must be in a submitted or validateFailed status before you can call this action. +This action is asynchronous. +After you call the validate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of validatePassed or validateFailed. + +## SYNTAX + +### Validate (Default) + +``` +Test-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +### ValidateViaIdentity + +``` +Test-MgBetaCrossTenantMigrationJob -InputObject + [-ResponseHeadersVariable ] [-Break] [-Headers ] + [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +## ALIASES + +This cmdlet has the following aliases, + {{Insert list of aliases}} + +## DESCRIPTION + +Validate the configuration of a cross-tenant migration job asynchronously. +This action doesn't migrate any content, but goes through validation for the specified workloads to find any errors or misconfigurations that affect an actual migration job. +The job must be in a submitted or validateFailed status before you can call this action. +This action is asynchronous. +After you call the validate API, poll the Get crossTenantMigrationJob endpoint to check for a terminal status of validatePassed or validateFailed. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Migrations + +$params = @{ + displayName = "Contoso_migration_validation_job" + completeAfterDateTime = "2025-05-22T17:14:52Z" + sourceTenantId = "12345678-1234-1234-1234-123456789012" + exchangeSettings = @{ + targetDeliveryDomain = "fabrikam.com" + sourceEndpoint = "EXOHandler" + } + resources = @( + "b5b8bc4f-0e36-4ad3-8ddf-248b68260b89" +"ac87d040-a081-426c-a73b-81133f458a29" +) +workloads = @( +"Teams" +) +resourceType = "Users" +} + +Test-MgBetaCrossTenantMigrationJob -BodyParameter $params + +``` +This example shows how to use the Test-MgBetaCrossTenantMigrationJob Cmdlet. + + +## PARAMETERS + +### -Break + +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Confirm + +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- cf +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationJobId + +The unique identifier of crossTenantMigrationJob + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: Validate + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Headers + +Optional headers that will be added to the request. + +```yaml +Type: System.Collections.IDictionary +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelineAppend + +SendAsync Pipeline Steps to be appended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelinePrepend + +SendAsync Pipeline Steps to be prepended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -InputObject + +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: ValidateViaIdentity + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Proxy + +The URI for the proxy server to use + +```yaml +Type: System.Uri +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyCredential + +Credentials for a proxy server to use for the remote call + +```yaml +Type: System.Management.Automation.PSCredential +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyUseDefaultCredentials + +Use the default credentials for the proxy + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResponseHeadersVariable + +Optional Response Headers Variable. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- RHV +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -WhatIf + +Runs the command in a mode that only reports what would happen without performing the actions. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- wi +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### 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](https://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity + +{{ Fill in the Description }} + +### System.Collections.IDictionary + +{{ Fill in the Description }} + +## OUTPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationJob + +{{ Fill in the Description }} + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT ``: Identity Parameter + [CrossTenantMigrationJobId ]: The unique identifier of crossTenantMigrationJob + [CrossTenantMigrationTaskId ]: The unique identifier of crossTenantMigrationTask + [DisplayName ]: Alternate key of crossTenantMigrationJob + + +## RELATED LINKS + +- [Test-MgBetaCrossTenantMigrationJob](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/test-mgbetacrosstenantmigrationjob) +- [Graph API Reference](https://learn.microsoft.com/graph/api/crosstenantmigrationjob-validate?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Update-MgBetaCrossTenantMigrationJob.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Update-MgBetaCrossTenantMigrationJob.md new file mode 100644 index 000000000000..43fe71604f60 --- /dev/null +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.Migrations/Update-MgBetaCrossTenantMigrationJob.md @@ -0,0 +1,1013 @@ +--- +document type: cmdlet +external help file: Microsoft.Graph.Beta.Migrations-Help.xml +HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/update-mgbetacrosstenantmigrationjob +Locale: en-US +Module Name: Microsoft.Graph.Beta.Migrations +ms.date: 08/21/2026 +PlatyPS schema version: 2024-05-01 +title: Update-MgBetaCrossTenantMigrationJob +--- + +# Update-MgBetaCrossTenantMigrationJob + +## SYNOPSIS + +Update the completeAfterDateTime of a crossTenantMigrationJob object. +Only updates to the completeAfterDateTime are supported. +Use this function to change when the crossTenantMigrationJob starts processing. +If completeAfterDateTime is set to the past, the crossTenantMigrationJob starts processing. + +## SYNTAX + +### UpdateExpanded (Default) + +``` +Update-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId + [-ResponseHeadersVariable ] [-AdditionalProperties ] + [-CompleteAfterDateTime ] [-CreatedBy ] [-CreatedDateTime ] + [-DisplayName ] + [-ExchangeSettings ] [-Id ] + [-JobType ] [-LastUpdatedDateTime ] [-Message ] [-ResourceType ] + [-Resources ] [-SourceTenantId ] [-Status ] [-TargetTenantId ] + [-Users ] [-Workloads ] [-Break] + [-Headers ] [-HttpPipelineAppend ] + [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +### Update + +``` +Update-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId + -BodyParameter [-ResponseHeadersVariable ] + [-Break] [-Headers ] [-HttpPipelineAppend ] + [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +### UpdateViaIdentityExpanded + +``` +Update-MgBetaCrossTenantMigrationJob -InputObject + [-ResponseHeadersVariable ] [-AdditionalProperties ] + [-CompleteAfterDateTime ] [-CreatedBy ] [-CreatedDateTime ] + [-DisplayName ] + [-ExchangeSettings ] [-Id ] + [-JobType ] [-LastUpdatedDateTime ] [-Message ] [-ResourceType ] + [-Resources ] [-SourceTenantId ] [-Status ] [-TargetTenantId ] + [-Users ] [-Workloads ] [-Break] + [-Headers ] [-HttpPipelineAppend ] + [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +### UpdateViaIdentity + +``` +Update-MgBetaCrossTenantMigrationJob -InputObject + -BodyParameter [-ResponseHeadersVariable ] + [-Break] [-Headers ] [-HttpPipelineAppend ] + [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] +``` + +## ALIASES + +This cmdlet has the following aliases, + {{Insert list of aliases}} + +## DESCRIPTION + +Update the completeAfterDateTime of a crossTenantMigrationJob object. +Only updates to the completeAfterDateTime are supported. +Use this function to change when the crossTenantMigrationJob starts processing. +If completeAfterDateTime is set to the past, the crossTenantMigrationJob starts processing. + +## EXAMPLES +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Migrations + +$params = @{ + completeAfterDateTime = [System.DateTime]::Parse("2025-05-22T17:14:52Z") +} + +Update-MgBetaCrossTenantMigrationJob -CrossTenantMigrationJobId $crossTenantMigrationJobId -BodyParameter $params + +``` +This example shows how to use the Update-MgBetaCrossTenantMigrationJob Cmdlet. + + +## PARAMETERS + +### -AdditionalProperties + +Additional Parameters + +```yaml +Type: System.Collections.Hashtable +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -BodyParameter + +crossTenantMigrationJob +To construct, see NOTES section for BODYPARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationJob +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentity + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: Update + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Break + +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CompleteAfterDateTime + +Date and time after which the migration should be performed. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. + +```yaml +Type: System.DateTime +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Confirm + +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- cf +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CreatedBy + +User principal name (UPN) of the user who created the job. +Read-only. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CreatedDateTime + +When the job was created. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. +Read-only. + +```yaml +Type: System.DateTime +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -CrossTenantMigrationJobId + +The unique identifier of crossTenantMigrationJob + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateExpanded + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: Update + Position: Named + IsRequired: true + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -DisplayName + +Display name of the job. +Must be unique per tenant. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ExchangeSettings + +exchangeOnlineCrossTenantMigrationSettings +To construct, see NOTES section for EXCHANGESETTINGS properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExchangeOnlineCrossTenantMigrationSettings +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Headers + +Optional headers that will be added to the request. + +```yaml +Type: System.Collections.IDictionary +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelineAppend + +SendAsync Pipeline Steps to be appended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -HttpPipelinePrepend + +SendAsync Pipeline Steps to be prepended to the front of the pipeline + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Id + +The unique identifier for an entity. +Read-only. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -InputObject + +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateViaIdentity + Position: Named + IsRequired: true + ValueFromPipeline: true + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -JobType + +crossTenantMigrationJobType + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -LastUpdatedDateTime + +When this migration job was last updated. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. +Read-only. + +```yaml +Type: System.DateTime +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Message + +Status message of the migration job. +Nullable. +Read-only. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Proxy + +The URI for the proxy server to use + +```yaml +Type: System.Uri +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyCredential + +Credentials for a proxy server to use for the remote call + +```yaml +Type: System.Management.Automation.PSCredential +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ProxyUseDefaultCredentials + +Use the default credentials for the proxy + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: False +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Resources + +IDs (GUID) of the resources that are migrated with the migration job. + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResourceType + +Type of resource being migrated. +Only Users is currently supported. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -ResponseHeadersVariable + +Optional Response Headers Variable. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: +- RHV +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -SourceTenantId + +ID (GUID) of the tenant that content is migrated from. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Status + +crossTenantMigrationJobStatus + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -TargetTenantId + +ID of the tenant that content is migrated to. +Read-only. + +```yaml +Type: System.String +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Users + +Details and status of the users migrated in this migration job. +To construct, see NOTES section for USERS properties and create a hash table. + +```yaml +Type: Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationTask[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -WhatIf + +Runs the command in a mode that only reports what would happen without performing the actions. + +```yaml +Type: System.Management.Automation.SwitchParameter +DefaultValue: '' +SupportsWildcards: false +Aliases: +- wi +ParameterSets: +- Name: (All) + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### -Workloads + +Workloads to migrate. +Supported workloads are Teams, Exchange, and ODSP (OneDrive/SharePoint). + +```yaml +Type: System.String[] +DefaultValue: '' +SupportsWildcards: false +Aliases: [] +ParameterSets: +- Name: UpdateViaIdentityExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +- Name: UpdateExpanded + Position: Named + IsRequired: false + ValueFromPipeline: false + ValueFromPipelineByPropertyName: false + ValueFromRemainingArguments: false +DontShow: false +AcceptedValues: [] +HelpMessage: '' +``` + +### 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](https://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationJob + +{{ Fill in the Description }} + +### Microsoft.Graph.Beta.PowerShell.Models.IMigrationsIdentity + +{{ Fill in the Description }} + +### System.Collections.IDictionary + +{{ Fill in the Description }} + +## OUTPUTS + +### Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphCrossTenantMigrationJob + +{{ Fill in the Description }} + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. +For information on hash tables, run Get-Help about_Hash_Tables. + +BODYPARAMETER ``: crossTenantMigrationJob + [(Any) ]: This indicates any property can be added to this object. + [Id ]: The unique identifier for an entity. +Read-only. + [CompleteAfterDateTime ]: Date and time after which the migration should be performed. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. + [CreatedBy ]: User principal name (UPN) of the user who created the job. +Read-only. + [CreatedDateTime ]: When the job was created. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. +Read-only. + [DisplayName ]: Display name of the job. +Must be unique per tenant. + [ExchangeSettings ]: exchangeOnlineCrossTenantMigrationSettings + [(Any) ]: This indicates any property can be added to this object. + [SourceEndpoint ]: Name of the Migration Endpoint in the source tenant + [TargetDeliveryDomain ]: Delivery domain on the target tenant + [JobType ]: crossTenantMigrationJobType + [LastUpdatedDateTime ]: When this migration job was last updated. +The timestamp type represents date and time information using ISO 8601 format and is always in UTC. +For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. +Read-only. + [Message ]: Status message of the migration job. +Nullable. +Read-only. + [ResourceType ]: Type of resource being migrated. +Only Users is currently supported. + [Resources ]: IDs (GUID) of the resources that are migrated with the migration job. + [SourceTenantId ]: ID (GUID) of the tenant that content is migrated from. + [Status ]: crossTenantMigrationJobStatus + [TargetTenantId ]: ID of the tenant that content is migrated to. +Read-only. + [Users ]: Details and status of the users migrated in this migration job. + [Id ]: The unique identifier for an entity. +Read-only. + [CurrentStatus ]: Most recent status of this migration task + [Errors ]: Errors associated with the migration for this service + [Code ]: The error code + [Message ]: The message for the error + [Message ]: Service status message + [Service ]: Service or workload the status details are associated with + [Status ]: crossTenantMigrationServiceStatus + [LastUpdatedDateTime ]: Time the task was last updated + [TaskType ]: Type of migration task. +Only Users are supported at this time. + [Workloads ]: Workloads to migrate. +Supported workloads are Teams, Exchange, and ODSP (OneDrive/SharePoint). + +EXCHANGESETTINGS ``: exchangeOnlineCrossTenantMigrationSettings + [(Any) ]: This indicates any property can be added to this object. + [SourceEndpoint ]: Name of the Migration Endpoint in the source tenant + [TargetDeliveryDomain ]: Delivery domain on the target tenant + +INPUTOBJECT ``: Identity Parameter + [CrossTenantMigrationJobId ]: The unique identifier of crossTenantMigrationJob + [CrossTenantMigrationTaskId ]: The unique identifier of crossTenantMigrationTask + [DisplayName ]: Alternate key of crossTenantMigrationJob + +USERS : Details and status of the users migrated in this migration job. + [Id ]: The unique identifier for an entity. +Read-only. + [CurrentStatus ]: Most recent status of this migration task + [Errors ]: Errors associated with the migration for this service + [Code ]: The error code + [Message ]: The message for the error + [Message ]: Service status message + [Service ]: Service or workload the status details are associated with + [Status ]: crossTenantMigrationServiceStatus + [LastUpdatedDateTime ]: Time the task was last updated + [TaskType ]: Type of migration task. +Only Users are supported at this time. + + +## RELATED LINKS + +- [Update-MgBetaCrossTenantMigrationJob](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.migrations/update-mgbetacrosstenantmigrationjob) +- [Graph API Reference](https://learn.microsoft.com/graph/api/crosstenantmigrationjob-update?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + +