Cannot access the Service Portal while impersonating user

C_dric Chen
Tera Contributor

Greetings, everyone.

I need to access a catalogue item that I just created while impersonating as another user (who, I'm very sure, has been assigned the required role). However, when I try to look up the Service Portal while impersonating this other user, here's what I've got:

find_real_file.png

The impersonated user cannot even access the Service Portal.

Does anyone know what's happening?

P.S. I tried looking up the configuration page of the Service Portal, but I couldn't seem to find the correct page.

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

That was maybe a little confusing, to see the modules use sys_app_application.list.

Best is probably to simply override the current Service Portal Module Record as shown in this video (sry, only gif possible in this forum...): 

find_real_file.png

Can you post a screenshot of the error page that you get when you access the service portal with an impersonated user?
If you were just talking about the module - then this should be solved now (if you want users to be automatically redirected to the Service Portal, take a look at the Script Include SPEntryPage). 

View solution in original post

9 REPLIES 9

Usually, when someone speaks about some kind of record and then goes for a technical name like 'sp_portal' or 'sp_page' he/she refers to the table name. When you enter <table_name>.list in the Filternavigator, you automatically open the List View of said table.

In this case i was asking for the Role configuration of the homepage (sp_page) - record that is referenced in the Portal (sp_portal) record for your /sp. If there are roles defined here (see last screenshot), you need one of those assigned to the users accessing the page. If the users doesn't have one of these, you will receive a 404 not found page.

Here is how you can get to your Role Configuration:

1.) Open the Service Portal (sp_portal) record that stores the configuration for /sp:
find_real_file.png

2.) Open the 'Homepage' Configuration to check if the roles are empty (everyone can access the page):
find_real_file.png

Hello.

find_real_file.png

I navigated to sp_portal.list, and I can confirm that the "Roles" field is empty.

find_real_file.png

On the other hand, I can't seem to find the sys_app_application-record that you mentioned. Am I looking at the wrong place?

That was maybe a little confusing, to see the modules use sys_app_application.list.

Best is probably to simply override the current Service Portal Module Record as shown in this video (sry, only gif possible in this forum...): 

find_real_file.png

Can you post a screenshot of the error page that you get when you access the service portal with an impersonated user?
If you were just talking about the module - then this should be solved now (if you want users to be automatically redirected to the Service Portal, take a look at the Script Include SPEntryPage). 

Hello.

I added the roles to the Service Portal Module Record, and I'm finally able to find "Service Portal" in the "All" menu while impersonating another user.

find_real_file.png

And I was able to access the Service Portal.

find_real_file.png

Thank you so much for your help!

You're welcome 🙂 

If video helped you resolve the issue, please mark is at the "solution" (or something like this), so the thread gets closed.

Good luck with your future work!