-
Notifications
You must be signed in to change notification settings - Fork 273
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
Durableorchestration client threw ERROR 401 in an environment authenticated by Azure Active Directory. #1348
Comments
This is currently expected with old versions of the Durable Task extension and the Durable Functions npm package. This is because the If your app is using the latest version of the extension* (either 1.8.5 or 2.2.1), and the latest version of the durable-functions npm package, then we use a local HTTP endpoint for *note: By default, non-C# languages are using extension bundles, which are still pinned to 1.8.3 of the extension for at least a few more weeks, after which they will use 1.8.5. To upgrade this version so you can bypass this issue, remove the "extensionBundle" section of your host.json, and use the Functions CLI to install the extension manually with the below command:
|
I need more help.
|
You will not have to wait a few weeks. A peer of mine is looking into why your deployment failed. |
It's been 19 days, But I am not getting a solution to the problem I encountered. In the process of looking for workarounds, If there are no deployment errors, |
"wait A few weeks later", it seems to have become the time when it was noticed.
|
Description
Durableorchestrationclient threw ERROR 401 in an environment authenticated by Azure Active Directory.
Expected behavior
I was able to set up an environment in which only users authenticated by AAD(Azure Active Directory) could launch the HttpTriger Function.
And I expected that only AAD(Azure Active Directory)-authenticated users could invoke the durable orchestration function.
Actual behavior
HTTPrequset holds the following authentication information, but there is no way to propagate it to durableorchestrationclient1 or axiosInstance.
Therefore, the http request for axiosInstance inside durableorchestrationclient1 will be http 401 Unauthorized.
Relevant source code snippets
Known workarounds
Not Known.
May be,,Using REST API with AAD authenticated Http Headers.
App Details
Screenshots
If deployed to Azure
FunctionName:Batch_DurableFunctionsHttpStart1
deployed to Azure: https://supportersystem-demo1-makedataactivity1.azurewebsites.net
repos: https://dev.azure.com/peerconnect/SupporterSystem-Demo1-MakeDataActivity1/_git/SupporterSystem-Demo1-MakeDataActivity1
The text was updated successfully, but these errors were encountered: