Skip to content

Commit

Permalink
Update tutorial-perform-transactionless-copy.md
Browse files Browse the repository at this point in the history
fixed the syntax of the script
  • Loading branch information
headcase-fo authored Nov 5, 2024
1 parent 9a7ce11 commit c921fdf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ Write-Host "Creating a session against the Power Platform API"
Add-PowerAppsAccount -Endpoint prod -TenantID $TenantId -ApplicationId $SPNId -ClientSecret $ClientSecret
$copyToRequest = \[pscustomobject\]@{
$copyToRequest = [pscustomobject]@{
SourceEnvironmentId = $SourceEnvironmentID
TargetEnvironmentName = "Copied from source"
CopyType = "FullCopy"
SkipAuditData: true
ExecuteAdvancedCopyForFinanceAndOperations: true
SkipAuditData = $true
ExecuteAdvancedCopyForFinanceAndOperations = $true
}
Copy-PowerAppEnvironment -EnvironmentName $TargetEnvironmentID -CopyToRequestDefinition $copyToRequest
Expand Down

0 comments on commit c921fdf

Please sign in to comment.