Pages show job output

Product: PowerShell Universal
Version: 4.3.2

Hello,

I have a question about the pages feature. I’m trying to show a jobs output, I created a button to execute a script and then I created a card from the data display area and set it to show the output from the latest run of a script. When running the script it doesnt seem to show the output of the scrip.

You’re going to need to provide the code for your page, otherwise everyone is just taking stabs in the dark.

This is the xml from the page

<?xml version="1.0" encoding="utf-8"?>
<Page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="1" Name="Revoke Entra Sessions and Migrate MFA" Description="Results" Authenticated="false" ShowInNavigation="true" ShowNavigation="true" HideHeader="false" HideTitle="false" Url="/RevokeAndMigrate">
  <Components>
    <Button Id="84b6c1c0-c6e3-4acb-bbb6-2ad8ecc6fcea" Text="Execute" ToastOnSuccess="true" ToastOnFailure="true">
      <Target Name="Entra User Managment\Revoke-Sessions.ps1" Type="script">
        <Parameters />
      </Target>
      <RefreshComponents>
        <string>2f015f36-d573-440d-8acf-4795f94a7e3d</string>
      </RefreshComponents>
    </Button>
    <Card Id="2f015f36-d573-440d-8acf-4795f94a7e3d" Title="Output" DataSourceType="script" DataSource="Entra User Managment\Revoke-Sessions.ps1" />
  </Components>
  <Layout>
    <Lg>
      <LayoutItem Id="84b6c1c0-c6e3-4acb-bbb6-2ad8ecc6fcea" X="3" Y="10" W="7" H="2" />
      <LayoutItem Id="2f015f36-d573-440d-8acf-4795f94a7e3d" X="0" Y="0" W="10" H="10" />
    </Lg>
  </Layout>
  <AccessControls>None</AccessControls>
</Page>

I get the same result when creating a test scenario. No matter what I tried, I couldn’t get the Card to show any output, despite the script it’s supposed to pull the last job output from having valid output. No errors show - just messages saying success, and I can see new jobs being created by the button, so it seems like it’s isolated to the Card. @adam may already know about this bug.