I\'am running Windows Server 2012 in Azure, and I\'ve configured the FTP server in IIS. When I try to connect the server, it accepts the username and password and log me in
It is usually necessary to restart the Microsoft FTP service after enabling the FTP server rules in Windows firewall to have the change take an effect.
Or restarting a whole machine.
See my guide to Installing an FTP Server on Windows using IIS.