unable to connect to database from Azure Function App and also not able to send email.

Naveen Katoch 0 Reputation points
2025-01-10T21:30:59.2133333+00:00

unable to connect to database from Azure Function App and also not able to send email.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,303 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 25,225 Reputation points MVP
    2025-01-10T21:49:44.4833333+00:00

    Hi there Naveen Katoch

    Thanks for using QandA platform

    Try checking if thee that the database connection string is correctly configured in the app settings and that the database firewall is configured to allow the app's outbound IPs. For email issues, verify SMTP settings (host, port, and credentials) if using an SMTP server, or check the API key and configuration if using a service like SendGrid. also check the networkimg, if it uses a VNet, to confirm connectivity.

    Use the Mnitor to review logs for specific error details, as this lacks info,

    If this helps kindly accept the answer thanks much.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.