Skip to content

Commit

Permalink
added comma for pretification
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Aug 15, 2023
1 parent 21c7016 commit 48a93f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExecAccessChecks/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down

0 comments on commit 48a93f4

Please sign in to comment.