Resource Group successfully created, cannot integrate with WordPress

Mourgan Reed-Cintron 20 Reputation points
2025-03-08T21:18:02.0766667+00:00

I'm working with a web developer that uses WordPress and in creating a new resource group in Azure, we were able to successfully get it validated, but we cannot connect it to the WordPress account. Any advice would be helpful.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,443 questions
0 comments No comments
{count} votes

Accepted answer
  1. Shree Hima Bindu Maganti 3,675 Reputation points Microsoft External Staff
    2025-03-12T07:28:48.7933333+00:00

    Hi @Anonymous
    If you're having trouble integrating WordPress with a new Azure Resource Group, it might be due to database connectivity, networking settings, or domain configuration. First, make sure your WordPress is set up to connect to Azure Database for MySQL or whichever database you're using. Check your wp-config.php file and ensure the database name, username, password, and host are correct. Also, verify that your database firewall rules allow inbound connections from your App Service's outbound IPs. More details are available here.

    If it's a networking and virtual network integration issue, ensure your Azure Virtual Network (VNet) is set up right. Sometimes, even after deleting a resource, the VNet keeps service delegation links, blocking integration. To fix this, go to Azure Portal > Virtual Networks > Subnets, check for service delegation, and remove any lingering links. If it still doesn't work, you might need to contact Azure Support. More info can be found in this guide.

    For those having email integration issues, Azure App Service doesn't natively support sending emails. You can set up SMTP settings in WordPress using a service like SendGrid or Azure Communication Services. Make sure your SMTP port (587) is open for outbound connections and use an SMTP plugin like WP Mail SMTP. A step-by-step guide is available here.

    Finally, if you're deploying WordPress with Terraform and getting source_control field errors, remember that this field is exported and can't be used directly. Instead, use a Terraform local-exec provisioner to run an Azure CLI or PowerShell script after deployment to set up the source control manually. A workaround is discussed in this Stack Overflow post.
    If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.
    Let me know if you have any assistances.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.