From 82ecfa58d52f459064a02c037ecd671d78ec43b4 Mon Sep 17 00:00:00 2001 From: Merill Fernando Date: Tue, 10 Dec 2024 22:32:11 +1100 Subject: [PATCH] Fixed portal link --- tests/Maester/Teams/Test-TeamsMeeting.Tests.ps1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/Maester/Teams/Test-TeamsMeeting.Tests.ps1 b/tests/Maester/Teams/Test-TeamsMeeting.Tests.ps1 index 94aff6af..8f894069 100644 --- a/tests/Maester/Teams/Test-TeamsMeeting.Tests.ps1 +++ b/tests/Maester/Teams/Test-TeamsMeeting.Tests.ps1 @@ -12,10 +12,12 @@ BeforeDiscovery { } Describe "Teams Meeting policies" -Tag "Maester", "Teams", "MeetingPolicy" { - $portalLink_MeetingPolicy = "https://admin.teams.microsoft.com/policies/meetings" + It "Configure which users are allowed to present in Teams meetings" -Tag "AllowParticipantGiveRequestControl" { + $portalLink_MeetingPolicy = "https://admin.teams.microsoft.com/policies/meetings" + if (!(Test-MtConnection Teams)) { Add-MtTestResultDetail -SkippedBecause NotConnectedTeams return $null @@ -37,6 +39,8 @@ Describe "Teams Meeting policies" -Tag "Maester", "Teams", "MeetingPolicy" { It "Only invited users should be automatically admitted to Teams meetings" -Tag "AutoAdmittedUsers" { #($TeamsMeetingPolicyGlobal.AutoAdmittedUsers -eq "InvitedUsers") + $portalLink_MeetingPolicy = "https://admin.teams.microsoft.com/policies/meetings" + if (!(Test-MtConnection Teams)) { Add-MtTestResultDetail -SkippedBecause NotConnectedTeams return $null @@ -57,6 +61,8 @@ Describe "Teams Meeting policies" -Tag "Maester", "Teams", "MeetingPolicy" { It "Restrict anonymous users from joining meetings" -Tag "AllowAnonymousUsersToJoinMeeting" { + $portalLink_MeetingPolicy = "https://admin.teams.microsoft.com/policies/meetings" + if (!(Test-MtConnection Teams)) { Add-MtTestResultDetail -SkippedBecause NotConnectedTeams return $null @@ -77,6 +83,8 @@ Describe "Teams Meeting policies" -Tag "Maester", "Teams", "MeetingPolicy" { It "Restrict anonymous users from starting Teams meetings" -Tag "AllowAnonymousUsersToStartMeeting" { + $portalLink_MeetingPolicy = "https://admin.teams.microsoft.com/policies/meetings" + if (!(Test-MtConnection Teams)) { Add-MtTestResultDetail -SkippedBecause NotConnectedTeams return $null @@ -97,6 +105,8 @@ Describe "Teams Meeting policies" -Tag "Maester", "Teams", "MeetingPolicy" { It "Limit external participants from having control in a Teams meeting" -Tag "AllowExternalParticipantGiveRequestControl" { + $portalLink_MeetingPolicy = "https://admin.teams.microsoft.com/policies/meetings" + if (!(Test-MtConnection Teams)) { Add-MtTestResultDetail -SkippedBecause NotConnectedTeams return $null @@ -117,6 +127,8 @@ Describe "Teams Meeting policies" -Tag "Maester", "Teams", "MeetingPolicy" { It "Restrict dial-in users from bypassing a meeting lobby " -Tag "AllowPSTNUsersToBypassLobby" { + $portalLink_MeetingPolicy = "https://admin.teams.microsoft.com/policies/meetings" + if (!(Test-MtConnection Teams)) { Add-MtTestResultDetail -SkippedBecause NotConnectedTeams return $null