From 48a93f4d6b5a9afe1b3c5c7e031207be5630babd Mon Sep 17 00:00:00 2001 From: KelvinTegelaar <49186168+KelvinTegelaar@users.noreply.github.com> Date: Tue, 15 Aug 2023 12:58:58 +0200 Subject: [PATCH] added comma for pretification --- ExecAccessChecks/run.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExecAccessChecks/run.ps1 b/ExecAccessChecks/run.ps1 index c97199a1e0b3..2898edb9aa06 100644 --- a/ExecAccessChecks/run.ps1 +++ b/ExecAccessChecks/run.ps1 @@ -143,7 +143,7 @@ if ($Request.query.Tenants -eq 'true') { $GDAPRoles = foreach ($RoleId in $ExpectedRoles) { $Role = (New-graphGetRequest -uri "https://graph.microsoft.com/beta/roleManagement/directory/roleAssignments?`$filter=roleDefinitionId eq '$($RoleId.id)'&`$expand=principal" -tenantid $tenant).principal | Where-Object -Property organizationId -EQ $ENV:tenantid if (!$role) { - "$($RoleId.Name) " + "$($RoleId.Name), " $AddedText = "but potentially missing GDAP roles" } }