Restrict ESC Portal Access Only to Users with Existing HR Profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hello all,
Currently, any active user in our instance can access the ESC Portal.
Our requirement is to restrict access so that only active users who already have a valid HR Profile can access the ESC Portal.
However, we observed that when a user accesses the ESC Portal, an HR Profile gets created automatically for that user. Because of this behavior, even users without a pre-existing HR Profile are able to access the portal.
Questions:
How can we restrict ESC Portal access so that only users with an existing HR Profile can access it?
Is there a way to prevent automatic HR Profile creation when a user accesses the ESC Portal?
What is the recommended approach (ACL, User Criteria, Scripted check, etc.) to enforce this requirement?
Any guidance or best practices would be appreciated.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
this property handles the auto-creation logic
"sn_hr_core.esc.create_hrprofile.override" -> should be false
For other part
You can use Login script and UI script combination to enforce using ESC portal
you should handle this by updating the SPEntryPage script include
check this link on how to do
Role based redirection with SPEntryPage
In case user directly enters something in URL you can always use custom UI script and Ajax to inform them and redirect them to ESC portal automatically.
for that check this
Solution: Redirecting Users to the CSM Portal Based on Roles in ServiceNow
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader

