Posted on 03-23-2023 05:50 AM
Hi Guys
I am struggling since multiple weeks with this new feature device compliance in jamf PRO und Azure Compliance.
Everything is setted up like described here: https://learn.jamf.com/bundle/technical-paper-microsoft-intune-mobile-devices-current/page/Configuri...
The connection between jamf and azure is fine. Partner Device Managament in Azure also fine.
Following scenario:
I tested 5 devices.
log show --predicate 'subsystem CONTAINS "jamfAAD"' --last 30m
and receive on all devices which are not working properly following output:
test.requester@ADC-MB99099 ~ % log show --predicate 'subsystem CONTAINS "jamfAAD"' --last 30m
Filtering the log data using "subsystem CONTAINS "jamfAAD""
Skipping info and debug messages, pass --info and/or --debug to include.
Timestamp Thread Type Activity PID TTL
2023-03-23 10:47:48.467341+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232:] internal event: WILL_SPAWN, code = 0
2023-03-23 10:47:48.467350+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232:] service state: spawn scheduled
2023-03-23 10:47:48.467351+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232:] service state: spawning
2023-03-23 10:47:48.467592+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232:] launching: launch job demand
2023-03-23 10:47:48.468654+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] xpcproxy spawned with pid 1430
2023-03-23 10:47:48.468675+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] internal event: SPAWNED, code = 0
2023-03-23 10:47:48.468677+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] service state: xpcproxy
2023-03-23 10:47:48.468700+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] internal event: SOURCE_ATTACH, code = 0
2023-03-23 10:47:48.668286+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] service state: running
2023-03-23 10:47:48.668309+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] internal event: INIT, code = 0
2023-03-23 10:47:48.668317+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] job state = running
2023-03-23 10:47:48.668494+0100 0x23ba Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] Successfully spawned Jamf Conditional Access[1430] because launch job demand
2023-03-23 10:47:48.738563+0100 0x26f7 Default 0x0 1430 0 Jamf Conditional Access: [com.jamf.management.jamfAAD:workflow] Launching Company Portal
2023-03-23 10:49:40.781646+0100 0x26f7 Default 0x0 1430 0 Jamf Conditional Access: [com.jamf.management.jamfAAD:workflow] Collecting Azure Active Directory ID
2023-03-23 10:49:40.885147+0100 0x26f7 Default 0x0 1430 0 Jamf Conditional Access: [com.jamf.management.jamfAAD:workflow] No Azure tenant set up
2023-03-23 10:49:40.886243+0100 0x3421 Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] exited due to exit(0)
2023-03-23 10:49:40.886255+0100 0x3421 Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] service state: exited
2023-03-23 10:49:40.886259+0100 0x3421 Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] internal event: EXITED, code = 0
2023-03-23 10:49:40.886262+0100 0x3421 Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] job state = exited
2023-03-23 10:49:40.886297+0100 0x3421 Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232 [1430]:] service state: not running
2023-03-23 10:49:40.887192+0100 0x3413 Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232:] removing job: caller = runningboardd
2023-03-23 10:49:40.887320+0100 0x3413 Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232:] internal event: PETRIFIED, code = 0
2023-03-23 10:49:40.887322+0100 0x3413 Default 0x0 1 0 launchd: [gui/503/application.com.jamf.management.jamfAAD.29083.29232:] job state = removed
2023-03-23 10:49:40.885147+0100 0x26f7 Default 0x0 1430 0 Jamf Conditional Access: [com.jamf.management.jamfAAD:workflow] No Azure tenant set up
May anyone have an idea what else to check for finding an solution for this?
I created also a sysdiag, but I really don't know, where to search for some informations.
My device is the only one in azure which is correct registered and shown as compliant. This becaus my device is the only one, which was capable to finish the entire registration process
I opened also a ticket in jamf support a while ago, but until now, no one from support was able to help here out
i appreciate any help
Posted on 03-27-2023 05:37 AM
might be unrelated but did you use the "all users" button in intune when setting up the device compliance ?
if yes, you need to use a specific group otherwise it won't work as per doc
Also....
In my case, our macs appear under the device section in user's account, not in the Devices > macos section
Not very user friendly....
Posted on 03-27-2023 05:45 AM
Hi, thx for answering.
@jpoirson We have a specific group configured. :)
Jamf support just answered friday, that here is some problem with the jamf framework on the mac's.
sudo jamf manage before starting the registration process with company portal helps in most cases,
Posted on 07-31-2024 12:53 PM
Thanks for this. Been scratching my head all day and running this command has solved it. Legend thanks!
Posted on 03-28-2023 10:34 AM
Seeing this is exact same behavior. We just set this all up yesterday for our limited test group and the test Macs yesterday enrolled fine, the jamfAAD app popped up as expected.
Today, adding a few more devices for the same limited users, all 3 new devices behaved as described above and we see the same "No Azure Tenant Set up" log entry.
Running `sudo jamf manage` and then flushing the Intune Registration policy in Jamf allowed the registration to complete as normal again.
One note:
So far, if Microsoft Edge is the default browser, the browser call to the Company Portal by jamfAAD to select the certificate and add it to Keychain fails and the user is prompted every time to install Company Portal.
Changing the default browser to Google Chrome or Safari work as expected.
Posted on 05-11-2024 01:59 AM
You Sir are a magician, thanks for this.
Posted on 03-29-2023 11:23 AM
The exact same thing happened to me. I've been pulling my hair out over this for the past few weeks trying to figure out where I went wrong in the configuration. Also opened a technical support ticket last week. The rep said he would look into it. Still waiting for a reply. Good thing I found this thread. The sudo jamf manage and flushing the policy worked. Both my test machines now have a green tick mark beside them on Azure and are listed as compliant once again.
I wasn't getting the second prompt during the registration process (It did initially and then it stopped appearing, even if I deleted the computer record from Azure and erase/installed the Mac). The above fixed it. Many thanks to all! :)
@mt-nw Have you tried using the WKWebView to negate the need for a web browser during registration.
Apply it to com.jamf.management.jamfAAD
<?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>useWKWebView</key>
<true/>
</dict>
</plist>
Posted on 04-10-2023 07:38 PM
We did end up deploying that thanks to your suggestion and finding it in the Jamf Troubleshooting Microsoft Azure Login Using JamfAAD doc, too. We also added a step to the Company Portal install Policy to just run the `sudo jamf manage` as well.
03-30-2023 01:05 AM - edited 03-30-2023 01:09 AM
I am now in contact with jamf support and have sent a lot of logs from different tests.
My experience actually is:
Different browsers -> different expereince
clean installed macbooks and fresh enrolled with prestage -> only safari browser installed, and after "sudo jamf manage" -> the sing in to azure through the self service must be done twice. The first try stopps on the login through browser after company portal has registered the device. So jamfaad do not start correct. The second time it works.
Posted on 04-10-2023 07:39 PM
For anyone who ran into this issue, Jamf emailed me today saying they have a hotfix for Jamf Pro 10.45.1 if needed, or it will be patched in 10.46.0 expected to be released at the end of the month (April 2023).
Posted on 05-15-2023 07:24 AM
Do we know if this is fixed in 10.46 yet? I havent had a chance to try it out yet.
Posted on 04-18-2023 01:38 PM
Yup! Same issue here. For a hot second, I thought it was fixed in 10.45 when I tried it again, and it worked on one of the affected devices. But tried it again on a new device, and it didn't work. A temporary fix is running sudo jamf manage right before the registration, and that seems to work. But glad to hear that the fix is coming in either 10.45.1 or 10.46.
Posted on 05-15-2023 06:23 AM
Thank god for this news :D I have been pulling my hair as well.. sudo jamf manage solves it as a workaround but really hoping it will be permanently fixed in 10.46.
Posted on 05-26-2023 10:29 AM
Still not working for me on 10.46.1
Posted on 05-26-2023 12:08 PM
the last days i started to deploy it with the updated company portal (updated was released a few days ago) and configured with the sso extension from microsoft. sudo jamf manage is also a part from the sigin policy in the selfservice, but it look to working fine now for us.
jamf pro on version 10.46.1
Posted on 05-26-2023 01:02 PM
any chance someone can post screen shots of their permissions for the following 2 apps created by jamf in azure?
User registration app for Device Compliance
And
Cloud Connector for Device Compliance