How do I resolve the following : An error occurred while fetching firewall rule details. Please try loading the firewall rule again.

Mark Wedderburn 0 Reputation points
2026-02-10T18:24:34.19+00:00

I am attempting to add a firewall rule to my SQL database. I get the message : "An error occurred while fetching firewall rule details. Please try loading the firewall rule again" as I access the page. How can I resolve?

Azure SQL Database
0 comments No comments

Answer recommended by moderator

Mark Wedderburn 0 Reputation points
2026-02-11T21:15:06.28+00:00

The issue occurred because of a late payment which I didnt realize.

Was this answer helpful?


2 additional answers

Sort by: Most helpful
  1. Manoj Kumar Boyini 19,345 Reputation points Microsoft External Staff Moderator
    2026-02-10T21:42:36.9533333+00:00

    Hi Mark Wedderburn,

    It looks like you're facing an issue with adding a firewall rule to your SQL database, getting an error while trying to fetch rule details. This problem might be caused by a couple of reasons. Here are some steps you can try to resolve the issue:

    1. Refresh the Page: Sometimes, the portal can have temporary issues. Simply refreshing the page or waiting a few moments before trying again can help.

    Check Permissions: Ensure you have the required permissions assigned to your account to manage firewall rules. You might need to be a subscription owner or have contributor-level access.

    Enable TCP Port 1433: Make sure that TCP port 1433 is open on your local network as it is required for connecting to Azure SQL Database. You can check this by running:

    telnet <your-server-name>.database.windows.net 1433
    

    If it fails, the port might be blocked.

    Review Your IP Configuration: Go to the Azure portal, access your SQL server, and check the Configure tab to verify your Current Client IP Address. Ensure this IP address is added to the firewall rules under Allowed IP Addresses.

    Dynamic IP Address Considerations: If you’re using a dynamic IP address, it might change regularly, which could lead to access issues. In this case, consider adding a range or switching to a static IP.

    Clear Cache: If you've made changes to your firewall rules and they aren't recognized immediately, you can clear the local cache by running:

    DBCC FLUSHAUTHCACHE;
    

    This command helps to refresh the authentication cache for your database.

    Check Documentation: You can refer to these helpful documents for detailed steps and troubleshooting tips:

    If these steps don't solve your issue, I suggest providing a bit more detail about your setup. Here are a few follow-up questions that could help narrow down the problem:

    1. What specific steps have you taken when trying to add the firewall rule?
    2. Have there been any network changes recently that could affect connectivity?
    3. Are you receiving any other error messages aside from fetching firewall rule details?

    Hope this helps you get back on track! Let me know if there's anything else you need!

    Was this answer helpful?


  2. Alberto Morillo 35,506 Reputation points MVP Volunteer Moderator
    2026-02-10T19:40:33.59+00:00

    Maybe that is related to temporary issues on the Azure region where the server is located. Examine Resource Health to find possible health information related the server/database. In this case

    User's image

    Make sure you still have permissions to manage firewall rules. See permissions required here.

    As a workaround, try to create the rule using Transact-SQL while connected to the master database or using Azure CLI.

    EXECUTE sp_set_firewall_rule
    @name = N'AllowSpecificIP',
    @start_ip_address = '192.168.1.1',
    @end_ip_address = '192.168.1.10';
    

    Was this answer helpful?

    0 comments No comments

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.