Hi @dhanasekaranDevOps aximsoft Since you have already created the Azure Mysql flexible server here are the steps you can follow to enable AAD authentication
Step 1 Add a user-assigned Managed Identity to your Azure DB for the Mysql Flexible server
a. Go to Managed Identities from the portal and click on create
b.create a managed identity by selecting your subscription, resource group, and region as shown below once all details are entered click on review create
c. once the validation is passed click on create
Step2 Enable AAD Authentication on your Flexible server
a. go to your Mysql flexible server under security select authentication
b. select MySQL AAD authentication
c. add user-assigned managed identity which you have created in step 1
d. select the Azure active directory administrator and click on save
Once all the steps are completed click on server parameters under setting and on aad_auth as shown below
I hope this information helps, please let me know if you are facing any issues at any step
Regards
Geetha