Service Portal URL Redirection Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2023 08:09 AM - edited 02-06-2023 11:46 AM
Hello all,
I am trying to achieve getting end users (public role) to be redirected to our service portal in our DEV instance, whilst any other users (ITIL etc) stay on their classic UI.
Steps taken:
Glide entry first script has been set up with value 'new SPEntryPage().getFirstPageURL()'
Amended the SPEntryPage script, I've attached the script here named 'SPEntryPage script for redirection'
Here are the problems we have noticed during a UAT on our instance:
If the end user (public) is logged out, they will be taken to the classic login page, after attempting to login they will get the following page / error
If you take the text after 'com/' out of the URL they will then be taken to the classic UI
Then if we remove the text again after 'com/' from the URL, the end user will finally reach the Service Portal. ('/sp/')
If we test impersonating an end user, when logged in it will direct straight to the service portal.
Please can someone provide some help here on what's causing end users not to go straight to the service portal + get error page and the steps to fix this please?
Many thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2023 01:28 AM
Hello @Alex120
My suggestion would be re-evaluate your portal redirection mechanism wrt to the KB articles listed below.
- How to configure redirection for Service Portal
- 6 ways to set up your Service Portal for redirection SUCCESS!
This community post explains all modules in details which should be taken care when implementing redirection based on roles. - Frequently Asked Questions on redirection with service portal
- How to setup portal redirection based on different roles