question

Niklassterholm-2294 avatar image
0 Votes"
Niklassterholm-2294 asked RahulJindal-2267 commented

Updatering outdated offce with Intune / Script to trigger installation of avilable application

Hi!

We have problems with machines running old Office pachange that are installed with SCCM. The SCCM server is no loger avalible.
The devices are now joined to Intune but the installation of Office fails on all these devices. The only way we managed to update the Office package is to uninstall the old one and then install the new.

We have a script that will notify the user and uninstall the old Office package.
We would like to have a script that automatic installs the Office package deploy via Intune, the package is both required and available.
Is there any way to do this? Is there a better way to do this?

mem-intune-generalmem-intune-application-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JamieSabbatella avatar image
0 Votes"
JamieSabbatella answered JamieSabbatella commented

Hi @Niklassterholm-2294

Have you tried using the "Remove other versions" in the Intune 365 Apps deployment:


147399-intunoffice.png


Kind regards,

Jamie



intunoffice.png (57.5 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes, we have tired this unsuccessful.

0 Votes 0 ·

It's a bit hacky but you could extend your script to be an IntuneApp which

  • Uninstall office and patches / restarts device

  • Installs office as an Office deployment

or

  • Use uninstall script

  • Export users to new group in Intune to deploy Office

None are perfect I guess.

Jamie








0 Votes 0 ·

We have scripts working for uninstalling the old that is not working.

I need a way to start or force the installing for intune that is failing on the devices. Is there anyway to do that with a script?

As I understand it the installation from Intune has failed 3 times and then it will not run agian or atleast not run again in a long time. This is what I need a solution for.

I have found out that I can start a sync with the folling powershell script, but I want either to force a dependicy check or to start a application installation.

147718-image.png


0 Votes 0 ·
image.png (4.2 KiB)
Show more comments
RahulJindal-2267 avatar image
1 Vote"
RahulJindal-2267 answered Niklassterholm-2294 commented

If you installed office using Configmgr then the chances are that office is configured to receive updates only from ConfigMgr. Is the ConfigMgr agent uninstalled from the devices?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The ConfigMgr agent is uninstalled. But this is my best guess also, that ConfigMgr has configured the Office updates.

0 Votes 0 ·
RahulJindal-2267 avatar image
1 Vote"
RahulJindal-2267 answered RahulJindal-2267 commented

What is the value set for OfficeMgmtCOM under HKLM:\SOFTWARE\Policies\Microsoft\office\16.0\common\officeupdate? if it is set to 1, then change it to 0 and then check if the update gets installed from Intune or not.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes, we have changed those and a lot of others, including creating GPOs and verifing that they apply.

0 Votes 0 ·

Any change in configuration doesn't get picked unless the Office Automatic Updates schedule task runs. Did you run it or wait for it to get triggered before testing again?

0 Votes 0 ·