[BUG] SignalRTrigger CosmosDB input binding - InvocationContext.UserId #35762
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Functions
needs-team-triage
Workflow: This issue needs the team to triage.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Microsoft.Azure.WebJobs.Extensions.SignalRService ( 1.9.0 ), Microsoft.Azure.WebJobs.Extensions.CosmosDB ( 4.2.0), Microsoft.NET.Sdk.Functions ( 4.1.3)
Describe the bug
Given a generic ServerlessHub that successfully negotiates I have the following function invoked from the signalR client
Can I bind the UserId parameter ?
I checked with ChatGPT and it agreed that the CosmosDB attribute appeared correct.
If I change to using the CosmosClient directly the function is executed
Expected behavior
Should bind.
Actual behavior
Does not bind.
Reproduction Steps
Not the easiest thing to reproduce given that requires an authentication service, a client app and azure configuration.
I can provide further details but I would just like to know if it is possible to bind to the UserId property.
Environment
Azure Functions.
Visual Studio 17.5.1
The text was updated successfully, but these errors were encountered: