Stop-DurableOrchestration api returns 401 error
I am facing the same issue using Get-DurableStatus, as in #745
...
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.0.0, 5.0.0)"
},
"managedDependency": {
"enabled": true
},
"extensions": {
"durableTask": {
"maxConcurrentActivityFunctions": 10,
"maxConcurrentOrchestratorFunctions": 10
}
}
}
...
examples/durable/DurableApp/InstanceManagement/run.ps1 is impossible to execute, for example.
@pescador, @LiyingDai: thanks for the report and apologies for these issues. It appears these CmdLets work locally, but are failing on Azure. I've identified the problem being that the URI these APIs are requesting needs to be slightly modified to work on Azure, and I've prototyped a PR here: https://github.com/Azure/azure-functions-durable-powershell/pull/66 . This will take a bit to merge and release.
In the meantime, my recommended workaround is to utilize the DF HTTP API directly to perform these management operations:https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-api
Hi @pescador9 and @LiyingDai - thank you for using Durable Functions! I'm a PM working on DF and would love to learn about your experience. If your time allows, please grab a meeting with us here. Understanding the problems you're trying to solve will help us target future development. Thanks!