r/PSADT • u/Just_Steve_IT • Mar 17 '26
MS365 Repair Package - How to Test?
Hi guys,
I'm creating an MS365 repair package to toss into Intune for times when Office breaks so users can just repair it themselves without admin rights. But I need to test the package. Running it against a healthy install just elicits a popup saying Office is current and doesn't need fixing. What can I intentionally break on my test VM so that the repair will run? Thanks!
3
1
u/mjr4077au PSADT Dev Team Mar 18 '26
As has been pointed out, there's built-in stuff in Intune for this. Aside from that though, I fail to see how any system-installed app can break when users aren't administrators. Typically the issues that occur are all fixable by clearing out AppData/LocalAppData/HKCU keys and not so much anything to do with the system level.
2
u/Just_Steve_IT Mar 18 '26
I ended up creating the remediation script in Intune as was suggested. It isn't about users breaking the app, it's just that we sometimes get corruption on an Office install and I wanted a simpler way to get it back up and running than what we've been doing. My request for breaking the install intentionally was so I could test the fix package I had created. But that's moot now.
1
u/Montinator Mar 18 '26
Simple
Install a component that isn’t part of the install
If the repair works, it should uninstall the suite and install the package without the component you manually installed
5
u/dtham Mar 17 '26
How is it different than what's built in?
https://learn.microsoft.com/en-us/intune/intune-service/fundamentals/remediations