Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,22 @@ The `Get-TenantPrivateChannelMigrationStatus` cmdlet allows tenant administrator
### Example 1

```powershell
Get-TenantPrivateChannelMigrationStatus
```

This example gets the migration status for a tenant where all channels have been migrated.
PS> Get-TenantPrivateChannelMigrationStatus

```Output
TenantId : 12345678-1234-1234-1234-123456789abc
MigrationStatus : Completed
MigrationStartTimeStamp : 2025-10-09T10:15:00.456Z
MigrationCompletionTimeStamp : 2025-10-09T12:45:00.789Z
Details : {"totalChannels":10,"migratedChannels":10,"failedChannels":0,"ownerlessChannels":0,"remainingChannels":0}
```

This example gets the migration status for a tenant where all channels have been migrated.

### Example 2

```powershell
Get-TenantPrivateChannelMigrationStatus
```

This example gets the migration status for a tenant where some channels require admin attention.
PS> Get-TenantPrivateChannelMigrationStatus

```Output
TenantId : 94d200e4-2df1-45b9-bc3e-53cfa7cf4997
MigrationStatus : RequiresAdminAttention
MigrationStartTimeStamp : 2026-02-10T06:48:20.000Z
Expand All @@ -63,10 +57,10 @@ Details : {"totalChannels":10,"migratedChannels":6,"failedC
### Example 3

```powershell
$result = Get-TenantPrivateChannelMigrationStatus
$details = $result.Details | ConvertFrom-Json
Write-Host "Total: $($details.totalChannels), Migrated: $($details.migratedChannels), Failed: $($details.failedChannels), Ownerless: $($details.ownerlessChannels)"
if ($details.ownerlessChannelsDetails) { $details.ownerlessChannelsDetails | Format-Table channelThreadId, teamId }
PS> $result = Get-TenantPrivateChannelMigrationStatus
PS> $details = $result.Details | ConvertFrom-Json
PS> Write-Host "Total: $($details.totalChannels), Migrated: $($details.migratedChannels), Failed: $($details.failedChannels), Ownerless: $($details.ownerlessChannels)"
PS> if ($details.ownerlessChannelsDetails) { $details.ownerlessChannelsDetails | Format-Table channelThreadId, teamId }
```

This example parses the Details JSON and lists ownerless channels in a table.
Expand Down