Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#1180 from JohnDuprey/dev
Browse files Browse the repository at this point in the history
timer tweaks
  • Loading branch information
JohnDuprey authored Nov 13, 2024
2 parents 4e4491c + 6362279 commit cf738e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function Start-DurableCleanup {
Write-Information "Orchestrator: $($Orchestrator.PartitionKey), created: $CreatedTime, running for: $RunningDuration minutes"
$ClearQueues = $true
if ($PSCmdlet.ShouldProcess($_.PartitionKey, 'Terminate Orchestrator')) {
$Orchestrator = Get-CIPPAzDataTableEntity @Table -Filter "PartitionKey eq '$($Orchestrator.PartitionKey)'"
$Orchestrator.RuntimeStatus = 'Failed'
Update-AzDataTableEntity @Table -Entity $Orchestrator
$CleanupCount++
Expand Down
1 change: 1 addition & 0 deletions Modules/CIPPCore/Public/Set-CIPPGDAPInviteGroups.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function Set-CIPPGDAPInviteGroups {
#Write-Information ($InputObject | ConvertTo-Json)
$InstanceId = Start-NewOrchestration -FunctionName 'CIPPOrchestrator' -InputObject (ConvertTo-Json -InputObject $InputObject -Depth 5 -Compress)
Write-Information "Started GDAP Invite orchestration with ID = '$InstanceId'"
return $InstanceId
}
}
}
Expand Down

0 comments on commit cf738e1

Please sign in to comment.