Hello @jarb
Thank you for posting here.
Did you need something similar to this?
https://learn.microsoft.com/en-us/azure/active-directory/conditional-access/location-condition
Looking forward to your feedback,
BR,
Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.