Jamf Connection Failure

SowmyaGridd
Tera Contributor

I am using Service Graph Connector with Jamf plugin to integate Servicenow with Jamf. As part of the guided set up configure connection I tried testing the connection. But unfortunately, I got 401 error. I used Client credentials authentication method. 

SowmyaGridd_0-1750344754732.png

Initially when I tried establishing the connection, I got invalid scope error but later on when I deleted aouth entity scope record then the access token flow generated successfully. but while testing the connection I am getting 401 issues. here is the application registry. 

SowmyaGridd_1-1750345179115.png

 

Can Someone please tell what is the issue exactly.

 

1 REPLY 1

Laveena_A
Tera Contributor

Hi @SowmyaGridd 

 

I have also seen this error during setting up the connection, there are few suggestions which you can consider:-

1. If Invalid scope error is present,  you need to resolve it first . Go to auth entity scope , you will find api -role : id, this id is nothing but id , you should get from Jamf admin. If you will put correct id then invalid scope error will get fixed.

2. Check the client secret and Host URL , from platform view.

 

Sometimes after connection is successful, while running the scheduled jobs you might see this error again.

That is due to Data issue, some of the records at JAMF end doesn't have proper attributes. Once you delete those records , it will work.

 

Let me know if you have have any follow up queries and if you find this helpful , hit the Thumbs Up!!