Azure / Azure/Azure-Functions

QueueTrigger not able to load the proper ManagedIdentity

Open
#2,642 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

QueueTrigger does not seem to work with managedidentity. I followed: https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue-trigger?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cextensionv5&pivots=programming-language-csharp#identity-based-connections and added the required config (copied from bicep):
```
EVENTQUEUE__clientId: identity.clientId
EVENTQUEUE__queueServiceUri: storageServices.dataEventsQueue.uri
EVENTQUEUE__credential: 'managedidentity'
```
The C# attribute
```
[QueueTrigger(ModelSelectorEnvironmentSettingsVars.EventQueueNameLookup, Connection = "EVENTQUEUE")]
```

However in the logs I get an error: `Error Message: Unable to load the proper Managed Identity.` even though I provide a clientid

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.