Defender does not accept an IP range format.

I am trying to whitelist this IP range 103.21.244.1-103.21.244.255 which is the same format suggested in the field “IP ranges are accepted in format xxx.xxx.xxx.xxx-xxx.xxx.xxx.xxx” but it is just not working with the suggested format.