How to restrict user to login based on country
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2022 05:54 AM
How to restrict user to login into instance based on country
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2022 05:56 AM
Hi
use for the requirement the "Adaptive Authentication" (see https://docs.servicenow.com/bundle/sandiego-platform-administration/page/integrate/authentication/co...)
Get from the following blog post an inspiration how to configure it: https://community.servicenow.com/community?id=community_blog&sys_id=6d4d71d9dbfb099008bbdb85ca9619cd
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2022 06:30 AM
Hi, do you mean IP based restriction (all users with source IPs from country X) or attribute based (all users with Country Code = Country X in the profile)?
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2022 06:33 AM
Hi Akula M S G Devi,
Navigate to sys_user table and using the filter add the country code and run it.
Now you can find the related user records for a particular country and make all the users ACTIVE to False and Locked out is True.
Then users cannot access to ServiceNow.
Or refer:
If it helps then please mark correct and helpful.
Thank you
Gaurav Rotke

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 11:13 AM
Hi @Akula M S G Dev ,
We plan to add location filter criteria within Adaptive Authentication in upcoming releases. Please don't hesitate to reach out to get more information on this. With this feature, the admin could restrict access to the instance based on the user's geolocation.
cc: @Maik Skoddow
Thanks,
Randheer