pbowden-msft / MAUCacheAdmin

Microsoft AutoUpdate Cache Admin
70 stars 15 forks source link

Update PS Module to 1.0.2 #42

Closed nixtar closed 1 year ago

nixtar commented 1 year ago

The MAU CDN is now returning 404's for the -history.xml files that do not exist. When the module was written the CDN would return 400 for files/paths that were not valid including the historic manifests on apps that don't have them. At the time the error handling was just looking for 400 BadRequests and now this is causing exceptions when running Get-MAUApps.

This has been reworked to ignore all HttpRequestException's when trying to get the -history.xml files, all other plist/xml requests will now bubble up the exception regardless of the response code.

pbowden-msft commented 1 year ago

Thanks for catching this Nick!