ConfigureOfficeApps.ps1 doesn't work anymore
- Dominant language
- PowerShell
- Stars
- 524
- Forks
- 610
- PR merge metrics
- No merged PRs in 30d
Description
This script used to work now no matter what I select to add (eg. PowerPoint, word etc) in always fails :
11-23-24 21:15:46 - GET https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_18129-20030.exe with 0-byte payload
11-23-24 21:15:46 - received 3728664-byte response of content type application/octet-stream
11-23-24 21:15:56 - AVD AIB Customization Office Apps : Extracting setup.exe into C:\temp\cb64f689-312d-4a7d-a254-e33229614259
11-23-24 21:15:56 - System.Diagnostics.Process (officedeploymenttool)
11-23-24 21:15:57 - AVD AIB Customization Office Apps : Saving xml content into xml file : C:\temp\cb64f689-312d-4a7d-a254-e33229614259\installOffice.xml
11-23-24 21:15:57 - AVD AIB Customization Office apps: Adding office applications
**11-23-24 21:15:57 - Cannot validate argument on parameter 'Applications'. The argument "PowerPoint" does not belong to the set "Visio,Project" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.**
Does anyone else have this issue? I am trying to run this on Windows 10 22h2 Multi-session.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with ConfigureOfficeApps.ps1 and inspect how the Applications parameter is declared and validated. Reproduce the failure on Windows 10 22H2 multi-session using the logged Office deployment tool flow. Done means selecting applications such as PowerPoint or Word no longer fails validation and the Office Apps customization proceeds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100