I had two Virtual machines in Azure. One Having SharePoint and the other is for SQLServer Database. I got credentials for Remote Desktop Connection for both machines.
At the configuration stage for SharePoint, a wizard is open , it demands database credentials, when I put credentials of database into wizard and click on "NEXT" button it shows error.