Skip to content

Commit

Permalink
Update MSFT_EXOServicePrincipal.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Dec 4, 2024
1 parent ce14c62 commit 560d144
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,11 @@ function Export-TargetResource
}
foreach ($config in $Script:exportedInstances)
{
if ($null -ne $Global:M365DSCExportResourceInstancesCount)
{
$Global:M365DSCExportResourceInstancesCount++
}

$servicePrincipal = Get-MgServicePrincipal -ServicePrincipalId $config.Identity

$displayedKey = $servicePrincipal.AppDisplayName
Expand Down

0 comments on commit 560d144

Please sign in to comment.