Skip to content

M365 apps helper script#97

Open
byteben wants to merge 6 commits intomainfrom
M365-Apps-Helper-Script
Open

M365 apps helper script#97
byteben wants to merge 6 commits intomainfrom
M365-Apps-Helper-Script

Conversation

@byteben
Copy link
Contributor

@byteben byteben commented Feb 28, 2026

Pull Request Type

  • New Script
  • Edit Script
  • Repository Improvement

Brief summary of changes

This PR introduces a helper script that automates the creation of metadata and required source files for building a Patch My PC Custom App based on a customer-provided Microsoft 365 Apps Office Configuration XML file.

The script:

  • Parses the provided Office configuration XML
  • Validates the selected update channel and version via Microsoft’s release API
  • Generates install and uninstall XML files
  • Prepares recommended detection logic inputs
  • Produces structured metadata aligned to the Office configuration
  • Supports both online (CDN streaming) and optional offline packaging modes
  • Optionally generates an Intune Win32 package

The goal is to provide a repeatable and validated packaging approach for Microsoft 365 Apps while reducing manual configuration errors.

Checklist

  • Did you Clean your script - No environment details, comments are PG-13
  • Did you test your script
  • If required, did you create, and include a Read Me as outlined in Community Scripts Read Me

Fixed bug with function New-PatchMyPCCustomApp where multiple products are included in the xml
Added new function function Get-LocaleDisplayName
Split API call into 3 new functions to validate channel and version
Always add Product ID and Channel to notes output
Added test for DisplayLevel = None
Removed non language from Notes output if the option "For uninstalled MSI versions of Office, install the same languages" is toggled

Ensure output XML name is consistent with $outputConfigName

Removed error handling for DisplayLevel as it doesnt require interaction in that mode
New script to aid the creation of M365 Apps deployment packages for the Patch My PC Custom Apps flow
@byteben byteben requested a review from a team as a code owner February 28, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant