Kevin Williamson

Results 3 comments of Kevin Williamson

@PawelKaczanowski7N see https://github.com/Azure/azure-functions-durable-extension/issues/1922. Specifically you will want to serialize your object to JSON before sending it to the activity function: `Invoke-DurableActivity -FunctionName 'Test2' -Input ($result | ConvertTo-Json -Depth 5)` @davidmrdavid...

Removing -DefaultProfile should not be the solution. Of the 2 workarounds offered: 1. Set-AzContext is not thread safe. If you run Az cmdlets in multi-threaded environments (Azure Functions or Powershell...

FYI, until this bug is fixed, you can work around it with: $APIPath = "/providers/Microsoft.Management/managementGroups/$($InputObject.ManagementGroupId)/subscriptions/$($InputObject.SubscriptionId)?api-version=2020-05-01" Write-Information "Calling REST API $APIPath" $APIResponse = Invoke-AzRestMethod -Method PUT -Path $APIPath