Skip to content

Commit 2a0651a

Browse files
committed
couple of tweaks ahead of pre-review
Signed-off-by: Hannah Hunter <[email protected]>
1 parent 15869b8 commit 2a0651a

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

articles/azure-functions/durable/durable-task-scheduler/troubleshoot-durable-task-scheduler.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot the Azure Functions durable task scheduler dashboard (preview)
33
description: Learn how to troubleshoot error messages and issues you encounter while using the Azure Functions durable task scheduler.
44
ms.topic: conceptual
5-
ms.date: 01/27/2025
5+
ms.date: 03/18/2025
66
---
77

88
# Troubleshoot the Azure Functions durable task scheduler dashboard (preview)
@@ -13,23 +13,22 @@ When your app isn't running as expected, first check if you have the correct con
1313

1414
### Local development
1515

16-
1. Check connection string, which should have this format: `Endpoint=http://localhost:<port number>;Authentication=None`. Ensure the port number is the one mapped to `8080` on the [container that's running the emulator](./quickstart-durable-task-scheduler.md#set-up-durable-task-scheduler-emulator).
17-
1. In addition to the durable task scheduler emulator, check that the Azure Storage emulator [Azurite is started](./quickstart-durable-task-scheduler.md#test-locally). Azurite is need for components of the app related to Functions.
16+
1. Check the connection string, which should have this format: `Endpoint=http://localhost:<port number>;Authentication=None`. Ensure the port number is the one mapped to `8080` on the [container running the durable task scheduler emulator](./quickstart-durable-task-scheduler.md#set-up-durable-task-scheduler-emulator).
17+
18+
1. Along with the durable task scheduler emulator, make sure [the Azure Storage emulator, Azurite, is started](./quickstart-durable-task-scheduler.md#test-locally). Azurite is needed for components of the app related to Functions.
1819

1920
### Running on Azure
2021

2122
1. Check your app for the environment variables `DURABLE_TASK_SCHEDULER_CONNECTION_STRING` and `TASKHUB_NAME`.
22-
1. Check the value of `DURABLE_TASK_SCHEDULER_CONNECTION_STRING`. Specifically, verify that the scheduler endpoint and authentication type are correct. The connection string should be formatted as follows when using:
23-
24-
*User-assigned managed identity*
2523

26-
`Endpoint={scheduler endpoint};Authentication=ManagedIdentity;ClientID={client id}`, where *client id* is the identity's client ID.
24+
1. Check the value of `DURABLE_TASK_SCHEDULER_CONNECTION_STRING`. Specifically, verify that the scheduler endpoint and authentication type are correct. The connection string should be formatted as follows when using:
2725

28-
*System-assigned managed identity*
26+
- *User-assigned managed identity*: `Endpoint={scheduler endpoint};Authentication=ManagedIdentity;ClientID={client id}`, where *client id* is the identity's client ID.
27+
- *System-assigned managed identity*: `Endpoint={scheduler endpoint};Authentication=ManagedIdentity`
2928

30-
`Endpoint={scheduler endpoint};Authentication=ManagedIdentity`
3129
1. Ensure the required role-based access control (RBAC) permission is [granted to the identity](./develop-with-durable-task-scheduler.md#configure-identity-based-authentication-for-app-to-access-durable-task-scheduler) needing to access the specified task hub or scheduler.
32-
1. When accessing the dashboard, ensure permission is [assigned to your own identity (email)](./develop-with-durable-task-scheduler.md#accessing-durable-task-scheduler-dashboard).
30+
- When accessing the dashboard, ensure permission is [assigned to your own identity (email)](./develop-with-durable-task-scheduler.md#accessing-durable-task-scheduler-dashboard).
31+
3332
1. If user-assigned managed identity is used, ensure the [identity is assigned to your app](./develop-with-durable-task-scheduler.md#assign-managed-identity-to-your-app).
3433

3534
## Error deploying durable functions app to Azure
@@ -41,6 +40,7 @@ If your deployment fails with an error such as `Encountered an error (ServiceUna
4140
If you get an `Unknown error retrieving details of this task hub` error on the durable task scheduler dashboard, the reason could be:
4241

4342
1. Your identity (email) doesn't have the required permission assigned for that task hub. Follow instructions to [grant the permission](./develop-with-durable-task-scheduler.md#accessing-durable-task-scheduler-dashboard), then access the dashboard again.
43+
4444
1. Your task hub was deleted.
4545

4646
## Can't delete resource
@@ -97,17 +97,17 @@ For Mx Mac (ARM64) users, you may run into gRPC runtime issues with durable func
9797
1. Reference the `2.41.0` version of the `Contrib.Grpc.Core.M1` NuGet package.
9898
1. Add a custom after-build target that ensures the correct ARM64 version of the gRPC libraries can be found.
9999

100-
```xml
101-
<Project>
102-
<ItemGroup>
103-
<PackageReference Include="Contrib.Grpc.Core.M1" Version="2.41.0" />
104-
</ItemGroup>
105-
106-
<Target Name="CopyGrpcNativeAssetsToOutDir" AfterTargets="Build">
107-
<ItemGroup>
108-
<NativeAssetToCopy Condition="$([MSBuild]::IsOSPlatform('OSX'))" Include="$(OutDir)runtimes/osx-arm64/native/*"/>
109-
</ItemGroup>
110-
<Copy SourceFiles="@(NativeAssetToCopy)" DestinationFolder="$(OutDir).azurefunctions/runtimes/osx-arm64/native"/>
111-
</Target>
112-
</Project>
113-
```
100+
```xml
101+
<Project>
102+
<ItemGroup>
103+
<PackageReference Include="Contrib.Grpc.Core.M1" Version="2.41.0" />
104+
</ItemGroup>
105+
106+
<Target Name="CopyGrpcNativeAssetsToOutDir" AfterTargets="Build">
107+
<ItemGroup>
108+
<NativeAssetToCopy Condition="$([MSBuild]::IsOSPlatform('OSX'))" Include="$(OutDir)runtimes/osx-arm64/native/*"/>
109+
</ItemGroup>
110+
<Copy SourceFiles="@(NativeAssetToCopy)" DestinationFolder="$(OutDir).azurefunctions/runtimes/osx-arm64/native"/>
111+
</Target>
112+
</Project>
113+
```

0 commit comments

Comments
 (0)