This was previously not supported for serverless signalR, but it is now. Related github issue
It can be set in the azure portal of the SignalR resource under 'Settings':