Skip to content

Commit b5d77d3

Browse files
committed
Add missing parameter
1 parent d26b997 commit b5d77d3

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

Examples/Resources/EXOActiveSyncMailboxPolicy/1-Create.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Configuration Example
6666
MaxEmailAgeFilter = "All";
6767
MaxEmailBodyTruncationSize = "Unlimited";
6868
MaxEmailHTMLBodyTruncationSize = "Unlimited";
69-
MaxInactivityTimeDeviceLock = "Unlimited";
69+
MaxInactivityTimeLock = "Unlimited";
7070
MinPasswordComplexCharacters = 1;
7171
MinPasswordLength = 1;
7272
Name = "Test";

Examples/Resources/EXOActiveSyncMailboxPolicy/2-Update.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Configuration Example
6666
MaxEmailAgeFilter = "All";
6767
MaxEmailBodyTruncationSize = "Unlimited";
6868
MaxEmailHTMLBodyTruncationSize = "Unlimited";
69-
MaxInactivityTimeDeviceLock = "Unlimited";
69+
MaxInactivityTimeLock = "Unlimited";
7070
MinPasswordComplexCharacters = 1;
7171
MinPasswordLength = 1;
7272
Name = "Test";

Examples/Resources/EXOActiveSyncMailboxPolicy/3-Remove.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Configuration Example
6666
MaxEmailAgeFilter = "All";
6767
MaxEmailBodyTruncationSize = "Unlimited";
6868
MaxEmailHTMLBodyTruncationSize = "Unlimited";
69-
MaxInactivityTimeDeviceLock = "Unlimited";
69+
MaxInactivityTimeLock = "Unlimited";
7070
MinPasswordComplexCharacters = 1;
7171
MinPasswordLength = 1;
7272
Name = "Test";

Modules/Microsoft365DSC/DSCResources/MSFT_EXOActiveSyncMailboxPolicy/MSFT_EXOActiveSyncMailboxPolicy.psm1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function Get-TargetResource
109109

110110
[Parameter()]
111111
[System.Boolean]
112-
$AlphanumericDevicePasswordRequired,
112+
$AlphanumericPasswordRequired,
113113

114114
[Parameter()]
115115
[System.String[]]
@@ -331,7 +331,7 @@ function Get-TargetResource
331331
AllowUnsignedApplications = [System.Boolean]$instance.AllowUnsignedApplications
332332
AllowUnsignedInstallationPackages = [System.Boolean]$instance.AllowUnsignedInstallationPackages
333333
AllowWiFi = [System.Boolean]$instance.AllowWiFi
334-
AlphanumericDevicePasswordRequired = [System.Boolean]$instance.AlphanumericDevicePasswordRequired
334+
AlphanumericPasswordRequired = [System.Boolean]$instance.AlphanumericPasswordRequired
335335
ApprovedApplicationList = [System.String[]]$instance.ApprovedApplicationList
336336
AttachmentsEnabled = [System.Boolean]$instance.AttachmentsEnabled
337337
DeviceEncryptionEnabled = [System.Boolean]$instance.DeviceEncryptionEnabled
@@ -492,7 +492,7 @@ function Set-TargetResource
492492

493493
[Parameter()]
494494
[System.Boolean]
495-
$AlphanumericDevicePasswordRequired,
495+
$AlphanumericPasswordRequired,
496496

497497
[Parameter()]
498498
[System.String[]]
@@ -795,7 +795,7 @@ function Test-TargetResource
795795

796796
[Parameter()]
797797
[System.Boolean]
798-
$AlphanumericDevicePasswordRequired,
798+
$AlphanumericPasswordRequired,
799799

800800
[Parameter()]
801801
[System.String[]]

Modules/Microsoft365DSC/DSCResources/MSFT_EXOActiveSyncMailboxPolicy/MSFT_EXOActiveSyncMailboxPolicy.schema.mof

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ class MSFT_EXOActiveSyncMailboxPolicy : OMI_BaseResource
1818
[Write, Description("Enables all devices to synchronize with the computer running Exchange, regardless of whether the device can enforce all the specific settings established in the Mobile Device mailbox policy.")] Boolean AllowNonProvisionableDevices;
1919
[Write, Description("Specifies whether the user can configure a POP3 or IMAP4 email account on the device.")] Boolean AllowPOPIMAPEmail;
2020
[Write, Description("Specifies whether the mobile phone can initiate a remote desktop connection.")] Boolean AllowRemoteDesktop;
21-
[Write, Description("Specifies whether a simple device password is allowed.")] Boolean AllowSimpleDevicePassword;
21+
[Write, Description("Specifies whether a simple device password is allowed.")] Boolean AllowSimplePassword;
2222
[Write, Description("Specifies whether the messaging application on the device can negotiate the encryption algorithm in case a recipient's certificate doesn't support the specified encryption algorithm.")] String AllowSMIMEEncryptionAlgorithmNegotiation;
2323
[Write, Description("Specifies whether S/MIME software certificates are allowed.")] Boolean AllowSMIMESoftCerts;
2424
[Write, Description("Specifies whether the device can access information stored on a storage card.")] Boolean AllowStorageCard;
2525
[Write, Description("Specifies whether text messaging is allowed from the device.")] Boolean AllowTextMessaging;
2626
[Write, Description("Specifies whether unsigned applications can be installed on the device.")] Boolean AllowUnsignedApplications;
2727
[Write, Description("Specifies whether unsigned installation packages can be run on the device.")] Boolean AllowUnsignedInstallationPackages;
2828
[Write, Description("Specifies whether wireless Internet access is allowed on the device.")] Boolean AllowWiFi;
29-
[Write, Description("Specifies whether the device password must be alphanumeric.")] Boolean AlphanumericDevicePasswordRequired;
29+
[Write, Description("Specifies whether the device password must be alphanumeric.")] Boolean AlphanumericPasswordRequired;
3030
[Write, Description("Specifies a list of approved applications for the device.")] String ApprovedApplicationList[];
3131
[Write, Description("Specifies whether the user can download attachments.")] Boolean AttachmentsEnabled;
3232
[Write, Description("Enables device encryption on the mobile phone.")] Boolean DeviceEncryptionEnabled;

Modules/Microsoft365DSC/SchemaDefinition.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)