Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jamf Pro 11 Support #91

Open
omerninyo opened this issue Oct 12, 2023 · 15 comments
Open

Jamf Pro 11 Support #91

omerninyo opened this issue Oct 12, 2023 · 15 comments

Comments

@omerninyo
Copy link

Attempting to migrate Jamf Pro 10.x to Jamf Pro 11 results in Error:
Status code: 401

@BIG-RAT
Copy link
Contributor

BIG-RAT commented Oct 15, 2023

Authentication with a local user or API client?

@BIG-RAT
Copy link
Contributor

BIG-RAT commented Oct 17, 2023

v7.2.1 should allow you to authenticate.

@sbryant82
Copy link

I'm using 7.2.2 and getting this error as well. Was working fine on jamf pro 11 already for me.

@sbryant82
Copy link

What I am seeing is that there is some issue with the toggle between using the API client /username options. On mine, when set to the client API, the username keeps appearing. Not seeing any way to delete the saved account and when trying to edit the ones that are there, it just keeps reverting.

had to do some work deleting some of the jamf migrator library files and keychain access items and keying in the API creds again and it started working.

@sbryant82
Copy link

When attempting to search for Selective Policies, I get the error "Failed to get existing policies, Status code:401". Once clicking OK, all of the policies then load in.

When attempting to run the migration on a selected Policy, receive the same error.

@BIG-RAT
Copy link
Contributor

BIG-RAT commented Dec 15, 2023

see if v7.3.0 resolves the issue.

@sbryant82
Copy link

sbryant82 commented Dec 15, 2023

Upgraded to v7.3.0 and the same thing is happening. it gives the error, but when clicking ok, all the results still load from the server.
Error
results

I wonder if I might be missing a permission for the API, but just not sure what it would be as it did work successfully shortly after Jamf Pro 11 came out and there was an update to the app to include the client ID and Client secret.

@BIG-RAT
Copy link
Contributor

BIG-RAT commented Dec 15, 2023

Note, the existing policies it's looking for are those on the destination server, so that's the account we need to look into.
Using an API client or local Jamf Pro account?
If a local Jamf Pro account I trust there are no issues listing policies if you log into the web console or use the API from a browser.

@sbryant82
Copy link

Using the API Client

@BIG-RAT
Copy link
Contributor

BIG-RAT commented Dec 16, 2023

Finally experienced the behavior you described where the API client kept reverting a username. v7.3.1 should have that resolved.

@sbryant82
Copy link

7.3.1 is working much better. Saving of the API secrete is now working as well (never got around to posting that it wasn't). Having successful migrations now. Thank you!!

@mikem011
Copy link

mikem011 commented Jan 5, 2024

I am still having this issue, even with version 7.4. However it is not with all objects. I am able to read objects from General category without issue. But if I attempt to read from macOS (i.e. Configuration Profiles or Policies) I receive the 401 error.

@BIG-RAT
Copy link
Contributor

BIG-RAT commented Jan 9, 2024

@mikem011 - What type of account (local, LDAP, API client) are you authenticating with? Getting permissions through group membership? Working with sites?

@mikem011
Copy link

I am using API Roles and Clients. No sites in this situation. Thanks!

@BIG-RAT
Copy link
Contributor

BIG-RAT commented Jan 28, 2024

@mikem011 - Curious if you've tried v7.4.2. Fixed some authentication issues, hoping yours also falls into that bucket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants