Got it working!
I put this in the /etc/sysconfig/nfs file
RQUOTAD_PORT=875
LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
STATD_PORT=662
Then
systemctl restart nfs-config
Then I opened the above ports tcp/udp on azure and was able to mount it!
Thanks to everyone for their support!