Microsoft는 2020년 11월 1일에 기존 테넌트에서 SharePoint Server 2010 워크플로 서비스를 제거했습니다. 클래식 SharePoint Server 워크플로를 Power Automate 흐름으로 이전하는 것이 좋습니다.
이제 다음을 마이그레이션할 수 있습니다.
- SharePoint Server 2010 즉시 사용(OOTB) 승인 및 PowerAutomate에 대한 피드백 워크플로 수집
- 목록 및 라이브러리 "즉시 사용 가능한"(OOTB) 승인 워크플로
- 워크플로 정의 및 연결
참고
SharePoint Designer 또는 SharePoint Server 2013으로 만든 워크플로는 현재 지원되지 않습니다.
참고
SPMT를 사용하여 워크플로를 마이그레이션하려면 SPMT를 사용하여 SharePoint Server 2010 워크플로를 Power Automate로 마이그레이션을 참조하세요.
시작하기 전에
워크플로 마이그레이션을 시작하기 전에 먼저 다음을 수행해야 합니다.
- 필수 엔드포인트를 구성합니다.
- Power Automate를 구성합니다. 이전에 이 테넌트와 함께 Power Automate를 사용한 적이 없는 경우 마이그레이션을 시작하기 전에 Power Automate를 구성해야 합니다. Edge 또는 Internet Explorer를 사용하는 것이 좋습니다.
자세한 단계는 다음을 참조하세요.
워크플로 계획검사
이 명령은 지정된 사이트 또는 목록의 워크플로를 검사하고 검사 보고서를 생성합니다.
Register-SPMTMigration -ScanOnly $true -SPOCredential $targetCredential -UserMappingFile $userMappingFile -MigrationType WORKFLOW -DefaultFlowOwnerEmail $defaultOwnerName -Force
...
Start-SPMTMigration
워크플로 마이그레이션
이 명령은 다음을 수행합니다.
- 사이트 또는 목록의 워크플로 마이그레이션
- 마이그레이션 패키지 생성
- 패키지를 Power Automate로 가져오고
- 마이그레이션 보고서를 생성합니다.
MigrationType
MigrationType이 WORKFLOW인 경우 구조가 아직 마이그레이션되지 않은 경우 명령은 사이트 또는 목록 구조(콘텐츠 아님)를 마이그레이션한 다음 워크플로를 마이그레이션합니다.
DefaultFlowOwnerEmail
워크플로 정의에 소유자가 없으므로 OOTB 승인 워크플로에는 기본 흐름 소유자가 필요합니다. 마이그레이션 후에는 흐름 소유자 및 Power Automate 관리자만 마이그레이션된 흐름에 액세스할 수 있습니다. 지정된 소유자 전자 메일이 대상에서 유효한 사용자가 아닌 경우 마이그레이션이 실패합니다. 흐름 소유자도 대상 SPO 목록에 액세스할 수 있는 권한이 있어야 합니다.
> Register-SPMTMigration -SPOCredential $targetCredential -UserMappingFile $userMappingFile -MigrationType WORKFLOW -DefaultFlowOwnerEmail $defaultOwnerName -Force
...
Start-SPMTMigration
예제 PowerShell 스크립트
Import-Module "$((Resolve-Path .\).Path)\Microsoft.SharePoint.MigrationTool.PowerShell.dll"
clear
Remove-Variable * -ErrorAction SilentlyContinue
$currentFolder = (Resolve-Path .\).Path
$userMappingFile = "$($currentFolder)\Sample-UserMap.csv"
$defaultOwnerName = "please enter flow owner email here"
$targetSite = "please enter destination site URL here"
$targetUserName = "please enter destination site admin user email here"
$targetPassWord = ConvertTo-SecureString -String "please enter destination user password here" -AsPlainText -Force
$targetCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $targetUserName, $targetPassWord
Register-SPMTMigration -SPOCredential $targetCredential -UserMappingFile $userMappingFile -IgnoreUpdate -MigrationType WORKFLOW -DefaultFlowOwnerEmail $defaultOwnerName -Force
$sourceSite = "please enter source site URL here"
$sourceUsername = "please enter source site admin username here"
$sourcePassword = ConvertTo-SecureString -String "please enter destination user password here" -AsPlainText -Force
$sourceCredential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $sourceUsername, $sourcePassword
Add-SPMTTask -SharePointSourceCredential $sourcecredential -SharePointSourceSiteUrl $sourceSite -TargetSiteUrl $targetSite `
#-SourceList "please enter source list name here" -TargetList "please enter destination list name here"
Write-Host "Start migration"
$StartTime = [DateTime]::UtcNow
# Let the migration run in background using NoShow mode
Start-SPMTMigration
$migration = Get-SPMTMigration
# open report folder
start $migration.ReportFolderPath