From 196ffe35db1cfea5a23acae4e956356d880afbf1 Mon Sep 17 00:00:00 2001 From: trinuro <66290935+trinuro@users.noreply.github.com> Date: Sat, 9 Aug 2025 00:01:14 +0000 Subject: [PATCH 1/2] Fix typo in the EntraGoat-Scenario1-Solution --- solutions/EntraGoat-Scenario1-Solution.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/EntraGoat-Scenario1-Solution.ps1 b/solutions/EntraGoat-Scenario1-Solution.ps1 index 6a96dbd..c3a1ad2 100644 --- a/solutions/EntraGoat-Scenario1-Solution.ps1 +++ b/solutions/EntraGoat-Scenario1-Solution.ps1 @@ -146,7 +146,7 @@ foreach ($sp in $ownedSPs) { } # Save the SP object ID -$targetSPId = $ownedSPs | Where-Object { $_.DisplayName -eq "HR Analytics Dashboard"} | Select-Object -First 1 -ExpandProperty Id +$targetSPId = $ownedSPs | Where-Object { $_.DisplayName -eq "Finance Analytics Dashboard"} | Select-Object -First 1 -ExpandProperty Id # Step 3: Since we own the SP, we can add a secret to it $secretDescription = "EntraGoat-Secret-$(Get-Date -Format 'yyyyMMdd-HHmmss')" From 36330b930e7d612331b0324c47cc7f1090e18459 Mon Sep 17 00:00:00 2001 From: trinuro <66290935+trinuro@users.noreply.github.com> Date: Tue, 12 Aug 2025 21:54:55 +0800 Subject: [PATCH 2/2] Add client ID variable that is not defined --- solutions/EntraGoat-Scenario1-Solution.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/solutions/EntraGoat-Scenario1-Solution.ps1 b/solutions/EntraGoat-Scenario1-Solution.ps1 index c3a1ad2..613c03b 100644 --- a/solutions/EntraGoat-Scenario1-Solution.ps1 +++ b/solutions/EntraGoat-Scenario1-Solution.ps1 @@ -147,6 +147,7 @@ foreach ($sp in $ownedSPs) { # Save the SP object ID $targetSPId = $ownedSPs | Where-Object { $_.DisplayName -eq "Finance Analytics Dashboard"} | Select-Object -First 1 -ExpandProperty Id +$clientId = $ownedSPs | Where-Object { $_.DisplayName -eq "Finance Analytics Dashboard"} | Select-Object -First 1 -ExpandProperty AppId # Step 3: Since we own the SP, we can add a secret to it $secretDescription = "EntraGoat-Secret-$(Get-Date -Format 'yyyyMMdd-HHmmss')"