Mark Roethof
Tera Patron

Hi there,

"I have the exact same setup for my dev instance"

Have you checked the settings within Intune itself? Recently I've been working also on Intune, and you have to specify the exact environment you are granting access too.

Kind regards,
Mark

Sumedh Kharode1
Kilo Expert

Hi Team,

I am getting the  error while accessing Oauth access token from servicenow instance as below

{"error_description":"access_denied","error":"server_error"}

I have created OAuth End Point on another instance having below client_id and client_secret

URL = https://customer_instance.service-now.com/oauth_token.do

client_id = 0fa6dade7b000110abfbf53e56d948ff

client_secret = ]Uvyq{wfz`

Content-type = application/x-www-form-urlencoded

grant_type = password

with username & password

 

I checked the username and password by using /login.do and it's working so I think my password is correct

 

Please do the needful

Have you resolved this issue? I'm in the same boat now I'm doing an ajax call its working from post man but not from my custom website where I'm doing an ajax call. Any help?

Developer Admin
Kilo Contributor

having same problem as guy above ^

ashwryadj
Tera Expert

Are you trying with Admin role ? only Admins can get the Oauth Token