Last active
May 12, 2021 13:04
-
-
Save rhymeswithmogul/f6d5c37ed3058802e9cb94e637e989c9 to your computer and use it in GitHub Desktop.
There are severe Outlook issues with version 2104. (Install-Script Revert-M365AppsFrom2104)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#PSScriptInfo | |
.VERSION 1.0.1 | |
.GUID ea95d532-3b54-48b0-97ef-45f16237e277 | |
.AUTHOR Colin Cogle | |
.COPYRIGHT (c) 2021 Colin Cogle. All Rights Reserved. Licensed under the AGPLv3. | |
.TAGS Microsoft, screwed, up, again, 2104, Office, 2016, 2019, Current Channel, Outlook, bug, email, M365, update, devops-fail | |
.LICENSEURI https://www.gnu.org/licenses/agpl-3.0.en.html | |
.PROJECTURI https://gist.github.com/rhymeswithmogul/f6d5c37ed3058802e9cb94e637e989c9 | |
.RELEASENOTES Documentation updates, link to PowerShell Gallery, remove swearing for broader public release. | |
#> | |
<# | |
.SYNOPSIS | |
Rolls back the Microsoft 365 Apps for business/enterprise to version 2102. | |
.DESCRIPTION | |
Rolls back the Microsoft 365 Apps for business/enterprise to version 2102, to work around a bug affecting the display of email signatures, compose windows, and display. Note that you must go in there afterwards and disable updates until Microsoft has a hotfix available. | |
.NOTES | |
For more information about an actual fix, check your Microsoft 365 Admin Center for EX255650. | |
.LINK | |
https://www.powershellgallery.com/packages/Revert-M365AppsFrom2104/1.0 | |
.LINK | |
https://gist.github.com/rhymeswithmogul/f6d5c37ed3058802e9cb94e637e989c9 | |
#> | |
Param() | |
$C2RClientPath = '\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe' | |
$C2RParameters = @('/update user', 'updatetoversion=16.0.13801.20294') | |
$64bitOffice = Join-Path -Path $env:ProgramFiles -ChildPath $C2RClientPath | |
$32BitOffice = Join-Path -Path ${env:ProgramFiles(x86)} -ChildPath $C2RClientPath | |
If (Test-Path -Path $64BitOffice) { | |
Write-Output 'Rolling back the Microsoft 365 Apps to version 2102.' | |
Start-Process -FilePath $64BitOffice -ArgumentList $C2RParameters | |
} | |
ElseIf (Test-Path -Path $32BitOffice) { | |
Write-Output 'Rolling back the Microsoft 365 Apps to version 2102.' | |
Start-Process -FilePath $32BitOffice -ArgumentList $C2RParameters | |
} | |
Else { | |
Write-Error 'The Microsoft 365 Apps are not installed on this computer.' | |
} |
Some of our systems aren't having any issues on 2104, but many are, this was a huge life saver. Thanks so much for posting it.
Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some of you are rolling back to version 2103. That's fine. I have a few customers with the Microsoft 365 Apps for enterprise, so I had to roll back to version 2102 due to differences between the channels. That's perfectly fine, too.