Have you added the Client IP in Network Firewall.
If you disable allow access to all Azure resources then you will have to explicitly add the IP of user who will be accessing the Azure DB.
In the Azure DB, you will see following options, you need to select firewall option and then add firewall so that that particular IP can be bypassed.
More details can be found here
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…