From 16f8f9de082fcfa2e40ba3d9e25bc7828854227b Mon Sep 17 00:00:00 2001 From: Derek Smay <43035577+desmay@users.noreply.github.com> Date: Fri, 6 Oct 2023 10:41:52 -0400 Subject: [PATCH] Removed Owner and moved to if --- .../DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 index ee9b0d18ed..8d0a06ebc9 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 @@ -181,7 +181,6 @@ function Get-TargetResource DisplayName = $team.DisplayName GroupID = $team.GroupId Description = $team.Description - Owner = $Owners[0].User.ToString() MailNickName = $team.MailNickName Visibility = $team.Visibility AllowAddRemoveApps = $team.AllowAddRemoveApps