Thanks for your comment Shawna, it helped in resolving my issue. This exactly happened to me, I did not use the actual secret values, but rather was using the client secret id.

Thanks for this. Funny how i made this exact mistake now. Used the secret ID instead of secret value. 

FIn1
Tera Contributor

Same error, like mentioned above the wrong secret was provided. 

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