maybe it is just your copy and paste of code, or you missed it:
Flush privileges;
According to my experience, you have done everything correctly, and it should work.
Maybe the documentation gives you some more advice:
https://learn.microsoft.com/en-us/azure/mysql/single-server/how-to-create-users#create-a-non-admin-user