Skip to main content
Question

Local Jamf Account not Authorizing on Production API Interface

  • November 17, 2022
  • 3 replies
  • 32 views

Forum|alt.badge.img+7

Hi all,

Just trying some API integration and the local Jamf account we have configured for API will not authorize to generate a token on our API page:

https://mycompany.jamfcloud.com/api/doc/

It just keeps saying "Authorization failed." and wondered if it's the privileges on the account. We have it set as follows:

  • Read-Only on all Server Objects (apart from API intergrations which is set to create, read and update).
  • No permission for any Server Settings
  • No permission for any Server Actions

Am I missing something? Any help appreciated!

3 replies

Hugonaut
Forum|alt.badge.img+15
  • Esteemed Contributor
  • 574 replies
  • November 17, 2022

@UtilizatorIn the Jamf Pro Dashboard -> Settings -> System Settings -> User Accounts and Groups -> Click "Password Policy" in the Top Right Corner of the User Accounts and Groups Page.

 

Do you have "Allow Basic authentication for the Classic API" Checked? This is a good place to start troubleshooting.

 

Otherwise, please share all of your Permissions for your API User


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 39 replies
  • November 17, 2022

@UtilizatorIn the Jamf Pro Dashboard -> Settings -> System Settings -> User Accounts and Groups -> Click "Password Policy" in the Top Right Corner of the User Accounts and Groups Page.

 

Do you have "Allow Basic authentication for the Classic API" Checked? This is a good place to start troubleshooting.

 

Otherwise, please share all of your Permissions for your API User


Hi @Hugonaut , yes that is turned on.


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 39 replies
  • November 17, 2022

@UtilizatorIn the Jamf Pro Dashboard -> Settings -> System Settings -> User Accounts and Groups -> Click "Password Policy" in the Top Right Corner of the User Accounts and Groups Page.

 

Do you have "Allow Basic authentication for the Classic API" Checked? This is a good place to start troubleshooting.

 

Otherwise, please share all of your Permissions for your API User


@Hugonaut  the settings are group based and as follows:

  • Read-Only on all Server Objects apart from API Intergrations which is set to create, read and update.
  • No permission for any Server Settings
  • No permission for any Server Actions

Thanks.