what roles user requires for inbound REST web service?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2015 03:20 PM
Hi
I am trying to access ServiceNow by Rest web service. my user has rest_service role and seems like it can't access servicenow and displays following error.
detail>Failed ACL Validation</detail>
<message>User Not Authorized</message>
Can anyone please help me to identify what other roles the user needs? This user is an AD user from the same domain and ServiceNow user.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 02:54 AM
I feel it's a part of role issue. To confirm provide the ITIL access and do the test. If issue resolves its part of role error. Use below link and tag the role and initiate the testing again.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 07:36 AM
Hello Sushma, Can you try adding table specific role to that user along with web_service_admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 07:53 AM
@Ak Islam You can create a ACL of type "Rest Endpoint" as shown in image below
Add required role to ACL.
Then you can add the ACL to scripted rest api and its resource as shown in image below
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023