Skip to content

Module Broken: Source of information has changed permanently. #71

Description

@NexthinkGuru

The current source of data for the module has been an RSS feed. As of 8/4, its no longer viable.

All API Calls

PS C:\Development> Get-LatestOSBuild  -OSName Win11 -OSVersion 24H1 -Verbose 
VERBOSE: WebRequest: v1.1 GET https://docs.microsoft.com/en-us/windows/release-health/windows11-release-information
VERBOSE: WebResponse: 200 OK with text/html payload with body size 123.43 KB (126,393 bytes)
VERBOSE: WebRequest: v1.1 GET https://support.microsoft.com/en-us/feed/atom/4ec863cc-2ecd-e187-6cb3-b50c6545db92
VERBOSE: WebResponse: 410 Gone with application/xml payload
Exception: C:\Program Files\WindowsPowerShell\Modules\WindowsOSBuild\2509.1\Public\Get-LatestOSBuild.ps1:317:13
Line |
 317 |              Throw "Get-LatestOSBuild: Unable to obtain patch release  …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Get-LatestOSBuild: Unable to obtain patch release information. Please check your internet connectivity. Error: Response status code does not indicate success: 410 (Gone).

For example -
https://support.microsoft.com/en-us/feed/atom/4ec863cc-2ecd-e187-6cb3-b50c6545db92

Now returns

<error code="410" status="Gone">
<message>This RSS feed has been permanently discontinued. For questions, contact the Trusted Content Program Core team at tcpcore@service.microsoft.com.</message>
<contact name="Trusted Content Program Core" email="tcpcore@service.microsoft.com"/>
</error>

The Windows 11 Release Information page states to use MSGraph API now for this type of activity.

https://learn.microsoft.com/en-us/graph/api/resources/windowsupdates-product?view=graph-rest-beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions