You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
WavingReader
changed the title
TeamsMeetingPolicy: Test-TargetResource doesn't show Identity of a non-existent policy
TeamsMeetingPolicy: Get-TargetResource doesn't show Identity of a non-existent policy
Dec 13, 2024
Description of the issue
Get-TargetResource doesn't show Identity of a non-existent policy in verbose output.
Because of '$' typo.
$policy = Get-CsTeamsMeetingPolicy -Identity $Identity `
-ErrorAction 'SilentlyContinue'
if ($null -eq $policy)
{
Write-Verbose -Message "Could not find Teams Meeting Policy ${$Identity}"
return $nullReturn
}
Write-Verbose -Message "Found Teams Meeting Policy {$Identity}"
Microsoft 365 DSC Version
1.24.1211.1
Which workloads are affected
Teams
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: