azure-signalr icon indicating copy to clipboard operation
azure-signalr copied to clipboard

Cannot deploy serverless signalR and upstream function app from pipeline

Open RotateAt60MPH opened this issue 2 years ago • 1 comments

Describe the bug

Using a devops pipeline to deploy a serverless signalR resource with an associated upstream function app. SignalR extension key not created in the Function App so cannot extract from function app and feed it into upstream rule in SignalR.

To Reproduce

Use the SignalR bidirectional serverless sample in the samples repo. Create a Azure Devops AzureCLI pipeline task that executes a BICEP script to create the Function App and SignalR resource. Create a subsequent pipeline 'AzureFunctionApp' task that deploys the code to the function app:

The code is deployed, but the 'signalr_extension' System Key is not created. This prevents the creation of the upstream setting in SignalR.

Exceptions (if any)

Further technical details

Pipeline deployment YML file attached. BICEP file attached main.bicep.txt release.yml.txt

RotateAt60MPH avatar Aug 29 '22 16:08 RotateAt60MPH

signalr_extension is generated when functions that contain SignalRTrigger are successfully deployed to the Function app. So can you confirm whether it's successfully deployed? Sometimes the deployment fails so that the key is not generated.

zackliu avatar Sep 06 '22 02:09 zackliu

Please feel free to reopen the issue if there are updates.

vicancy avatar Oct 26 '23 08:10 vicancy