Skip to main content
Question

Invalid Response Code: 401

  • January 8, 2025
  • 10 replies
  • 108 views

Forum|alt.badge.img+7

We were using Jamf Connect with Azure/Entra for about a year without issue, it's only used on a small number of clients and I'm unsure how often the computers are actually used, but at the moment none permit authentication.

I've trimmed down the config to the barebones, and even recreated the app registration in Entra without any change.

Any user attempting to sign in sees Invalid Response Code 401 from https://login.microsoftonline.com and it gets no further.

The original working plist for jamf.connect.login included, the following, but has been well trimmed down to just app registration IDs and secrets without any change.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AllowNetworkSelection</key>
<true/>
<key>BackgroundImage</key>
<string>/usr/local/share/jc.jpg</string>
<key>CreateAdminUser</key>
<false/>
<key>CreateJamfConnectPassword</key>
<true/>
<key>DemobilizeUsers</key>
<true/>
<key>LoginWindowMessage</key>
<string>DU Welcome</string>
<key>Migrate</key>
<false/>
<key>OIDCAdminAttribute</key>
<string>roles</string>
<key>OIDCClientID</key>
<string>ABC</string>
<key>OIDCClientSecret</key>
<string>ABC</string>
<key>OIDCIgnoreCookies</key>
<true/>
<key>OIDCLocalAuthButton</key>
<string>CIS Login</string>
<key>OIDCNewPassword</key>
<false/>
<key>OIDCProvider</key>
<string>Azure</string>
<key>OIDCROPGID</key>
<string>ABC</string>
<key>OIDCRedirectURI</key>
<string>https://127.0.0.1/jamfconnect</string>
<key>OIDCTenant</key>
<string>XYZ</string>
<key>OIDCUsePassthroughAuth</key>
<true/>
<key>OIDCAdmin</key>
<array>
<string>Administrator</string>
</array>
</dict>
</plist>

10 replies

RaxiaDK
Forum|alt.badge.img+10
  • Valued Contributor
  • January 8, 2025

Hello
Have you try run it in the config app, that come with Jamf connect pkg?


Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 9, 2025

Using the app, the test fails saying provider unable to be contacted 


Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 9, 2025

Unable to load your identity provider

The identity provider for your system is unable to be contacted. Check network settings or contact technical support.


RaxiaDK
Forum|alt.badge.img+10
  • Valued Contributor
  • January 9, 2025

Here is mine, that working in hybrid mode

com.jamf.connect: https://pastebin.com/epwhT4at
com.jamf.connect.login: https://pastebin.com/63xw0iEn


RaxiaDK
Forum|alt.badge.img+10
  • Valued Contributor
  • January 9, 2025

Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 9, 2025

Thanks for that, do you know where you get this from entra?

  1. <key>ROPGDiscoveryURL</key>

RaxiaDK
Forum|alt.badge.img+10
  • Valued Contributor
  • January 9, 2025

Thanks for that, do you know where you get this from entra?

  1. <key>ROPGDiscoveryURL</key>

no, I use ADFS infront of mine Azure


RaxiaDK
Forum|alt.badge.img+10
  • Valued Contributor
  • January 9, 2025

Thanks for that, do you know where you get this from entra?

  1. <key>ROPGDiscoveryURL</key>

try this guide
https://hcsonline.com/support/white-papers/how-to-configure-jamf-connect-with-microsoft-azure

edit
its a old guide


Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 9, 2025

according to entra, authentication is fine - showing success against the app


jamiesmithJAX
Forum|alt.badge.img+9
  • Contributor
  • February 28, 2025

Using the app, the test fails saying provider unable to be contacted 


@pchrichard were you ever able to resolve this?  I am just starting to implement Jamf Connect now and I am encountering this exact thing.