@Glen Sale Thanks for getting back. It seems there is some progress after adding process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
The 404 error you are getting is because of incorrect endpoint. You need to update the right endpoint in your application. You will find the endpoint details from Azure portal as shown below:
Hope this helps.