From 016aed479b22fa0a23f642971803865f0b919ea9 Mon Sep 17 00:00:00 2001 From: KelvinTegelaar <49186168+KelvinTegelaar@users.noreply.github.com> Date: Fri, 21 Jul 2023 23:30:19 +0200 Subject: [PATCH] Fixed issue with return --- ListLicenses/run.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ListLicenses/run.ps1 b/ListLicenses/run.ps1 index 54efadc4566e..95350db85ca6 100644 --- a/ListLicenses/run.ps1 +++ b/ListLicenses/run.ps1 @@ -20,9 +20,9 @@ else { $Rows = Get-AzDataTableEntity @Table | Where-Object -Property Timestamp -GT (Get-Date).AddHours(-1) if (!$Rows) { Push-OutputBinding -Name Msg -Value (Get-Date).ToString() - [PSCustomObject]@{ - Tenant = 'Loading data for all tenants. Please check back in 1 minute' - Licenses = 'Loading data for all tenants. Please check back in 1 minute' + $GraphRequest = [PSCustomObject]@{ + Tenant = 'Loading data for all tenants. Please check back in 1 minute' + License = 'Loading data for all tenants. Please check back in 1 minute' } } else {