@TickingClock I have taken it up offline and figured that you were encountering exception "Exception: Worker was unable to load function main: 'Error: \?\D:\home\site\wwwroot\node_modules\bcrypt\lib\binding\napi-v3\bcrypt_lib.node is not a valid Win32 application.
\?\D:\home\site\wwwroot\node_modules\bcrypt\lib\binding\napi-v3\bcrypt_lib.node'
That is because you were using 'bcrypt' module and bcrypt is a native package, while bcryptjs (this package) is pure JS and works in Azure environment. Once you started using 'bcryptjs' module instead of 'bcrypt' module application started working fine. you may refer to : https://github.com/dcodeIO/bcrypt.js/issues/112
Also, you were unable to see the exception from the portal. In that case you can:
- Go to the "Application Insight" associated with the Function app. Then go to --> logs--> exceptions
- You can go to the function app. Go to Advanced tool( Kudu) --> Debug Console --> LogFiles--> Application ( D:\home\LogFiles\Application\Functions) --> Select folders accordingly --> log file.
Please let me know if you have any concern in this regard.