Skip to content

Commit

Permalink
Fix before rebuild to Mt cmdlet v2
Browse files Browse the repository at this point in the history
  • Loading branch information
weyCC81 committed Dec 8, 2024
1 parent d92b2e4 commit 42c68d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/Maester/Teams/Test-TeamsMeeting.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ BeforeDiscovery {
Write-Verbose "Found $($TeamsMeetingPolicy.Count) Teams Meeting policies"
$TeamsMeetingPolicyGlobal = $TeamsMeetingPolicy | Where-Object {$_.Identity -eq "Global"}
Write-Verbose "Filtered $( $TeamsMeetingPolicyGlobal.Count) Global Teams Meeting policy"
#$TeamsEventsPolicy = Get-CsTeamsEventsPolicy
#Write-Verbose "Found $($TeamsEventsPolicy.Count) Teams Events policies"
} catch [System.UnauthorizedAccessException] {

} catch {
Write-Verbose "Session is not established, run Connect-MicrosoftTeams before requesting access token"
}
}
Expand Down

0 comments on commit 42c68d5

Please sign in to comment.