Forum Discussion
Mac Auto Install
Pasted from my other thread :
I believe I may have found a likely cause. From further research it appears that Intune uses the Spotlight index in MacOS as the detection method for application installs. While the Office Suite is assigned as a Required application if this index is corrupted or in the process of regenerating (likely to happen after an OS update from perusing the Apple forums) I'm thinking that Intune believes the application is missing so launches an installer. Since the installs bypass any user feedback active applications just shut down and are reinstalled.
I've removed Office as a Required app and left it advertised in Company Portal for the time being. We deploy so few of them that the extra manual step to install the office suite isn't likely to cause a huge impact.
https://learn.microsoft.com/en-us/answers/questions/1193963/intune-enrolled-macos-device-reinstalling-office-w
ElijahEdmunds I have the same problem. I figured out my scope tags were inconsistent (app had tag A assigned, devices tag B) and fixed that, but I don’t know if it helps since the problem occurs randomly.
(btw how did the app got installed in the first place when the scope tags were wrong?!)
if it’s based on the spotlight index I would consider deploying a script for reindexing on a daily base probably.
Did anyone find a way to force/reconstruct the issue?
- mojo47Apr 15, 2023Copper Contributor
mojo47 Short Update: I manually disabled my apps from spotlight indexing (mdutil -i off applications/) and restarted the device (checking in again). The office app status in the endpoint manager instantly changed to „install pending“. I don’t know if I changed it back too early, but the apps didn’t get uninstalled and reinstalled again but stayed as they are.
But I can tell now there is definitely a relation to the spotlight index.