An Azure managed MySQL database service for app development and deployment.
MySQL Flexible Server — firewallRules PUT returns HTTP 500 on api-version 2025-06-01-preview
Creating/updating a firewall rule on an Azure Database for MySQL Flexible Server fails 100% of the time with HTTP 500 InternalServerError when the request uses API version 2025-06-01-preview. The same server responds normally to GET on the same API version, and the same PUT succeeds on GA API version 2023-12-30. The error body carries only a Tracking ID and no actionable detail. This is not transient — it reproduces on every attempt across multiple days and survives a 5× retry with exponential backoff.
Affected resource
| Resource type | Microsoft.DBforMySQL/flexibleServers (+ child firewallRules) |
| -------- | -------- |
| Resource type | Microsoft.DBforMySQL/flexibleServers (+ child firewallRules) |
| Server name | ctdev |
| Resource group | devtest |
| Region | UK South (from x-ms-routing-request-id: UKSOUTH:...) |
publicNetworkAccess |
Enabled (no VNet delegation; delegatedSubnetResourceId / privateDnsZoneResourceId both null) |
| Server state | [confirm: Ready] |
(InternalServerError) An unexpected error occured while processing the request. Tracking ID: '<guid>'
Code: InternalServerError
Message: An unexpected error occured while processing the request. Tracking ID: '<guid>'
No inner error.code, no x-ms-failure-cause surfaced to the client. Request fails during FirewallRules_CreateOrUpdate long-running-operation initiation (_create_or_update_initial).