Hi, the built-in function is
| extend IPCountry =tostring(geo_info_from_ip_address(ClientIP).country)
my guess is that the author of the query had a function saved called iplocation() to make the syntax work:
| extend IPCountry = iplocation(ClientIP).Country
You should be able to replace the above to fix the issue