@Nikhil Thanks for posting your question in the Microsoft Q&A forum.
To add a firewall rule for an IP address range in CIDR notation, you can use the New-AzSqlServerFirewallRule cmdlet with the -StartIpAddress and -EndIpAddress parameters set to the same IP address in the range. Here is an example command that adds a firewall rule for an IP address range:
New-AzSqlServerFirewallRule -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -FirewallRuleName "Rule01" -StartIpAddress "192.168.0.198" -EndIpAddress "192.168.0.199"
ResourceGroupName : ResourceGroup01
ServerName : Server01
StartIpAddress : 192.168.0.198
EndIpAddress : 192.168.0.199
FirewallRuleName : Rule01
This command adds a firewall rule for the IP address range You can modify the IP address range as needed to match your requirements.
Regards
Geetha