Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop-DurableOrchestration api returns 401 error #970

Open
LiyingDai opened this issue Jul 19, 2023 · 3 comments
Open

Stop-DurableOrchestration api returns 401 error #970

LiyingDai opened this issue Jul 19, 2023 · 3 comments

Comments

@LiyingDai
Copy link

image

@pescador9
Copy link

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.

@davidmrdavid
Copy link
Contributor

@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: Azure/azure-functions-durable-powershell#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

@lilyjma
Copy link

lilyjma commented Mar 4, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants