Unable to access to server through public endpoint while server id created as private access

Haseeb Ahmad 0 Reputation points
2025-11-25T09:37:00.1733333+00:00

I am facing an issue with my Azure MySQL Flexible Server. I created the server with private access, and because of that, I am unable to access it through a public endpoint. I am also unable to establish a connection from Azure Data Factory (ADF) pipelines and Power BI.

How can I resolve this issue? I need access to the server.

Azure Database for MySQL
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 40,031 Reputation points MVP Volunteer Moderator
    2025-11-26T00:38:56.2666667+00:00

    If the server was created with private access, it has no public endpoint, so anything outside the private network cannot reach it. ADF and PBI will fail unless they are inside the same virtual network.

    To fix it, you have only two options:

    1. Use private networking end to end
      • Place ADF inside a Managed VNet and use an IR that can reach the MySQL private endpoint.
      • For PBI, use PBI Gateway installed on a machine that has network access to the VNet.
      Recreate the server with public access Azure MySQL Flexible Server does not allow switching from private to public after creation.
        If you need a public endpoint, you must create a new server with public access and migrate the data.
      

    There is no workaround. The server’s network mode is fixed after creation.

    Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.


Your answer

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