Greetings!
The default value of the sql_generate_invisible_primary_key parameter is set to ON in Azure Database for MySQL flexible server by design and is not a bug. This setting ensures that MySQL generates an invisible primary key for any new InnoDB table created without an explicit primary key. This feature is enabled to improve table management and performance in MySQL version 8.0. For more details, you can refer to the MySQL documentation about Generated Invisible Primary Keys (GIPK) and the Azure documentation on what's new for MySQL flexible server.
Resources:
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
Please do not forget to "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.
Regards
Geetha