Deploy connects to wrong URL

I have followed the Azure guide about deployment, and have created an app registration called “serverlesstest”:

azure ad sp create -n serverlesstest -p 'MY PASSWORD HERE'

In getDeployedFunctionsNames in serverless-azure-functions, the system then calls to https://serverlesstest.scm.azurewebsites.net/api/functions which times out.

I have opened the “App registrations” section on Azure and I can see my serverlesstest app there. When I open it up, I see that the home page is http://serverlesstest which I think could be causing the problem.