from my previous question on \"function doesn\'t show in portal\" (Compiled function not showing in portal) I am now facing the issue that because of that I am unable to use the
Try the following ARM API to get the URL and the secret:
post /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/sites/{functionapp}/functions/MyFunction/listsecrets?api-version=2015-08-01
See also PowerShell equivalent here.