That is strange that it auto launches on you...our existing setups do not auto launch the setup wizard...do you happen to have the one drive.app in one of your autolaunch login items?
OneDrive uses a LaunchDaemon, you could delete it but that would prevent it from ever auto launching for any user on the device. We dont get these prompts and everything is auto configured. Do you have a Configuration Profile configuring OneDrive?
https://learn.microsoft.com/en-us/sharepoint/deploy-and-configure-on-macos
OneDrive uses a LaunchDaemon, you could delete it but that would prevent it from ever auto launching for any user on the device. We dont get these prompts and everything is auto configured. Do you have a Configuration Profile configuring OneDrive?
https://learn.microsoft.com/en-us/sharepoint/deploy-and-configure-on-macos
We do have a Custom Settings profile for com.microsoft.OneDrive (pushing keys like OpenAtLogin = false, DisableTutorial = true, etc.), but since the 24.113 update OneDrive ignores that old plist and uses the new Background Services API instead.
To manage that we deployed a com.apple.servicemanagement payload blocking every OneDrive helper label (dynamic SMAppService entries, the “Microsoft OneDrive” label, and the Launcher agent) with Authorization = false. We even confirmed via profiles -P that the profile is installed and via launchctl print-disabled gui/$(id -u) that the updater daemon is disabled—but only the updater respects it. The Launcher and SMAppService helpers still fire the first-run wizard.
Why we haven’t just nuked the LaunchDaemon
Deleting /Library/LaunchDaemons/com.microsoft.OneDriveUpdaterDaemon.plist would stop OneDrive from ever launching (and thus kill the wizard), but it also prevents students from opening OneDrive manually when they need it. We need OneDrive available on demand, just not auto-configured for brand-new users.
Any hints on how to catch that Launcher agent (or the plain “Microsoft OneDrive” SMAppService record) before it fires its first-run window would be hugely appreciated. At this point we’re down to kill-on-login scripts just to stomp it out—but would love a cleaner profile-only solution if anyone’s found one.
That is strange that it auto launches on you...our existing setups do not auto launch the setup wizard...do you happen to have the one drive.app in one of your autolaunch login items?
I double-checked System Settings → General → Login Items → Allow in Background on a fresh test account—OneDrive.app is not listed at all. No manual login-item entry for OneDrive, and launchctl list | grep -i OneDrive shows only the helpers, not the app itself.