what roles user requires for inbound REST web service?

Ak Islam
Giga Contributor

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

12 REPLIES 12

manikorada
ServiceNow Employee
ServiceNow Employee

Amdadul,




A part from that role, the service account you are using also need to have a read access to the table you want the data from. Try to give them ITIL user and see if it fixes the issue.


We have the same issue here.



A user is trying to get the WSDL by using https://<instancename>.service-now.com/incident.do?WSDL


He gets asked for user and password and enters his credentials but gets the same response as Amadul Islam mentions, User Not Authorized.


The user has both the itil- and rest_service-roles.



Have you come any further in this, Amadul?


 Any solution got for this issue?

Hi, Can you refer below link for role access? It will clarify your question.

https://docs.flexera.com/appportal/2020r1/ag/Content/helplibrary/Creating_a_ServiceNow_Integration_U...

 

Regards,
Suresh.