From 28316b2cbd7852cd87273a72c4e4b8dfa44680d8 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Mon, 5 Oct 2020 09:46:08 -0400 Subject: [PATCH 1/2] Fixes to Teams policies and TeamsTeam --- CHANGELOG.md | 9 +++++++++ .../MSFT_TeamsMeetingPolicy.schema.mof | Bin 9905 -> 20774 bytes 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98c6b7cd77..dfe4068365 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Change log for Microsoft365DSC +## 1.20.1007.1 + +* TeamsCallingPolicy + * Added new supported properties; +* TeamsMeetingPolicy + * Added new supported properties; +* TeamsTeam + * Added new supported properties; + ## 1.20.930.1 * IntuneAppConfigurationPolicy diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsMeetingPolicy/MSFT_TeamsMeetingPolicy.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsMeetingPolicy/MSFT_TeamsMeetingPolicy.schema.mof index ff4a5bdc66856ea01a74cc4a2b7a61246d881c21..346eace337e739b96f904411cd3ac91f49ba8051 100644 GIT binary patch literal 20774 zcmeI4TTfic6@|}pr2K~#51Cks$GN;E4-vkN$k@gL?0FcCBJ2i+3y{z>)(y)LG_zzR6WKA$!YmYR3S2OQbe_d#fQT0brvaP4K^u*(|gM(^ED^9i2g(!Tl*R1ic z^mnAu{Cr=1tLvZAKAxu0@6&G16Q!~5E$xi`LH$glN1F3ce`nQ?x<0B=2;KF4j*6Xr zeYMw-_BKoFz>AS+F6aMKgU0XD*qLUA-~DuU-&r-a-K#7^Gdr6|OVAA@HmWWYXU*S< z-tX)8LU$N9k}UT%a-{d~)3~wjo#-BSeoXh6=S1((!>n~v=`OtIiluj)R+~wlNO7ln zQ$0&}c)zb1PITuoy{@nC@vB|^d9_)+5N&z=bM5s^`#G-OCB4h~mN{{l#(WTkB{jCP z#rW|`s~~|oN6>t1d8GM~h_&^-{v(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 17 00:00:00 2001 From: Nik Charlebois Date: Mon, 5 Oct 2020 09:48:55 -0400 Subject: [PATCH 2/2] Empty spaces fix --- .../MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.psm1 | 2 +- .../MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.schema.mof | 2 +- .../DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 | 2 +- .../DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.schema.mof | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.psm1 index 5179953cb9..70e6f9be62 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.psm1 @@ -369,7 +369,7 @@ function Test-TargetResource [System.String] [ValidateSet('Enabled', 'Disabled')] $SpamFilteringEnabledType = 'Enabled', - + [Parameter()] [ValidateSet("Present", "Absent")] [System.String] diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.schema.mof index e2ca4cc029..fe6942bdd4 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallingPolicy/MSFT_TeamsCallingPolicy.schema.mof @@ -20,6 +20,6 @@ class MSFT_TeamsCallingPolicy : OMI_BaseResource [Write, Description("This setting allows the tenant admin to enable or disable the Auto-Answer setting. Valid options are: Enabled, Disabled."), ValueMap{"Enabled","Disabled"}, Values{"Enabled","Disabled"}] String AutoAnswerEnabledType; [Write, Description("Setting this parameter determines whether calls identified as Spam will be rejected or not (probably). Valid options are: Enabled, Disabled."), ValueMap{"Enabled","Disabled"}, Values{"Enabled","Disabled"}] String SpamFilteringEnabledType; [Write, Description("Present ensures the policyexists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; - [Required, Description("Credentials of the Teams Global Admin"), EmbeddedInstance("MSFT_Credential")] String GlobalAdminAccount; + [Required, Description("Credentials of the Teams Global Admin."), EmbeddedInstance("MSFT_Credential")] String GlobalAdminAccount; }; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 index a4344fb108..8401554822 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 @@ -547,7 +547,7 @@ function Test-TargetResource [Parameter()] [System.Boolean] $ShowInTeamsSearchAndSuggestions, - + [Parameter()] [ValidateSet("Present", "Absent")] [System.String] diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.schema.mof index ae50a6da27..651a28c3b6 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.schema.mof @@ -23,7 +23,7 @@ class MSFT_TeamsTeam : OMI_BaseResource [Write, Description("Allow guests to create and update channels in Team.")] Boolean AllowGuestCreateUpdateChannels; [Write, Description("Allow guests to delete channel in Team.")] Boolean AllowGuestDeleteChannels; [Write, Description("Allow members to create and update channels within Team.")] Boolean AllowCreateUpdateChannels; - [Write, Description("determines whether or not private teams should be searchable from Teams clients for users who do not belong to that team. Set to $false to make those teams not discoverable from Teams clients..")] Boolean ShowInTeamsSearchAndSuggestions; + [Write, Description("determines whether or not private teams should be searchable from Teams clients for users who do not belong to that team. Set to $false to make those teams not discoverable from Teams clients.")] Boolean ShowInTeamsSearchAndSuggestions; [Write, Description("Present ensures the Team exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Credentials of the SharePoint Global Admin"), EmbeddedInstance("MSFT_Credential")] String GlobalAdminAccount; [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId;