diff --git a/.github/ISSUE_TEMPLATE/ProblemWithResource.yml b/.github/ISSUE_TEMPLATE/ProblemWithResource.yml index a74cec8539..71ba363725 100644 --- a/.github/ISSUE_TEMPLATE/ProblemWithResource.yml +++ b/.github/ISSUE_TEMPLATE/ProblemWithResource.yml @@ -41,8 +41,9 @@ body: label: "Which workloads are affected" description: The workload of the resource you are having an issue with. options: - - "Azure Active Directory" + - "Azure Active Directory (Entra ID)" - "Exchange Online" + - "Intune" - "Office 365 Admin" - "OneDrive for Business" - "Planner" diff --git a/.github/workflows/Describe Resources Schemas.yml b/.github/workflows/Describe Resources Schemas.yml new file mode 100644 index 0000000000..f3e9568012 --- /dev/null +++ b/.github/workflows/Describe Resources Schemas.yml @@ -0,0 +1,47 @@ +name: Describe Resources Schemas +on: [push] + +jobs: + ParseSchemas: + # The type of runner that the job will run on + runs-on: windows-latest + permissions: write-all + + # Only when run from the main repo + if: github.repository == 'microsoft/Microsoft365DSC' + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + - name: Install Microsoft365DSC + shell: powershell + run: | + winrm quickconfig -force + $source = "./Modules/Microsoft365DSC/" + $destination = "C:\Program Files\WindowsPowerShell\Modules" + Copy-Item -Path $source -Recurse -Destination $destination -Container -Force + Update-M365DSCDependencies + - name: Configure Environment + shell: powershell + run: | + Set-ExecutionPolicy Unrestricted -Force + Get-ChildItem "C:\Program Files\WindowsPowerShell\Modules" -Recurse | Unblock-File + Set-M365DSCTelemetryOption -Enabled $false + Set-Item -Path WSMan:\localhost\MaxEnvelopeSizekb -Value 99999 + - name: Generate {Create} Integration Tests from Examples + shell: powershell + run: | + Import-Module './Modules/Microsoft365DSC/Modules/M365DSCSchemaHandler.psm1' + New-M365DSCSchemaDefinition + - name: Commit File + shell: powershell + run: | + git config --local user.email "nicharl@microsoft.com" + git config --local user.name "NikCharlebois" + git add D:/a/Microsoft365DSC/Microsoft365DSC/Modules/Microsoft365DSC/SchemaDefinition.json + git pull + git commit -m "Updated Schema Definition" + git push + $SHA = git rev-parse HEAD + echo "commitid=$SHA" >> $env:GITHUB_OUTPUT diff --git a/.github/workflows/Global - Integration - AAD.yml b/.github/workflows/Global - Integration - AAD.yml index df54194a4b..67e0d5cff9 100644 --- a/.github/workflows/Global - Integration - AAD.yml +++ b/.github/workflows/Global - Integration - AAD.yml @@ -62,7 +62,9 @@ jobs: { throw $_ } - + - name: Validating {Create} Integration Tests + shell: powershell + run: | try { $Result = Test-DSCConfiguration -Detailed -Verbose -ErrorAction Stop @@ -88,6 +90,18 @@ jobs: { Write-Host "All resources in the Tenant are in the Desired State" } + + try + { + # Commenting out since this is very finnicky right now and its preventing other tests from running. + # The Get-DSCConfiguration cmdlet isn't providing much value added when failing and doesn't provide + # info about what parsing issues occured. + #$Result = Get-DSCConfiguration -Verbose -ErrorAction Stop + } + catch + { + throw $_ + } - name: Generate {Update} Integration Tests from Examples shell: powershell run: | @@ -120,7 +134,9 @@ jobs: { throw $_ } - + - name: Validating {Update} Integration Tests + shell: powershell + run: | try { $Result = Test-DSCConfiguration -Detailed -Verbose -ErrorAction Stop @@ -146,6 +162,18 @@ jobs: { Write-Host "All resources in the Tenant are in the Desired State" } + + try + { + # Commenting out since this is very finnicky right now and its preventing other tests from running. + # The Get-DSCConfiguration cmdlet isn't providing much value added when failing and doesn't provide + # info about what parsing issues occured. + #$Result = Get-DSCConfiguration -Verbose -ErrorAction Stop + } + catch + { + throw $_ + } - name: Generate {Remove} Integration Tests from Examples shell: powershell run: | @@ -178,7 +206,9 @@ jobs: { throw $_ } - + - name: Validating {Remove} Integration Tests + shell: powershell + run: | try { $Result = Test-DSCConfiguration -Detailed -Verbose -ErrorAction Stop @@ -205,3 +235,11 @@ jobs: Write-Host "All resources in the Tenant are in the Desired State" } + try + { + #$Result = Get-DSCConfiguration -Verbose -ErrorAction Stop + } + catch + { + throw $_ + } diff --git a/CHANGELOG.md b/CHANGELOG.md index 791b70e566..c7859ccb55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,99 @@ # Change log for Microsoft365DSC +# 1.24.403.1 + +* AADAdministrativeUnit + * Fix issue with deploying/creating a new AU with members and/or adding members to an existing AU + FIXES [#4404](https://github.com/microsoft/Microsoft365DSC/issues/4404) + * Updated examples to include setting Visibility and ScopedRoleMembers + * Fix issue with Set-TargetResource was failing to apply when Verbose is set + FIXES [#4497](https://github.com/microsoft/Microsoft365DSC/issues/4497) +* All resources + * Fix issue where Ensure cannot be left as default 'Present' +* AADAdministrativeUnit + * Fix issue with omitted Ensure and/or Id + FIXES [#4437](https://github.com/microsoft/Microsoft365DSC/issues/4437) +* AADConditionalAccessPolicy + * Fixed schema file +* EXOCalendarProcessing + * Fixed schema file +* EXOGroupSettings + * Fixed schema file +* EXOMailTips + * [BREAKING CHANGE] Replaced the Organization parameter with IsSingleInstance + FIXES [#4117](https://github.com/microsoft/Microsoft365DSC/issues/4117) +* EXOMessageClassification + * Fixed schema file +* EXOOMEConfiguration + * Fixed schema file +* EXOTransportRule + * [BREAKING CHANGE] Change data type of Priority from String to Int + FIXES [[#4136](https://github.com/microsoft/Microsoft365DSC/issues/4136)] +* IntuneAntivirusPolicyWindows10SettingCatalog + * Add missing properties +* IntuneAppConfigurationPolicy + * Fix comparison in Test-TargetResource + FIXES [#4451](https://github.com/microsoft/Microsoft365DSC/issues/4451) +* IntuneDeviceCompliancePolicyWindows10 + * Fix group assignment by using the corrected function + Update-DeviceConfigurationPolicyAssignment from module M365DSCDRGUtil + FIXES [#4467](https://github.com/microsoft/Microsoft365DSC/issues/4467) +* IntuneDeviceEnrollmentPlatformRestriction + * Fixed an issue where nested settings would throw a conflict + FIXES [#4082](https://github.com/microsoft/Microsoft365DSC/issues/4082) +* IntuneDeviceEnrollmentStatusPageWindows10 + * Added support for specifying SelectedMobileAppNames in addition to SelectedMobileAppIds, + which are different for each tenant. + FIXES [#4494](https://github.com/microsoft/Microsoft365DSC/issues/4494) +* M365DSCRuleEvaluation + * Log both matching and not matching resources and in XML format +* O365OrgSettings + * Fixed missing permissions in settings.json +* SPOAccessControlSettings + * [BREAKING CHANGE] Removed CommentsOnSitePagesDisabled parameter, because of + duplication in SPOTenantSettings + FIXES [#3576](https://github.com/microsoft/Microsoft365DSC/issues/3576) + * [BREAKING CHANGE] Moved SocialBarOnSitePagesDisabled parameter to SPOTenantSettings, + because it makes more sense there. This has nothing to do with Access Control. +* SPOTenantSettings + * [BREAKING CHANGE] Removed ConditionalAccessPolicy parameter, because of + duplication in SPOAccessControlSettings + FIXES [#3576](https://github.com/microsoft/Microsoft365DSC/issues/3576) + * Added SocialBarOnSitePagesDisabled parameter, moved from SPOAccessControlSettings. + * Added EnableAIPIntegration. +* TeamsChannelTab + * Fixed schema file +* TeamsGroupPolicyAssignment + * Skip assignments that have orphaned/deleted groups or without display name + instead of throwing an error + FIXES [#4407](https://github.com/microsoft/Microsoft365DSC/issues/4407) +* TeamsTenantDialPlan + * Fix output of property NormalizationRules as a string to the blueprint + FIXES [#4428](https://github.com/microsoft/Microsoft365DSC/issues/4428) + * Fix creation, update and deletion of resource +* TeamsUpdateManagementPolicy + * Adds support for the NewTeamsOnly value or the UseNewTeamsClient property. + FIXES [#4496](https://github.com/microsoft/Microsoft365DSC/issues/4496) +* DEPENDENCIES + * Updated DSCParser to version 2.0.0.3. +* MISC + * Initial release of Get-M365DSCEvaluationRulesForConfiguration + * M365DSCDRGUtil + Fix Update-DeviceConfigurationPolicyAssignment so that if the group cannot + be found by its Id it tries to search it by display name + FIXES [#4467](https://github.com/microsoft/Microsoft365DSC/issues/4467) + * M365DSCReport + Fix issue when asserting resources not covered by current conditions in + Get-M365DSCResourceKey by always returning all their mandatory parameters + FIXES [#4502](https://github.com/microsoft/Microsoft365DSC/issues/4502) + * Fix broken links to integration tests in README.md + * Changing logic to retrieve DSC Resources properties not to use DSC + specific cmdlets. + # 1.24.313.1 +* AADAuthenticationStrengthPolicy + * Removed the Id paremeter from being checked in the Test-TargetResource. * AADGroup * Fixed issue when filtering groups by display name FIXES [#4394](https://github.com/microsoft/Microsoft365DSC/issues/4394) @@ -81,7 +173,7 @@ Get-TargetResource * Fixed an issue with the parameter InterfaceTypes from firewallrules defined as a string instead of string[] -* IntuneDeviceConfigurationPKCSCertificatePolicyWindows10 +* IntuneDeviceConfigurationSCEPCertificatePolicyWindows10 * Add property RootCertificateDisplayName in order to support assigning root certificates by display name since their Ids in a blueprint might be from a different source tenant @@ -102,6 +194,9 @@ * Add read permission for extracting M365 apps installation settings instead of extracting them only with read/write permissions FIXES [#4418](https://github.com/microsoft/Microsoft365DSC/issues/4418) +* TeamsTeam + * Add error handling for teams without displayname during export + FIXES [#4406](https://github.com/microsoft/Microsoft365DSC/issues/4406) * TeamsVoiceRoute * Fix policy removal and also comparison in Test-TargetResource * DEPENDENCIES diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAdministrativeUnit/MSFT_AADAdministrativeUnit.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAdministrativeUnit/MSFT_AADAdministrativeUnit.psm1 index 910ed8d5f9..7a94fad632 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAdministrativeUnit/MSFT_AADAdministrativeUnit.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAdministrativeUnit/MSFT_AADAdministrativeUnit.psm1 @@ -100,22 +100,6 @@ function Get-TargetResource $nullResult.Ensure = 'Absent' try { - $getValue = $null - - #region resource generator code - if (-Not [string]::IsNullOrEmpty($Id)) - { - $getValue = Get-MgBetaDirectoryAdministrativeUnit -AdministrativeUnitId $Id -ErrorAction Stop - } - - if (-not $getValue -and -Not [string]::IsNullOrEmpty($DisplayName)) - { - $getValue = Get-MgBetaDirectoryAdministrativeUnit -Filter "DisplayName eq '$DisplayName'" -ErrorAction Stop - } - #endregion - - $nullResult = $PSBoundParameters - $nullResult.Ensure = 'Absent' $getValue = $null #region resource generator code @@ -565,8 +549,8 @@ function Set-TargetResource foreach ($member in $memberSpecification) { Write-Verbose -Message "Adding new dynamic member {$($member.Id)}" + $url = $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "beta/$($member.Type)/$($member.Id)" $memberBodyParam = @{ - $url = $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "v1.0/$($member.Type)/$($member.Id)" '@odata.id' = $url } @@ -663,8 +647,8 @@ function Set-TargetResource { Write-Verbose -Message "AdministrativeUnit {$DisplayName} Adding member {$($diff.Identity)}, type {$($diff.Type)}" + $url = $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "beta/$memberType/$($memberObject.Id)" $memberBodyParam = @{ - $url = $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "v1.0/$memberType/$($memberObject.Id)" '@odata.id' = $url } New-MgBetaDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId ($currentInstance.Id) -BodyParameter $memberBodyParam | Out-Null @@ -895,7 +879,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false - Ensure not the same" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADApplication/MSFT_AADApplication.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADApplication/MSFT_AADApplication.psm1 index 4dbd739804..afccdcbb09 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADApplication/MSFT_AADApplication.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADApplication/MSFT_AADApplication.psm1 @@ -112,6 +112,7 @@ function Get-TargetResource $nullReturn = $PSBoundParameters $nullReturn.Ensure = 'Absent' + $AADApp = $null try { try @@ -212,7 +213,7 @@ function Get-TargetResource TenantId = $TenantId ApplicationSecret = $ApplicationSecret CertificateThumbprint = $CertificateThumbprint - Managedidentity = $ManagedIdentity.IsPresent + ManagedIdentity = $ManagedIdentity.IsPresent } Write-Verbose -Message "Get-TargetResource Result: `n $(Convert-M365DscHashtableToString -Hashtable $result)" return $result @@ -799,6 +800,7 @@ function Test-TargetResource } else { + $driftedParams = @{} if ($Permissions.Length -gt 0) { Write-Verbose -Message 'No Permissions exist for the current Azure AD App, but permissions were specified for desired state' diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicy/MSFT_AADAuthenticationMethodPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicy/MSFT_AADAuthenticationMethodPolicy.psm1 index ad70aeaa6c..eb1ebd16af 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicy/MSFT_AADAuthenticationMethodPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicy/MSFT_AADAuthenticationMethodPolicy.psm1 @@ -453,7 +453,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyAuthenticator/MSFT_AADAuthenticationMethodPolicyAuthenticator.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyAuthenticator/MSFT_AADAuthenticationMethodPolicyAuthenticator.psm1 index 53804e091d..8474aa15d3 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyAuthenticator/MSFT_AADAuthenticationMethodPolicyAuthenticator.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyAuthenticator/MSFT_AADAuthenticationMethodPolicyAuthenticator.psm1 @@ -654,7 +654,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyEmail/MSFT_AADAuthenticationMethodPolicyEmail.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyEmail/MSFT_AADAuthenticationMethodPolicyEmail.psm1 index 1ea4e8d70c..f9340ee1ea 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyEmail/MSFT_AADAuthenticationMethodPolicyEmail.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyEmail/MSFT_AADAuthenticationMethodPolicyEmail.psm1 @@ -392,7 +392,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyFido2/MSFT_AADAuthenticationMethodPolicyFido2.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyFido2/MSFT_AADAuthenticationMethodPolicyFido2.psm1 index 5e1bd2fce9..2591366082 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyFido2/MSFT_AADAuthenticationMethodPolicyFido2.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyFido2/MSFT_AADAuthenticationMethodPolicyFido2.psm1 @@ -420,7 +420,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicySms/MSFT_AADAuthenticationMethodPolicySms.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicySms/MSFT_AADAuthenticationMethodPolicySms.psm1 index 8ac4fd6b8e..2693cf761e 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicySms/MSFT_AADAuthenticationMethodPolicySms.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicySms/MSFT_AADAuthenticationMethodPolicySms.psm1 @@ -368,7 +368,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicySoftware/MSFT_AADAuthenticationMethodPolicySoftware.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicySoftware/MSFT_AADAuthenticationMethodPolicySoftware.psm1 index 0a2f0a50f5..de1128d96c 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicySoftware/MSFT_AADAuthenticationMethodPolicySoftware.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicySoftware/MSFT_AADAuthenticationMethodPolicySoftware.psm1 @@ -368,7 +368,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyTemporary/MSFT_AADAuthenticationMethodPolicyTemporary.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyTemporary/MSFT_AADAuthenticationMethodPolicyTemporary.psm1 index 2fd4718e04..48d7b98a99 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyTemporary/MSFT_AADAuthenticationMethodPolicyTemporary.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyTemporary/MSFT_AADAuthenticationMethodPolicyTemporary.psm1 @@ -436,7 +436,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyVoice/MSFT_AADAuthenticationMethodPolicyVoice.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyVoice/MSFT_AADAuthenticationMethodPolicyVoice.psm1 index e816c4dfc6..4b500ccb94 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyVoice/MSFT_AADAuthenticationMethodPolicyVoice.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyVoice/MSFT_AADAuthenticationMethodPolicyVoice.psm1 @@ -381,7 +381,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyX509/MSFT_AADAuthenticationMethodPolicyX509.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyX509/MSFT_AADAuthenticationMethodPolicyX509.psm1 index b79f23dec4..84716c3376 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyX509/MSFT_AADAuthenticationMethodPolicyX509.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationMethodPolicyX509/MSFT_AADAuthenticationMethodPolicyX509.psm1 @@ -444,7 +444,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationStrengthPolicy/MSFT_AADAuthenticationStrengthPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationStrengthPolicy/MSFT_AADAuthenticationStrengthPolicy.psm1 index 6dbc8dc0aa..0160f9e242 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationStrengthPolicy/MSFT_AADAuthenticationStrengthPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthenticationStrengthPolicy/MSFT_AADAuthenticationStrengthPolicy.psm1 @@ -280,7 +280,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof index 9d1203c2af..f02f40a012 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADConditionalAccessPolicy/MSFT_AADConditionalAccessPolicy.schema.mof @@ -40,7 +40,7 @@ class MSFT_AADConditionalAccessPolicy : OMI_BaseResource [Write, Description("Custom Controls assigned to the grant property of this policy.")] String CustomAuthenticationFactors[]; [Write, Description("Sign in frequency unit (days/hours) to be interpreted by the policy."), ValueMap{"Days","Hours",""}, Values{"Days","Hours",""}] String SignInFrequencyType; [Write, Description("Specifies, whether sign-in frequency is enforced by the Policy.")] Boolean SignInFrequencyIsEnabled; - [Write, Description("Sign in frequency interval. Possible values are: timeBased, everyTime and unknownFutureValue."), ValueMap{"timeBased","everyTime","unknownFutureValue"}, Values{"timeBased","everyTime","unknownFutureValue"}] String SignInFrequencyInterval; + [Write, Description("Sign in frequency interval. Possible values are: timeBased, everyTime and unknownFutureValue."), ValueMap{"timeBased","everyTime","unknownFutureValue"}, Values{"timeBased","everyTime","unknownFutureValue"}] String SignInFrequencyInterval; [Write, Description("Specifies, whether Browser Persistence is controlled by the Policy.")] Boolean PersistentBrowserIsEnabled; [Write, Description("Specifies, what Browser Persistence control is enforced by the Policy."), ValueMap{"Always","Never",""}, Values{"Always","Never",""}] String PersistentBrowserMode; [Write, Description("Name of the associated authentication strength policy.")] String AuthenticationStrength; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicy/MSFT_AADCrossTenantAccessPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicy/MSFT_AADCrossTenantAccessPolicy.psm1 index 9339b59158..ea4de736a4 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicy/MSFT_AADCrossTenantAccessPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicy/MSFT_AADCrossTenantAccessPolicy.psm1 @@ -257,7 +257,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationDefault/MSFT_AADCrossTenantAccessPolicyConfigurationDefault.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationDefault/MSFT_AADCrossTenantAccessPolicyConfigurationDefault.psm1 index 5300c7096b..30fb8b5229 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationDefault/MSFT_AADCrossTenantAccessPolicyConfigurationDefault.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationDefault/MSFT_AADCrossTenantAccessPolicyConfigurationDefault.psm1 @@ -336,7 +336,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationDefault/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationDefault/settings.json index 4de0e492b8..a6f1520575 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationDefault/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationDefault/settings.json @@ -1,5 +1,5 @@ { - "resourceName": "AADAuthenticationMethodPolicyConfigurationDefault", + "resourceName": "AADCrossTenantAccessPolicyConfigurationDefault", "description": "This resource configures an Azure AD Authentication Method Policy Configuration Default.", "roles": { "read": [ diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationPartner/MSFT_AADCrossTenantAccessPolicyConfigurationPartner.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationPartner/MSFT_AADCrossTenantAccessPolicyConfigurationPartner.psm1 index 008e94eac6..d3a2f70c35 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationPartner/MSFT_AADCrossTenantAccessPolicyConfigurationPartner.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationPartner/MSFT_AADCrossTenantAccessPolicyConfigurationPartner.psm1 @@ -364,7 +364,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationPartner/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationPartner/settings.json index b44cf1dfc7..7bf245462c 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationPartner/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationPartner/settings.json @@ -1,5 +1,5 @@ { - "resourceName": "AADAuthenticationMethodPolicyConfigurationPartner", + "resourceName": "AADCrossTenantAccessPolicyConfigurationPartner", "description": "This resource configures an Azure AD Authentication Method Policy Configuration Partner.", "roles": { "read": [ diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementAccessPackageAssignmentPolicy/MSFT_AADEntitlementManagementAccessPackageAssignmentPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementAccessPackageAssignmentPolicy/MSFT_AADEntitlementManagementAccessPackageAssignmentPolicy.psm1 index 62fb18a109..fb2cc2c977 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementAccessPackageAssignmentPolicy/MSFT_AADEntitlementManagementAccessPackageAssignmentPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementAccessPackageAssignmentPolicy/MSFT_AADEntitlementManagementAccessPackageAssignmentPolicy.psm1 @@ -796,7 +796,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementAccessPackageCatalogResource/MSFT_AADEntitlementManagementAccessPackageCatalogResource.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementAccessPackageCatalogResource/MSFT_AADEntitlementManagementAccessPackageCatalogResource.psm1 index 98a4ef18ea..adf83a4b86 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementAccessPackageCatalogResource/MSFT_AADEntitlementManagementAccessPackageCatalogResource.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementAccessPackageCatalogResource/MSFT_AADEntitlementManagementAccessPackageCatalogResource.psm1 @@ -571,7 +571,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementConnectedOrganization/MSFT_AADEntitlementManagementConnectedOrganization.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementConnectedOrganization/MSFT_AADEntitlementManagementConnectedOrganization.psm1 index 6e7b94cf31..39c98aa1a9 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementConnectedOrganization/MSFT_AADEntitlementManagementConnectedOrganization.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADEntitlementManagementConnectedOrganization/MSFT_AADEntitlementManagementConnectedOrganization.psm1 @@ -647,7 +647,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleEligibilityScheduleRequest/MSFT_AADRoleEligibilityScheduleRequest.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleEligibilityScheduleRequest/MSFT_AADRoleEligibilityScheduleRequest.psm1 index ecd106f47e..c5266516d2 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleEligibilityScheduleRequest/MSFT_AADRoleEligibilityScheduleRequest.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleEligibilityScheduleRequest/MSFT_AADRoleEligibilityScheduleRequest.psm1 @@ -154,15 +154,16 @@ else { Write-Verbose -Message "Getting Role Eligibility by PrincipalId and RoleDefinitionId" - Write-Verbose -Message "Retrieving principal {$Principal} of type {$PrincipalType}" if ($PrincipalType -eq 'User') { + Write-Verbose -Message "Retrieving principal {$Principal} of type {$PrincipalType}" $PrincipalIdValue = Get-MgUser -Filter "UserPrincipalName eq '$Principal'" -ErrorAction SilentlyContinue $PrincipalTypeValue = 'User' } if ($null -eq $PrincipalIdValue -or $PrincipalType -eq 'Group') { + Write-Verbose -Message "Retrieving principal {$Principal} of type {$PrincipalType}" $PrincipalIdValue = Get-MgGroup -Filter "DisplayName eq '$Principal'" -ErrorAction SilentlyContinue $PrincipalTypeValue = 'Group' } @@ -816,10 +817,10 @@ function Export-TargetResource } foreach ($request in $Script:exportedInstances) { - $RoleDefinitionId = Get-MgBetaRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $request.RoleDefinitionId - $displayedKey = $RoleDefinitionId.DisplayName + " - " + $request.PrincipalId + $displayedKey = $request.Id Write-Host " |---[$i/$($Script:exportedInstances.Count)] $displayedKey" -NoNewline + $RoleDefinitionId = Get-MgBetaRoleManagementDirectoryRoleDefinition -UnifiedRoleDefinitionId $request.RoleDefinitionId $params = @{ Id = $request.Id Principal = $request.PrincipalId diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADSocialIdentityProvider/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_AADSocialIdentityProvider/settings.json index 92e00500a2..18de6335a5 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADSocialIdentityProvider/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADSocialIdentityProvider/settings.json @@ -1,5 +1,5 @@ { - "resourceName": "AADAttributeSet", + "resourceName": "AADSocialIdentityProvider", "description": "Represents a group of related custom security attribute definitions.", "roles": { "read": [ diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_AADUser/MSFT_AADUser.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_AADUser/MSFT_AADUser.psm1 index 7f278519cb..b1f10043a2 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_AADUser/MSFT_AADUser.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_AADUser/MSFT_AADUser.psm1 @@ -914,7 +914,128 @@ function Export-TargetResource Property = $propertiesToRetrieve ErrorAction = 'Stop' } - if ($Filter -like '*endsWith*') + $queryTypes = @{ + 'eq' = @('assignedPlans/any(a:a/capabilityStatus)', + 'assignedPlans/any(a:a/service)', + 'assignedPlans/any(a:a/servicePlanId)', + 'authorizationInfo/certificateUserIds/any(p:p)', + 'businessPhones/any(p:p)', + 'companyName', + 'createdObjects/any(c:c/id)', + 'employeeHireDate', + 'employeeOrgData/costCenter', + 'employeeOrgData/division', + 'employeeType', + 'faxNumber', + 'mobilePhone', + 'officeLocation', + 'onPremisesExtensionAttributes/extensionAttribute1', + 'onPremisesExtensionAttributes/extensionAttribute10', + 'onPremisesExtensionAttributes/extensionAttribute11', + 'onPremisesExtensionAttributes/extensionAttribute12', + 'onPremisesExtensionAttributes/extensionAttribute13', + 'onPremisesExtensionAttributes/extensionAttribute14', + 'onPremisesExtensionAttributes/extensionAttribute15', + 'onPremisesExtensionAttributes/extensionAttribute2', + 'onPremisesExtensionAttributes/extensionAttribute3', + 'onPremisesExtensionAttributes/extensionAttribute4', + 'onPremisesExtensionAttributes/extensionAttribute5', + 'onPremisesExtensionAttributes/extensionAttribute6', + 'onPremisesExtensionAttributes/extensionAttribute7', + 'onPremisesExtensionAttributes/extensionAttribute8', + 'onPremisesExtensionAttributes/extensionAttribute9', + 'onPremisesSamAccountName', + 'passwordProfile/forceChangePasswordNextSignIn', + 'passwordProfile/forceChangePasswordNextSignInWithMfa', + 'postalCode', + 'preferredLanguage', + 'provisionedPlans/any(p:p/provisioningStatus)', + 'provisionedPlans/any(p:p/service)', + 'showInAddressList', + 'streetAddress') + + 'startsWith' = @( + 'assignedPlans/any(a:a/service)', + 'businessPhones/any(p:p)', + 'companyName', + 'faxNumber', + 'mobilePhone', + 'officeLocation', + 'onPremisesSamAccountName', + 'postalCode', + 'preferredLanguage', + 'provisionedPlans/any(p:p/service)', + 'streetAddress' + ) + 'ge' = @('employeeHireDate') + 'le' = @('employeeHireDate') + 'eq Null' = @( + 'city', + 'companyName', + 'country', + 'createdDateTime', + 'department', + 'displayName', + 'employeeId', + 'faxNumber', + 'givenName', + 'jobTitle', + 'mail', + 'mailNickname', + 'mobilePhone', + 'officeLocation', + 'onPremisesExtensionAttributes/extensionAttribute1', + 'onPremisesExtensionAttributes/extensionAttribute10', + 'onPremisesExtensionAttributes/extensionAttribute11', + 'onPremisesExtensionAttributes/extensionAttribute12', + 'onPremisesExtensionAttributes/extensionAttribute13', + 'onPremisesExtensionAttributes/extensionAttribute14', + 'onPremisesExtensionAttributes/extensionAttribute15', + 'onPremisesExtensionAttributes/extensionAttribute2', + 'onPremisesExtensionAttributes/extensionAttribute3', + 'onPremisesExtensionAttributes/extensionAttribute4', + 'onPremisesExtensionAttributes/extensionAttribute5', + 'onPremisesExtensionAttributes/extensionAttribute6', + 'onPremisesExtensionAttributes/extensionAttribute7', + 'onPremisesExtensionAttributes/extensionAttribute8', + 'onPremisesExtensionAttributes/extensionAttribute9', + 'onPremisesSecurityIdentifier', + 'onPremisesSyncEnabled', + 'passwordPolicies', + 'passwordProfile/forceChangePasswordNextSignIn', + 'passwordProfile/forceChangePasswordNextSignInWithMfa', + 'postalCode', + 'preferredLanguage', + 'state', + 'streetAddress', + 'surname', + 'usageLocation', + 'userType' + ) + } + + # Initialize a flag to indicate whether the filter conditions match the attribute support + $allConditionsMatched = $true + + # Check each condition in the filter against the support list + # Assuming the provided PowerShell script is part of a larger context and the variable $Filter is defined elsewhere + + # Check if $Filter is not null + if ($Filter) { + # Check each condition in the filter against the support list + foreach ($condition in $Filter.Split(' ')) { + if ($condition -match '(\w+)/(\w+):(\w+)') { + $attribute, $operation, $value = $matches[1], $matches[2], $matches[3] + if (-not $queryTypes.ContainsKey($operation) -or -not $queryTypes[$operation].Contains($attribute)) { + $allConditionsMatched = $false + break + } + } + } + } + + # If all conditions match the support, add parameters to $ExportParameters + if ($allConditionsMatched -or $Filter -like '*endsWith*') { $ExportParameters.Add('CountVariable', 'count') $ExportParameters.Add('ConsistencyLevel', 'eventual') diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOCalendarProcessing/MSFT_EXOCalendarProcessing.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOCalendarProcessing/MSFT_EXOCalendarProcessing.schema.mof index e6a16198d6..804b5c1864 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOCalendarProcessing/MSFT_EXOCalendarProcessing.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOCalendarProcessing/MSFT_EXOCalendarProcessing.schema.mof @@ -39,7 +39,8 @@ class MSFT_EXOCalendarProcessing : OMI_BaseResource [Write, Description("The RequestOutOfPolicy parameter specifies users who are allowed to submit out-of-policy requests that require approval by a resource mailbox delegate. You can use any value that uniquely identifies the user. ")] String RequestOutOfPolicy[]; [Write, Description("The ResourceDelegates parameter specifies users can approve or reject requests that are sent to the resource mailbox. You can use any value that uniquely identifies the user. ")] String ResourceDelegates[]; [Write, Description("The ScheduleOnlyDuringWorkHours parameter specifies whether to allow meetings to be scheduled outside of the working hours that are defined for the resource mailbox.")] Boolean ScheduleOnlyDuringWorkHours; - [Write, Description("The TentativePendingApproval parameter specifies whether to mark pending requests as tentative on the calendar.")] Boolean TentativePendingApproval;[Write, Description("Credentials of the Exchange Global Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; + [Write, Description("The TentativePendingApproval parameter specifies whether to mark pending requests as tentative on the calendar.")] Boolean TentativePendingApproval; + [Write, Description("Credentials of the Exchange Global Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; [Write, Description("Determines wether or not the instance exist."), ValueMap{"Present"}, Values{"Present"}] String Ensure; [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; [Write, Description("Id of the Azure Active Directory tenant used for authentication.")] String TenantId; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXODistributionGroup/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_EXODistributionGroup/settings.json index df465f703b..a086fefb07 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXODistributionGroup/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXODistributionGroup/settings.json @@ -1,5 +1,5 @@ { - "resourceName": "EXOAddressList", + "resourceName": "EXODistributionGroup", "roles": { "read": [], "update": [ diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOGroupSettings/MSFT_EXOGroupSettings.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOGroupSettings/MSFT_EXOGroupSettings.schema.mof index 5e8f2b60c2..46c18ca110 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOGroupSettings/MSFT_EXOGroupSettings.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOGroupSettings/MSFT_EXOGroupSettings.schema.mof @@ -38,7 +38,7 @@ class MSFT_EXOGroupSettings : OMI_BaseResource [Write, Description("The HiddenFromExchangeClientsEnabled switch specifies whether the Microsoft 365 Group is hidden from Outlook clients connected to Microsoft 365.")] boolean HiddenFromExchangeClientsEnabled; [Write, Description("The InformationBarrierMode parameter specifies the information barrier mode for the Microsoft 365 Group."), ValueMap{"Explicit","Implicit","Open","OwnerModerated"}, Values{"Explicit","Implicit","Open","OwnerModerated"}] string InformationBarrierMode; [Write, Description("This parameter specifies whether or not members are allow to edit content.")] boolean IsMemberAllowedToEditContent; - [Write, Description("The Language parameter specifies language preference for the Microsoft 365 Group.")]string Language; + [Write, Description("The Language parameter specifies language preference for the Microsoft 365 Group.")] string Language; [Write, Description("The MailboxRegion parameter specifies the preferred data location (PDL) for the Microsoft 365 Group in multi-geo environments.")] string MailboxRegion; [Write, Description("The MailTip parameter specifies the custom MailTip text for this recipient. The MailTip is shown to senders when they start drafting an email message to this recipient. ")] string MailTip; [Write, Description("The MailTipTranslations parameter specifies additional languages for the custom MailTip text that's defined by the MailTip parameter.")] string MailTipTranslations; @@ -50,7 +50,7 @@ class MSFT_EXOGroupSettings : OMI_BaseResource [Write, Description("The PrimarySmtpAddress parameter specifies the primary return email address that's used for the recipient. You can't use the EmailAddresses and PrimarySmtpAddress parameters in the same command.")] string PrimarySmtpAddress; [Write, Description("The RejectMessagesFromSendersOrMembers parameter specifies who isn't allowed to send messages to this recipient. Messages from these senders are rejected.")] string RejectMessagesFromSendersOrMembers[]; [Write, Description("The RequireSenderAuthenticationEnabled parameter specifies whether to accept messages only from authenticated (internal) senders. ")] boolean RequireSenderAuthenticationEnabled; - [Write, Description("The SensitivityLabelId parameter specifies the GUID value of the sensitivity label that's assigned to the Microsoft 365 Group.")] string SensitivityLabelId ; + [Write, Description("The SensitivityLabelId parameter specifies the GUID value of the sensitivity label that's assigned to the Microsoft 365 Group.")] string SensitivityLabelId; [Write, Description("The SubscriptionEnabled switch specifies whether the group owners can enable subscription to conversations and calendar events on the groups they own. ")] boolean SubscriptionEnabled; [Write, Description("The UnifiedGroupWelcomeMessageEnabled switch specifies whether to enable or disable sending system-generated welcome messages to users who are added as members to the Microsoft 365 Group.")] boolean UnifiedGroupWelcomeMessageEnabled; [Write, Description("Credentials of the Exchange Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; @@ -61,4 +61,3 @@ class MSFT_EXOGroupSettings : OMI_BaseResource [Write, Description("Path to certificate used in service principal usually a PFX file.")] String CertificatePath; [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity; }; - diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailContact/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailContact/settings.json index de25bfe824..ce5e8f0a19 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailContact/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailContact/settings.json @@ -1,5 +1,5 @@ { - "resourceName": "EXOAddressList", + "resourceName": "EXOMailContact", "description": "", "roles": { "read": [ diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailTips/MSFT_EXOMailTips.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailTips/MSFT_EXOMailTips.psm1 index caaad88c9f..8cdca73ed4 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailTips/MSFT_EXOMailTips.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailTips/MSFT_EXOMailTips.psm1 @@ -6,7 +6,8 @@ function Get-TargetResource ( [Parameter(Mandatory = $true)] [System.String] - $Organization, + [ValidateSet('Yes')] + $IsSingleInstance, [Parameter()] [System.Boolean] @@ -62,7 +63,7 @@ function Get-TargetResource $ManagedIdentity ) - Write-Verbose -Message "Getting configuration of Mailtips for $Organization" + Write-Verbose -Message "Getting configuration of Mailtips" if ($Global:CurrentModeIsExport) { $ConnectionMode = New-M365DSCConnection -Workload 'ExchangeOnline' ` @@ -101,7 +102,7 @@ function Get-TargetResource } $result = @{ - Organization = $Organization + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $OrgConfig.MailTipsAllTipsEnabled MailTipsGroupMetricsEnabled = $OrgConfig.MailTipsGroupMetricsEnabled MailTipsLargeAudienceThreshold = $OrgConfig.MailTipsLargeAudienceThreshold @@ -117,7 +118,6 @@ function Get-TargetResource TenantId = $TenantId } - Write-Verbose -Message "Found configuration of the Mailtips for $($Organization)" return $result } catch @@ -140,7 +140,8 @@ function Set-TargetResource ( [Parameter(Mandatory = $true)] [System.String] - $Organization, + [ValidateSet('Yes')] + $IsSingleInstance, [Parameter()] [System.Boolean] @@ -196,7 +197,7 @@ function Set-TargetResource $ManagedIdentity ) - Write-Verbose -Message "Setting configuration of Mailtips for $Organization" + Write-Verbose -Message "Setting configuration of Mailtips" #Ensure the proper dependencies are installed in the current environment. Confirm-M365DSCDependencies @@ -219,31 +220,31 @@ function Set-TargetResource if ($PSBoundParameters.ContainsKey('MailTipsAllTipsEnabled')) { - Write-Verbose -Message "Setting Mailtips for $($Organization) to $($MailTipsAllTipsEnabled)" + Write-Verbose -Message "Setting Mailtips to $($MailTipsAllTipsEnabled)" Set-OrganizationConfig -MailTipsAllTipsEnabled $MailTipsAllTipsEnabled } # CASE : MailTipsGroupMetricsEnabled is used if ($PSBoundParameters.ContainsKey('MailTipsGroupMetricsEnabled')) { - Write-Verbose -Message "Setting Mailtips for Group Metrics of $($Organization) to $($MailTipsGroupMetricsEnabled)" + Write-Verbose -Message "Setting Mailtips for Group Metrics to $($MailTipsGroupMetricsEnabled)" Set-OrganizationConfig -MailTipsGroupMetricsEnabled $MailTipsGroupMetricsEnabled } # CASE : MailTipsLargeAudienceThreshold is used if ($PSBoundParameters.ContainsKey('MailTipsLargeAudienceThreshold')) { - Write-Verbose -Message "Setting Mailtips for Large Audience of $($Organization) to $($MailTipsLargeAudienceThreshold)" + Write-Verbose -Message "Setting Mailtips for Large Audience to $($MailTipsLargeAudienceThreshold)" Set-OrganizationConfig -MailTipsLargeAudienceThreshold $MailTipsLargeAudienceThreshold } # CASE : MailTipsMailboxSourcedTipsEnabled is used if ($PSBoundParameters.ContainsKey('MailTipsMailboxSourcedTipsEnabled')) { - Write-Verbose -Message "Setting Mailtips for Mailbox Data (OOF/Mailbox Full) of $($Organization) to $($MailTipsMailboxSourcedTipsEnabled)" + Write-Verbose -Message "Setting Mailtips for Mailbox Data (OOF/Mailbox Full) to $($MailTipsMailboxSourcedTipsEnabled)" Set-OrganizationConfig -MailTipsMailboxSourcedTipsEnabled $MailTipsMailboxSourcedTipsEnabled } # CASE : MailTipsExternalRecipientsTipsEnabled is used if ($PSBoundParameters.ContainsKey('MailTipsExternalRecipientsTipsEnabled')) { - Write-Verbose -Message "Setting Mailtips for External Users of $($Organization) to $($MailTipsExternalRecipientsTipsEnabled)" + Write-Verbose -Message "Setting Mailtips for External Users to $($MailTipsExternalRecipientsTipsEnabled)" Set-OrganizationConfig -MailTipsExternalRecipientsTipsEnabled $MailTipsExternalRecipientsTipsEnabled } } @@ -256,7 +257,8 @@ function Test-TargetResource ( [Parameter(Mandatory = $true)] [System.String] - $Organization, + [ValidateSet('Yes')] + $IsSingleInstance, [Parameter()] [System.Boolean] @@ -324,7 +326,7 @@ function Test-TargetResource Add-M365DSCTelemetryEvent -Data $data #endregion - Write-Verbose -Message "Testing configuration of Mailtips for $Organization" + Write-Verbose -Message "Testing configuration of Mailtips" $CurrentValues = Get-TargetResource @PSBoundParameters @@ -398,20 +400,9 @@ function Export-TargetResource try { - $OrganizationName = '' - if ($ConnectionMode -like 'ServicePrincipal*') - { - $OrganizationName = Get-M365DSCTenantDomain -ApplicationId $ApplicationId ` - -TenantId $TenantId ` - -CertificateThumbprint $CertificateThumbprint - } - else - { - $OrganizationName = $Credential.UserName.Split('@')[1] - } $Params = @{ Credential = $Credential - Organization = $OrganizationName + IsSingleInstance = 'Yes' ApplicationId = $ApplicationId TenantId = $TenantId CertificateThumbprint = $CertificateThumbprint diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailTips/MSFT_EXOMailTips.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailTips/MSFT_EXOMailTips.schema.mof index 070d9c825d..84b683c9f2 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailTips/MSFT_EXOMailTips.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailTips/MSFT_EXOMailTips.schema.mof @@ -2,7 +2,7 @@ [ClassVersion("1.0.0.0"), FriendlyName("EXOMailTips")] class MSFT_EXOMailTips : OMI_BaseResource { - [Key, Description("Specify the name of your organization.")] String Organization; + [Key, Description("Only valid value is 'Yes'."), ValueMap{"Yes"}, Values{"Yes"}] String IsSingleInstance; [Write, Description("Specifies whether MailTips are enabled.")] Boolean MailTipsAllTipsEnabled; [Write, Description("Specifies whether MailTips that rely on group metrics data are enabled.")] Boolean MailTipsGroupMetricsEnabled; [Write, Description("Specifies what a large audience is.")] UInt32 MailTipsLargeAudienceThreshold; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMessageClassification/MSFT_EXOMessageClassification.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMessageClassification/MSFT_EXOMessageClassification.schema.mof index 93b8acf3aa..a95a8e0132 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMessageClassification/MSFT_EXOMessageClassification.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOMessageClassification/MSFT_EXOMessageClassification.schema.mof @@ -2,13 +2,13 @@ class MSFT_EXOMessageClassification : OMI_BaseResource { [Key, Description("The Identity parameter specifies the OME Configuration policy that you want to modify.")] String Identity; - [Write, Description("The ClassificationID parameter specifies the classification ID (GUID) of an existing message classification that you want to import and use in your Exchange organization.")] String ClassificationID ; + [Write, Description("The ClassificationID parameter specifies the classification ID (GUID) of an existing message classification that you want to import and use in your Exchange organization.")] String ClassificationID; [Write, Description("The DisplayName parameter specifies the title of the message classification that's displayed in Outlook and selected by users.")] String DisplayName; [Write, Description("The DisplayPrecedence parameter specifies the relative precedence of the message classification to other message classifications that may be applied to a specified message."), ValueMap{"Highest","Higher","High","MediumHigh","Medium","MediumLow","Low","Lower","Lowest"}, Values{"Highest","Higher","High","MediumHigh","Medium","MediumLow","Low","Lower","Lowest"}] String DisplayPrecedence; [Write, Description("The Name parameter specifies the unique name for the message classification.")] String Name; [Write, Description("The PermissionMenuVisible parameter specifies whether the values that you entered for the DisplayName and RecipientDescription parameters are displayed in Outlook as the user composes a message. ")] Boolean PermissionMenuVisible; [Write, Description("The RecipientDescription parameter specifies the detailed text that's shown to Outlook recipient when they receive a message that has the message classification applied.")] String RecipientDescription; - [Write, Description("The RetainClassificationEnabled parameter specifies whether the message classification should persist with the message if the message is forwarded or replied to.")] Boolean RetainClassificationEnabled ; + [Write, Description("The RetainClassificationEnabled parameter specifies whether the message classification should persist with the message if the message is forwarded or replied to.")] Boolean RetainClassificationEnabled; [Write, Description("The SenderDescription parameter specifies the detailed text that's shown to Outlook senders when they select a message classification to apply to a message before they send the message. ")] String SenderDescription; [Write, Description("Specifies if this Outbound connector should exist."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Credentials of the Exchange Global Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOOMEConfiguration/MSFT_EXOOMEConfiguration.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOOMEConfiguration/MSFT_EXOOMEConfiguration.schema.mof index 75c9c033b4..19e7f08c45 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOOMEConfiguration/MSFT_EXOOMEConfiguration.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOOMEConfiguration/MSFT_EXOOMEConfiguration.schema.mof @@ -8,7 +8,7 @@ class MSFT_EXOOMEConfiguration : OMI_BaseResource [Write, Description("The ExternalMailExpiryInDays parameter specifies the number of days that the encrypted message is available to external recipients in the Microsoft 365 portal. A valid value is an integer from 0 to 730.")] UInt32 ExternalMailExpiryInDays; [Write, Description("The IntroductionText parameter specifies the default text that accompanies encrypted email messages.")] String IntroductionText; [Write, Description("The OTPEnabled parameter specifies whether to allow recipients to use a one-time passcode to view encrypted messages.")] Boolean OTPEnabled; - [Write, Description("The PortalText parameter specifies the text that appears at the top of the encrypted email viewing portal.")] String PortalText ; + [Write, Description("The PortalText parameter specifies the text that appears at the top of the encrypted email viewing portal.")] String PortalText; [Write, Description("The PrivacyStatementUrl parameter specifies the Privacy Statement link in the encrypted email notification message.")] String PrivacyStatementUrl; [Write, Description("The ReadButtonText parameter specifies the text that appears on the 'Read the message' button. ")] String ReadButtonText; [Write, Description("The SocialIdSignIn parameter specifies whether a user is allowed to view an encrypted message in the Microsoft 365 admin center using their own social network id (Google, Yahoo, and Microsoft account).")] Boolean SocialIdSignIn; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.psm1 index 67ee277119..4ea2f43ebb 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.psm1 @@ -530,7 +530,7 @@ function Get-TargetResource $PrependSubject, [Parameter()] - [System.String] + [System.UInt32] $Priority, [Parameter()] @@ -1507,7 +1507,7 @@ function Set-TargetResource $PrependSubject, [Parameter()] - [System.String] + [System.UInt32] $Priority, [Parameter()] @@ -2316,7 +2316,7 @@ function Test-TargetResource $PrependSubject, [Parameter()] - [System.String] + [System.UInt32] $Priority, [Parameter()] diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.schema.mof index d97a4e60e3..6d3d18fcdc 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportRule/MSFT_EXOTransportRule.schema.mof @@ -128,7 +128,7 @@ class MSFT_EXOTransportRule : OMI_BaseResource [Write, Description("The ModerateMessageByUser parameter specifies an action that forwards messages for approval to the specified users.")] String ModerateMessageByUser[]; [Write, Description("DEPRECATED"), ValueMap{"NotifyOnly","RejectMessage","RejectUnlessFalsePositiveOverride","RejectUnlessSilentOverride","RejectUnlessExplicitOverride"}, Values{"NotifyOnly","RejectMessage","RejectUnlessFalsePositiveOverride","RejectUnlessSilentOverride","RejectUnlessExplicitOverride"}] String NotifySender; [Write, Description("The PrependSubject parameter specifies an action that adds text to add to the beginning of the Subject field of messages.")] String PrependSubject; - [Write, Description("The Priority parameter specifies a priority value for the rule that determines the order of rule processing.")] String Priority; + [Write, Description("The Priority parameter specifies a priority value for the rule that determines the order of rule processing.")] UInt32 Priority; [Write, Description("The Quarantine parameter specifies an action that quarantines messages.")] Boolean Quarantine; [Write, Description("The RecipientADAttributeContainsWords parameter specifies a condition that looks for words in the Active Directory attributes of recipients. ")] String RecipientADAttributeContainsWords[]; [Write, Description("The RecipientADAttributeMatchesPatterns parameter specifies a condition that looks for text patterns in the Active Directory attributes of recipients by using regular expressions.")] String RecipientADAttributeMatchesPatterns[]; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneASRRulesPolicyWindows10/MSFT_IntuneASRRulesPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneASRRulesPolicyWindows10/MSFT_IntuneASRRulesPolicyWindows10.psm1 index 5d7db7ea9e..21fa1c516f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneASRRulesPolicyWindows10/MSFT_IntuneASRRulesPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneASRRulesPolicyWindows10/MSFT_IntuneASRRulesPolicyWindows10.psm1 @@ -755,7 +755,7 @@ function Test-TargetResource $ValuesToCheck.Remove('Identity') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.psm1 index d4f7dfbf59..9df45b323c 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy/MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy.psm1 @@ -590,7 +590,7 @@ function Test-TargetResource $ValuesToCheck.Remove('ApplicationSecret') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicy/MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicy/MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicy.psm1 index e29a872555..6399431955 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicy/MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicy/MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicy.psm1 @@ -421,7 +421,7 @@ function Test-TargetResource $ValuesToCheck.Remove('Identity') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionPolicy/MSFT_IntuneAccountProtectionPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionPolicy/MSFT_IntuneAccountProtectionPolicy.psm1 index 4efcd196ee..62d941924a 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionPolicy/MSFT_IntuneAccountProtectionPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAccountProtectionPolicy/MSFT_IntuneAccountProtectionPolicy.psm1 @@ -617,7 +617,7 @@ function Test-TargetResource $ValuesToCheck.Remove('Verbose') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.psm1 index a0aebd0e44..c0911705a4 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.psm1 @@ -31,6 +31,11 @@ function Get-TargetResource [System.String] $allowcloudprotection, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $allowdatagramprocessingonwinserver, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -56,6 +61,11 @@ function Get-TargetResource [System.String] $allowioavprotection, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $allownetworkprotectiondownlevel, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -101,6 +111,7 @@ function Get-TargetResource [Parameter()] [System.Int32] $daystoretaincleanedmalware, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -121,6 +132,11 @@ function Get-TargetResource [System.String] $disabledevicesecurityui, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $disablednsovertcpparsing, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -136,6 +152,11 @@ function Get-TargetResource [System.String] $disablehealthui, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $disablehttpparsing, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -515,6 +536,11 @@ function Set-TargetResource [System.String] $allowcloudprotection, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $allowdatagramprocessingonwinserver, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -540,6 +566,11 @@ function Set-TargetResource [System.String] $allowioavprotection, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $allownetworkprotectiondownlevel, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -585,6 +616,7 @@ function Set-TargetResource [Parameter()] [System.Int32] $daystoretaincleanedmalware, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -605,6 +637,11 @@ function Set-TargetResource [System.String] $disabledevicesecurityui, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $disablednsovertcpparsing, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -620,6 +657,11 @@ function Set-TargetResource [System.String] $disablehealthui, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $disablehttpparsing, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -951,6 +993,11 @@ function Test-TargetResource [System.String] $allowcloudprotection, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $allowdatagramprocessingonwinserver, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -976,6 +1023,11 @@ function Test-TargetResource [System.String] $allowioavprotection, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $allownetworkprotectiondownlevel, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -1021,6 +1073,7 @@ function Test-TargetResource [Parameter()] [System.Int32] $daystoretaincleanedmalware, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -1041,6 +1094,11 @@ function Test-TargetResource [System.String] $disabledevicesecurityui, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $disablednsovertcpparsing, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -1056,6 +1114,11 @@ function Test-TargetResource [System.String] $disablehealthui, + [Parameter()] + [ValidateSet('0', '1')] + [System.String] + $disablehttpparsing, + [Parameter()] [ValidateSet('0', '1')] [System.String] @@ -1268,6 +1331,7 @@ function Test-TargetResource [Switch] $ManagedIdentity ) + #Ensure the proper dependencies are installed in the current environment. Confirm-M365DSCDependencies @@ -1295,7 +1359,7 @@ function Test-TargetResource $ValuesToCheck.Remove('Identity') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.schema.mof index d43d32fb6c..3c7370cd85 100644 Binary files a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.schema.mof and b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog/MSFT_IntuneAntivirusPolicyWindows10SettingCatalog.schema.mof differ diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAppConfigurationPolicy/MSFT_IntuneAppConfigurationPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAppConfigurationPolicy/MSFT_IntuneAppConfigurationPolicy.psm1 index de530f8d76..ec6778f1b6 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAppConfigurationPolicy/MSFT_IntuneAppConfigurationPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAppConfigurationPolicy/MSFT_IntuneAppConfigurationPolicy.psm1 @@ -365,48 +365,40 @@ function Test-TargetResource Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)" Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $PSBoundParameters)" - $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { - $testResult = $false + Write-Verbose -Message "Test-TargetResource returned $false" + return $false } + $testResult = $true - $ValuesToCheck = $PSBoundParameters - $ValuesToCheck.Remove('Credential') | Out-Null - $ValuesToCheck.Remove('ApplicationId') | Out-Null - $ValuesToCheck.Remove('TenantId') | Out-Null - $ValuesToCheck.Remove('ApplicationSecret') | Out-Null - $ValuesToCheck.Remove('CustomSettings') | Out-Null - - #region CustomSettings - if ($testResult) + #Compare Cim instances + foreach ($key in $PSBoundParameters.Keys) { - $source = $PSBoundParameters.CustomSettings - $target = $CurrentValues.CustomSettings + $source = $PSBoundParameters.$key + $target = $CurrentValues.$key + if ($source.getType().Name -like '*CimInstance*') + { + $source = Get-M365DSCDRGComplexTypeToHashtable -ComplexObject $source - $source = Get-M365DSCDRGComplexTypeToHashtable -ComplexObject $source - $testResult = Compare-M365DSCComplexObject ` - -Source ($source) ` - -Target ($target) + $testResult = Compare-M365DSCComplexObject ` + -Source ($source) ` + -Target ($target) - if (-Not $testResult) - { - $testResult = $false - break - } - $ValuesToCheck.Remove('CustomSettings') | Out-Null - } - #endregion + if ($key -eq 'Assignments') + { + $testResult = Compare-M365DSCIntunePolicyAssignment -Source $source -Target $target + } - #region Assignments - if ($testResult) - { - $source = Get-M365DSCDRGComplexTypeToHashtable -ComplexObject $PSBoundParameters.Assignments - $target = $CurrentValues.Assignments - $testResult = Compare-M365DSCIntunePolicyAssignment -Source $source -Target $target - $ValuesToCheck.Remove('Assignments') | Out-Null + if (-Not $testResult) + { + $testResult = $false + break + } + + $ValuesToCheck.Remove($key) | Out-Null + } } - #endregion if ($testResult) { @@ -415,6 +407,7 @@ function Test-TargetResource -DesiredValues $PSBoundParameters ` -ValuesToCheck $ValuesToCheck.Keys } + Write-Verbose -Message "Test-TargetResource returned $TestResult" return $TestResult diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneApplicationControlPolicyWindows10/MSFT_IntuneApplicationControlPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneApplicationControlPolicyWindows10/MSFT_IntuneApplicationControlPolicyWindows10.psm1 index 3f7a12d3d9..0a0a25f8d5 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneApplicationControlPolicyWindows10/MSFT_IntuneApplicationControlPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneApplicationControlPolicyWindows10/MSFT_IntuneApplicationControlPolicyWindows10.psm1 @@ -389,7 +389,7 @@ function Test-TargetResource $ValuesToCheck.Remove('ApplicationSecret') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceAndAppManagementAssignmentFilter/MSFT_IntuneDeviceAndAppManagementAssignmentFilter.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceAndAppManagementAssignmentFilter/MSFT_IntuneDeviceAndAppManagementAssignmentFilter.psm1 index 1c043b3278..cb05e14141 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceAndAppManagementAssignmentFilter/MSFT_IntuneDeviceAndAppManagementAssignmentFilter.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceAndAppManagementAssignmentFilter/MSFT_IntuneDeviceAndAppManagementAssignmentFilter.psm1 @@ -314,12 +314,12 @@ function Test-TargetResource $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false } - if ($CurrentValues.Ensure -eq 'Absent' -and $PSBoundParameters.Ensure -eq 'Absent') + if ($CurrentValues.Ensure -eq 'Absent' -and $Ensure -eq 'Absent') { Write-Verbose -Message "Test-TargetResource returned $true" return $true diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroid/MSFT_IntuneDeviceCompliancePolicyAndroid.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroid/MSFT_IntuneDeviceCompliancePolicyAndroid.psm1 index 49d3415dd6..5e0f92ba7e 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroid/MSFT_IntuneDeviceCompliancePolicyAndroid.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroid/MSFT_IntuneDeviceCompliancePolicyAndroid.psm1 @@ -723,7 +723,7 @@ function Test-TargetResource $ValuesToCheck.Remove('ApplicationSecret') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroid/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroid/settings.json index f744b68ee9..6ce0bedcec 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroid/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroid/settings.json @@ -1,5 +1,5 @@ { - "resourceName": "IntuneAndroidDeviceCompliancePolicy", + "resourceName": "IntuneDeviceCompliancePolicyAndroid", "description": "This resource configures the settings of Android device compliance policies in your cloud-based organization.", "permissions": { "graph": { diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroidDeviceOwner/MSFT_IntuneDeviceCompliancePolicyAndroidDeviceOwner.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroidDeviceOwner/MSFT_IntuneDeviceCompliancePolicyAndroidDeviceOwner.psm1 index d52429d287..93d9cad4ce 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroidDeviceOwner/MSFT_IntuneDeviceCompliancePolicyAndroidDeviceOwner.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroidDeviceOwner/MSFT_IntuneDeviceCompliancePolicyAndroidDeviceOwner.psm1 @@ -575,7 +575,7 @@ function Test-TargetResource $ValuesToCheck.Remove('ManagedIdentity') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroidWorkProfile/MSFT_IntuneDeviceCompliancePolicyAndroidWorkProfile.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroidWorkProfile/MSFT_IntuneDeviceCompliancePolicyAndroidWorkProfile.psm1 index 5f38012691..4d481a0e00 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroidWorkProfile/MSFT_IntuneDeviceCompliancePolicyAndroidWorkProfile.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyAndroidWorkProfile/MSFT_IntuneDeviceCompliancePolicyAndroidWorkProfile.psm1 @@ -685,7 +685,7 @@ function Test-TargetResource $ValuesToCheck.Remove('ApplicationSecret') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyMacOS/MSFT_IntuneDeviceCompliancePolicyMacOS.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyMacOS/MSFT_IntuneDeviceCompliancePolicyMacOS.psm1 index 537f689115..51643cd0b0 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyMacOS/MSFT_IntuneDeviceCompliancePolicyMacOS.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyMacOS/MSFT_IntuneDeviceCompliancePolicyMacOS.psm1 @@ -633,7 +633,7 @@ function Test-TargetResource $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyWindows10/MSFT_IntuneDeviceCompliancePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyWindows10/MSFT_IntuneDeviceCompliancePolicyWindows10.psm1 index ca8a3c3d06..8f82ec9b76 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyWindows10/MSFT_IntuneDeviceCompliancePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyWindows10/MSFT_IntuneDeviceCompliancePolicyWindows10.psm1 @@ -274,7 +274,6 @@ function Get-TargetResource -Source $($MyInvocation.MyCommand.Source) ` -TenantId $TenantId ` -Credential $Credential - $nullResult = Clear-M365DSCAuthenticationParameter -BoundParameters $nullResult return $nullResult } @@ -506,16 +505,13 @@ function Set-TargetResource -AdditionalProperties $AdditionalProperties ` -ScheduledActionsForRule $scheduledActionsForRule - $assignmentsHash = @() - foreach ($assignment in $Assignments) + if ($Assignments.Count -gt 0) { - $assignmentsHash += Get-M365DSCAssignmentsAsHashtable -CIMAssignment $Assignment - + $assignmentsHash = Convert-M365DSCDRGComplexTypeToHashtable -ComplexObject $Assignments + Update-DeviceConfigurationPolicyAssignment -DeviceConfigurationPolicyId $policy.id ` + -Targets $assignmentsHash ` + -Repository 'deviceManagement/deviceCompliancePolicies' } - Update-M365DSCDeviceManagementPolicyAssignments -DeviceManagementPolicyId $policy.id ` - -Targets $assignmentsHash ` - -Repository deviceCompliancePolicies - } elseif ($Ensure -eq 'Present' -and $currentDeviceWindows10Policy.Ensure -eq 'Present') { @@ -534,15 +530,13 @@ function Set-TargetResource -Description $Description ` -DeviceCompliancePolicyId $configDevicePolicy.Id - $assignmentsHash = @() - foreach ($assignment in $Assignments) + if ($Assignments.Count -gt 0) { - $assignmentsHash += Get-M365DSCAssignmentsAsHashtable -CIMAssignment $Assignment - + $assignmentsHash = Convert-M365DSCDRGComplexTypeToHashtable -ComplexObject $Assignments + Update-DeviceConfigurationPolicyAssignment -DeviceConfigurationPolicyId $configDevicePolicy.id ` + -Targets $assignmentsHash ` + -Repository 'deviceManagement/deviceCompliancePolicies' } - Update-M365DSCDeviceManagementPolicyAssignments -DeviceManagementPolicyId $configDevicePolicy.id ` - -Targets $assignmentsHash ` - -Repository deviceCompliancePolicies } elseif ($Ensure -eq 'Absent' -and $currentDeviceWindows10Policy.Ensure -eq 'Present') { @@ -765,7 +759,7 @@ function Test-TargetResource $ValuesToCheck.Remove('ApplicationSecret') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } @@ -876,7 +870,6 @@ function Export-TargetResource throw "An error occured in Get-TargetResource, the policy {$($params.displayName)} will not be processed. Refer to the event viewer logs for more information." } - $Results = Update-M365DSCExportAuthenticationResults -ConnectionMode $ConnectionMode ` -Results $Results if ($Results.Assignments) @@ -896,7 +889,6 @@ function Export-TargetResource -ModulePath $PSScriptRoot ` -Results $Results ` -Credential $Credential - if ($Results.Assignments) { $isCIMArray = $false @@ -1039,127 +1031,5 @@ function Get-M365DSCAssignmentsAsHashtable } return $CIMAssignmentAsHash } -function Get-M365DSCDeviceManagementPolicyAssignments -{ - [CmdletBinding()] - param ( - [Parameter(Mandatory = 'true')] - [System.String] - $DeviceManagementPolicyId, - - [Parameter()] - [ValidateSet('deviceCompliancePolicies', 'intents', 'configurationPolicies')] - [System.String] - $Repository = 'configurationPolicies' - ) - try - { - $deviceManagementPolicyAssignments = @() - - $Uri = "https://graph.microsoft.com/beta/deviceManagement/$Repository/$DeviceManagementPolicyId/assignments" - $results = Invoke-MgGraphRequest -Method GET -Uri $Uri -ErrorAction Stop - foreach ($result in $results.value.target) - { - $deviceManagementPolicyAssignments += @{ - dataType = $result.'@odata.type' - groupId = $result.groupId - collectionId = $result.collectionId - deviceAndAppManagementAssignmentFilterType = $result.deviceAndAppManagementAssignmentFilterType - deviceAndAppManagementAssignmentFilterId = $result.deviceAndAppManagementAssignmentFilterId - } - } - - while ($results.'@odata.nextLink') - { - $Uri = $results.'@odata.nextLink' - $results = Invoke-MgGraphRequest -Method GET -Uri $Uri -ErrorAction Stop - foreach ($result in $results.value.target) - { - $deviceManagementPolicyAssignments += @{ - dataType = $result.'@odata.type' - groupId = $result.groupId - collectionId = $result.collectionId - deviceAndAppManagementAssignmentFilterType = $result.deviceAndAppManagementAssignmentFilterType - deviceAndAppManagementAssignmentFilterId = $result.deviceAndAppManagementAssignmentFilterId - } - } - } - return $deviceManagementPolicyAssignments - } - catch - { - New-M365DSCLogEntry -Message 'Error retrieving data:' ` - -Exception $_ ` - -Source $($MyInvocation.MyCommand.Source) ` - -TenantId $TenantId ` - -Credential $Credential - - return $null - } -} - -function Update-M365DSCDeviceManagementPolicyAssignments -{ - [CmdletBinding()] - [OutputType([System.Collections.Hashtable])] - param - ( - [Parameter(Mandatory = 'true')] - [System.String] - $DeviceManagementPolicyId, - - [Parameter()] - [Array] - $Targets, - - [Parameter()] - [ValidateSet('deviceCompliancePolicies', 'intents', 'configurationPolicies')] - [System.String] - $Repository = 'configurationPolicies' - ) - - try - { - $deviceManagementPolicyAssignments = @() - - $Uri = "https://graph.microsoft.com/beta/deviceManagement/$Repository/$DeviceManagementPolicyId/assign" - - foreach ($target in $targets) - { - $formattedTarget = @{'@odata.type' = $target.dataType } - if ($target.groupId) - { - $formattedTarget.Add('groupId', $target.groupId) - } - if ($target.collectionId) - { - $formattedTarget.Add('collectionId', $target.collectionId) - } - if ($target.deviceAndAppManagementAssignmentFilterType) - { - $formattedTarget.Add('deviceAndAppManagementAssignmentFilterType', $target.deviceAndAppManagementAssignmentFilterType) - } - if ($target.deviceAndAppManagementAssignmentFilterId) - { - $formattedTarget.Add('deviceAndAppManagementAssignmentFilterId', $target.deviceAndAppManagementAssignmentFilterId) - } - $deviceManagementPolicyAssignments += @{'target' = $formattedTarget } - } - $body = @{'assignments' = $deviceManagementPolicyAssignments } | ConvertTo-Json -Depth 20 - #write-verbose -Message $body - Invoke-MgGraphRequest -Method POST -Uri $Uri -Body $body -ErrorAction Stop - - } - catch - { - New-M365DSCLogEntry -Message 'Error updating data:' ` - -Exception $_ ` - -Source $($MyInvocation.MyCommand.Source) ` - -TenantId $TenantId ` - -Credential $Credential - - return $null - } -} -Export-ModuleMember -Function *-TargetResource, * +Export-ModuleMember -Function *-TargetResource diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyiOs/MSFT_IntuneDeviceCompliancePolicyiOs.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyiOs/MSFT_IntuneDeviceCompliancePolicyiOs.psm1 index be6be2df95..e70cb3631c 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyiOs/MSFT_IntuneDeviceCompliancePolicyiOs.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceCompliancePolicyiOs/MSFT_IntuneDeviceCompliancePolicyiOs.psm1 @@ -616,7 +616,7 @@ function Test-TargetResource $ValuesToCheck.Remove('ApplicationSecret') | Out-Null $testResult = $true - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { $testResult = $false } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10/MSFT_IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10/MSFT_IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10.psm1 index 144f52df92..3b933592e6 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10/MSFT_IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10/MSFT_IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10.psm1 @@ -675,7 +675,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 index 4586beaf3f..e1dedb4961 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10/MSFT_IntuneDeviceConfigurationCustomPolicyWindows10.psm1 @@ -457,7 +457,7 @@ function Test-TargetResource } $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10/MSFT_IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10/MSFT_IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10.psm1 index c5ea49acb8..6ee9ab4923 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10/MSFT_IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10/MSFT_IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10.psm1 @@ -455,7 +455,7 @@ function Test-TargetResource } $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10/MSFT_IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10/MSFT_IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10.psm1 index ce5217efc4..d5cc43d318 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10/MSFT_IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10/MSFT_IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10.psm1 @@ -689,7 +689,7 @@ function Test-TargetResource $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10/MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10/MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10.psm1 index 627f2bd758..319cce264d 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10/MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10/MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10.psm1 @@ -429,7 +429,7 @@ function Test-TargetResource } $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationEmailProfilePolicyWindows10/MSFT_IntuneDeviceConfigurationEmailProfilePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationEmailProfilePolicyWindows10/MSFT_IntuneDeviceConfigurationEmailProfilePolicyWindows10.psm1 index 00adc0b616..0ae5211805 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationEmailProfilePolicyWindows10/MSFT_IntuneDeviceConfigurationEmailProfilePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationEmailProfilePolicyWindows10/MSFT_IntuneDeviceConfigurationEmailProfilePolicyWindows10.psm1 @@ -591,7 +591,7 @@ function Test-TargetResource } $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationEndpointProtectionPolicyWindows10/MSFT_IntuneDeviceConfigurationEndpointProtectionPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationEndpointProtectionPolicyWindows10/MSFT_IntuneDeviceConfigurationEndpointProtectionPolicyWindows10.psm1 index 36da338cf7..c03b541bdc 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationEndpointProtectionPolicyWindows10/MSFT_IntuneDeviceConfigurationEndpointProtectionPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationEndpointProtectionPolicyWindows10/MSFT_IntuneDeviceConfigurationEndpointProtectionPolicyWindows10.psm1 @@ -4836,7 +4836,7 @@ function Test-TargetResource $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10/MSFT_IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10/MSFT_IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10.psm1 index aa52b4dc14..c886eb2c47 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10/MSFT_IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10/MSFT_IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10.psm1 @@ -835,7 +835,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10.psm1 index 6fc23087bd..d192e2d32f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10.psm1 @@ -434,7 +434,7 @@ function Test-TargetResource $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationIdentityProtectionPolicyWindows10/MSFT_IntuneDeviceConfigurationIdentityProtectionPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationIdentityProtectionPolicyWindows10/MSFT_IntuneDeviceConfigurationIdentityProtectionPolicyWindows10.psm1 index f35fb0a9f5..2474d0a23d 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationIdentityProtectionPolicyWindows10/MSFT_IntuneDeviceConfigurationIdentityProtectionPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationIdentityProtectionPolicyWindows10/MSFT_IntuneDeviceConfigurationIdentityProtectionPolicyWindows10.psm1 @@ -583,7 +583,7 @@ function Test-TargetResource $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10.psm1 index 72d379fc8e..035ce4243f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10.psm1 @@ -496,7 +496,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationKioskPolicyWindows10/MSFT_IntuneDeviceConfigurationKioskPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationKioskPolicyWindows10/MSFT_IntuneDeviceConfigurationKioskPolicyWindows10.psm1 index e0d9994c2b..b4c49e9221 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationKioskPolicyWindows10/MSFT_IntuneDeviceConfigurationKioskPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationKioskPolicyWindows10/MSFT_IntuneDeviceConfigurationKioskPolicyWindows10.psm1 @@ -662,7 +662,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10/MSFT_IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10/MSFT_IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10.psm1 index 63532eaf41..1f6af40b0f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10/MSFT_IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10/MSFT_IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10.psm1 @@ -429,7 +429,7 @@ function Test-TargetResource $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPkcsCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationPkcsCertificatePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPkcsCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationPkcsCertificatePolicyWindows10.psm1 index 234a3116a8..4aa9f586d9 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPkcsCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationPkcsCertificatePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPkcsCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationPkcsCertificatePolicyWindows10.psm1 @@ -616,7 +616,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator.psm1 index 32e9eba66b..a81a57a2bf 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator.psm1 @@ -1155,7 +1155,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceOwner/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceOwner.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceOwner/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceOwner.psm1 index 5a2cace7a0..00406eddde 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceOwner/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceOwner.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceOwner/MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceOwner.psm1 @@ -2352,7 +2352,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidOpenSourceProject/MSFT_IntuneDeviceConfigurationPolicyAndroidOpenSourceProject.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidOpenSourceProject/MSFT_IntuneDeviceConfigurationPolicyAndroidOpenSourceProject.psm1 index ae5c70951f..fa71122dae 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidOpenSourceProject/MSFT_IntuneDeviceConfigurationPolicyAndroidOpenSourceProject.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidOpenSourceProject/MSFT_IntuneDeviceConfigurationPolicyAndroidOpenSourceProject.psm1 @@ -604,7 +604,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidWorkProfile/MSFT_IntuneDeviceConfigurationPolicyAndroidWorkProfile.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidWorkProfile/MSFT_IntuneDeviceConfigurationPolicyAndroidWorkProfile.psm1 index 66ee61a4f1..6aa6accccb 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidWorkProfile/MSFT_IntuneDeviceConfigurationPolicyAndroidWorkProfile.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyAndroidWorkProfile/MSFT_IntuneDeviceConfigurationPolicyAndroidWorkProfile.psm1 @@ -932,7 +932,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyMacOS/MSFT_IntuneDeviceConfigurationPolicyMacOS.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyMacOS/MSFT_IntuneDeviceConfigurationPolicyMacOS.psm1 index 96083ba513..da7cb7aeb0 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyMacOS/MSFT_IntuneDeviceConfigurationPolicyMacOS.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyMacOS/MSFT_IntuneDeviceConfigurationPolicyMacOS.psm1 @@ -1207,7 +1207,7 @@ function Test-TargetResource $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationPolicyWindows10.psm1 index ad15fbea40..6ebc245316 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyWindows10/MSFT_IntuneDeviceConfigurationPolicyWindows10.psm1 @@ -4616,7 +4616,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyiOS/MSFT_IntuneDeviceConfigurationPolicyiOS.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyiOS/MSFT_IntuneDeviceConfigurationPolicyiOS.psm1 index 49a1e9470d..2beee52d22 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyiOS/MSFT_IntuneDeviceConfigurationPolicyiOS.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyiOS/MSFT_IntuneDeviceConfigurationPolicyiOS.psm1 @@ -2944,7 +2944,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSCEPCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationScepCertificatePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSCEPCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationScepCertificatePolicyWindows10.psm1 index 38e2374751..415aee5111 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSCEPCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationScepCertificatePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSCEPCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationScepCertificatePolicyWindows10.psm1 @@ -761,7 +761,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSecureAssessmentPolicyWindows10/MSFT_IntuneDeviceConfigurationSecureAssessmentPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSecureAssessmentPolicyWindows10/MSFT_IntuneDeviceConfigurationSecureAssessmentPolicyWindows10.psm1 index 5cb9cffc30..35208d9c88 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSecureAssessmentPolicyWindows10/MSFT_IntuneDeviceConfigurationSecureAssessmentPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSecureAssessmentPolicyWindows10/MSFT_IntuneDeviceConfigurationSecureAssessmentPolicyWindows10.psm1 @@ -473,7 +473,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10/MSFT_IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10/MSFT_IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10.psm1 index 33c280def7..1fe34dd7e8 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10/MSFT_IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10/MSFT_IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10.psm1 @@ -698,7 +698,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationTrustedCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationTrustedCertificatePolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationTrustedCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationTrustedCertificatePolicyWindows10.psm1 index 39ca6a3373..c236ed5dab 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationTrustedCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationTrustedCertificatePolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationTrustedCertificatePolicyWindows10/MSFT_IntuneDeviceConfigurationTrustedCertificatePolicyWindows10.psm1 @@ -408,7 +408,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationVpnPolicyWindows10/MSFT_IntuneDeviceConfigurationVpnPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationVpnPolicyWindows10/MSFT_IntuneDeviceConfigurationVpnPolicyWindows10.psm1 index 0300372ebe..c9c4b7577d 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationVpnPolicyWindows10/MSFT_IntuneDeviceConfigurationVpnPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationVpnPolicyWindows10/MSFT_IntuneDeviceConfigurationVpnPolicyWindows10.psm1 @@ -936,7 +936,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationWindowsTeamPolicyWindows10/MSFT_IntuneDeviceConfigurationWindowsTeamPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationWindowsTeamPolicyWindows10/MSFT_IntuneDeviceConfigurationWindowsTeamPolicyWindows10.psm1 index f2b3f6f663..6aeb9cda9a 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationWindowsTeamPolicyWindows10/MSFT_IntuneDeviceConfigurationWindowsTeamPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationWindowsTeamPolicyWindows10/MSFT_IntuneDeviceConfigurationWindowsTeamPolicyWindows10.psm1 @@ -659,7 +659,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationWiredNetworkPolicyWindows10/MSFT_IntuneDeviceConfigurationWiredNetworkPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationWiredNetworkPolicyWindows10/MSFT_IntuneDeviceConfigurationWiredNetworkPolicyWindows10.psm1 index e21c224eb0..b2b60f743c 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationWiredNetworkPolicyWindows10/MSFT_IntuneDeviceConfigurationWiredNetworkPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationWiredNetworkPolicyWindows10/MSFT_IntuneDeviceConfigurationWiredNetworkPolicyWindows10.psm1 @@ -828,7 +828,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/MSFT_IntuneDeviceEnrollmentPlatformRestriction.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/MSFT_IntuneDeviceEnrollmentPlatformRestriction.psm1 index b6f2f20f3d..b0b9856958 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/MSFT_IntuneDeviceEnrollmentPlatformRestriction.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/MSFT_IntuneDeviceEnrollmentPlatformRestriction.psm1 @@ -4,7 +4,7 @@ function Get-TargetResource [OutputType([System.Collections.Hashtable])] param ( - [Parameter()] + [Parameter(Mandatory = $true)] [System.String] $Identity, @@ -109,6 +109,20 @@ function Get-TargetResource $nullResult = $PSBoundParameters $nullResult.Ensure = 'Absent' + $PlatformType = '' + $keys = (([Hashtable]$PSBoundParameters).Clone()).Keys + foreach ($key in $keys) + { + if ($null -ne $PSBoundParameters.$key -and $PSBoundParameters.$key.getType().Name -like '*cimInstance*' -and $key -like "*Restriction") + { + if ($DeviceEnrollmentConfigurationType -eq 'singlePlatformRestriction' ) + { + $PlatformType = $key.replace('Restriction', '') + break + } + } + } + try { try { @@ -120,17 +134,21 @@ function Get-TargetResource if ($null -eq $config) { - Write-Verbose -Message "No Device Enrollment Platform Restriction {$Identity} was found. Trying to retrieve instance by name {$DisplayName}" + Write-Verbose -Message "Could not find an Intune Device Enrollment Platform Restriction with Id {$Identity}" $config = Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration -Filter "DisplayName eq '$DisplayName'" ` - -ErrorAction silentlyContinue + -ErrorAction SilentlyContinue | Where-Object -FilterScript { + $_.AdditionalProperties.'@odata.type' -like "#microsoft.graph.deviceEnrollmentPlatformRestriction*Configuration" -and + $(if ($null -ne $_.AdditionalProperties.platformType) { $_.AdditionalProperties.platformType -eq $PlatformType } else { $true }) + } + if ($null -eq $config) { - Write-Verbose -Message "No instances found by name {$DisplayName}" + Write-Verbose -Message "Could not find an Intune Device Enrollment Platform Restriction with DisplayName {$DisplayName}" return $nullResult } } - Write-Verbose -Message "Found Device Enrollment Platform Restriction with Name {$($config.DisplayName)}" + Write-Verbose -Message "Found Intune Device Enrollment Platform Restriction with Name {$($config.DisplayName)}" $results = @{ Identity = $config.Id DisplayName = $config.DisplayName @@ -143,7 +161,7 @@ function Get-TargetResource TenantId = $TenantId ApplicationSecret = $ApplicationSecret CertificateThumbprint = $CertificateThumbprint - Managedidentity = $ManagedIdentity.IsPresent + ManagedIdentity = $ManagedIdentity.IsPresent } $results += Get-DevicePlatformRestrictionSetting -Properties $config.AdditionalProperties @@ -153,13 +171,14 @@ function Get-TargetResource $results.Remove('WindowsMobileRestriction') | Out-Null } - $AssignmentsValues = Get-MgBetaDeviceManagementDeviceEnrollmentConfigurationAssignment -DeviceEnrollmentConfigurationId $config.Id + $assignmentsValues = Get-MgBetaDeviceManagementDeviceEnrollmentConfigurationAssignment -DeviceEnrollmentConfigurationId $config.Id $assignmentResult = @() - foreach ($assignmentEntry in $AssignmentsValues) + foreach ($assignmentEntry in $assignmentsValues) { $assignmentValue = @{ dataType = $assignmentEntry.Target.AdditionalProperties.'@odata.type' - deviceAndAppManagementAssignmentFilterType = $assignmentEntry.Target.DeviceAndAppManagementAssignmentFilterType.ToString() + deviceAndAppManagementAssignmentFilterType = $(if ($null -ne $assignmentEntry.Target.DeviceAndAppManagementAssignmentFilterType) + { $assignmentEntry.Target.DeviceAndAppManagementAssignmentFilterType.ToString() }) deviceAndAppManagementAssignmentFilterId = $assignmentEntry.Target.DeviceAndAppManagementAssignmentFilterId groupId = $assignmentEntry.Target.AdditionalProperties.groupId } @@ -186,7 +205,7 @@ function Set-TargetResource [CmdletBinding()] param ( - [Parameter()] + [Parameter(Mandatory = $true)] [System.String] $Identity, @@ -288,7 +307,11 @@ function Set-TargetResource Add-M365DSCTelemetryEvent -Data $data #endregion - $currentCategory = Get-TargetResource @PSBoundParameters + if ($Ensure -eq 'Absent' -and $Identity -like '*_DefaultPlatformRestrictions') { + throw 'Cannot delete the default platform restriction policy.' + } + + $currentInstance = Get-TargetResource @PSBoundParameters $PSBoundParameters = Remove-M365DSCAuthenticationParameter -BoundParameters $PSBoundParameters $PSBoundParameters.Remove('Identity') | Out-Null $PriorityPresent = $false @@ -298,9 +321,9 @@ function Set-TargetResource $PSBoundParameters.Remove('Priority') | Out-Null } - if ($Ensure -eq 'Present' -and $currentCategory.Ensure -eq 'Absent') + if ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Absent') { - Write-Verbose -Message "Creating new Device Enrollment Platform Restriction {$DisplayName}" + Write-Verbose -Message "Creating an Intune Device Enrollment Platform Restriction with DisplayName {$DisplayName}" $PSBoundParameters.Remove('Assignments') | Out-Null @@ -309,12 +332,11 @@ function Set-TargetResource if ($WindowsMobileRestriction.platformBlocked -eq $false) { Write-Verbose -Message 'Windows Mobile platform is deprecated and cannot be unblocked, reverting back to blocked' - $WindowsMobileRestriction.platformBlocked = $true } } - $keys = (([Hashtable]$PSBoundParameters).clone()).Keys + $keys = (([Hashtable]$PSBoundParameters).Clone()).Keys foreach ($key in $keys) { $keyName = $key.substring(0, 1).toLower() + $key.substring(1, $key.length - 1) @@ -345,18 +367,22 @@ function Set-TargetResource $policy = New-MgBetaDeviceManagementDeviceEnrollmentConfiguration ` -BodyParameter ([hashtable]$PSBoundParameters) - #Assignments from DefaultPolicy are not editable and will raise an alert + # Assignments from DefaultPolicy are not editable and will raise an alert if ($policy.Id -notlike '*_DefaultPlatformRestrictions') { - if ($null -ne $Assignments -and $Assignments -ne @()) + $assignmentsHash = @() + if ($null -ne $Assignments -and $Assignments.Length -gt 0) { - $assignmentsHash = Convert-M365DSCDRGComplexTypeToHashtable -ComplexObject $Assignments - - Update-DeviceConfigurationPolicyAssignment ` - -DeviceConfigurationPolicyId $policy.Id ` - -Targets $assignmentsHash ` - -Repository 'deviceManagement/deviceEnrollmentConfigurations' + foreach ($assignment in $Assignments) + { + $assignmentsHash += Get-M365DSCDRGComplexTypeToHashtable -ComplexObject $assignment + } } + Update-DeviceConfigurationPolicyAssignment ` + -DeviceConfigurationPolicyId $policy.Id ` + -Targets $assignmentsHash ` + -Repository 'deviceManagement/deviceEnrollmentConfigurations' ` + -RootIdentifier 'enrollmentConfigurationAssignments' if ($PriorityPresent -and $Priority -ne $policy.Priority) { @@ -368,9 +394,9 @@ function Set-TargetResource } } } - elseif ($Ensure -eq 'Present' -and $currentCategory.Ensure -eq 'Present') + elseif ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Present') { - Write-Verbose -Message "Updating Device Enrollment Platform Restriction {$DisplayName}" + Write-Verbose -Message "Updating the Intune Device Enrollment Platform Restriction with DisplayName {$DisplayName}" $PSBoundParameters.Remove('Assignments') | Out-Null @@ -379,12 +405,11 @@ function Set-TargetResource if ($WindowsMobileRestriction.platformBlocked -eq $false) { Write-Verbose -Message 'Windows Mobile platform is deprecated and cannot be unblocked, reverting back to blocked' - $WindowsMobileRestriction.platformBlocked = $true } } - $keys = (([Hashtable]$PSBoundParameters).clone()).Keys + $keys = (([Hashtable]$PSBoundParameters).Clone()).Keys foreach ($key in $keys) { $keyName = $key.substring(0, 1).toLower() + $key.substring(1, $key.length - 1) @@ -407,27 +432,33 @@ function Set-TargetResource $policyType = '#microsoft.graph.deviceEnrollmentPlatformRestrictionsConfiguration' } $PSBoundParameters.add('@odata.type', $policyType) + #Write-Verbose ($PSBoundParameters | ConvertTo-Json -Depth 20) + Update-MgBetaDeviceManagementDeviceEnrollmentConfiguration ` - -BodyParameter ([hashtable]$PSBoundParameters) ` - -DeviceEnrollmentConfigurationId $currentCategory.Identity + -DeviceEnrollmentConfigurationId $currentInstance.Identity ` + -BodyParameter ([hashtable]$PSBoundParameters) - #Assignments from DefaultPolicy are not editable and will raise an alert - if ($currentCategory.Identity -notlike '*_DefaultPlatformRestrictions') + # Assignments from DefaultPolicy are not editable and will raise an alert + if ($currentInstance.Identity -notlike '*_DefaultPlatformRestrictions') { - if ($null -ne $Assignments -and $Assignments -ne @()) + $assignmentsHash = @() + if ($null -ne $Assignments -and $Assignments.Length -gt 0) { - $assignmentsHash = Convert-M365DSCDRGComplexTypeToHashtable -ComplexObject $Assignments - - Update-DeviceConfigurationPolicyAssignment ` - -DeviceConfigurationPolicyId $currentCategory.Identity ` - -Targets $assignmentsHash ` - -Repository 'deviceManagement/deviceEnrollmentConfigurations' + foreach ($assignment in $Assignments) + { + $assignmentsHash += Get-M365DSCDRGComplexTypeToHashtable -ComplexObject $assignment + } } + Update-DeviceConfigurationPolicyAssignment ` + -DeviceConfigurationPolicyId $currentInstance.Identity ` + -Targets $assignmentsHash ` + -Repository 'deviceManagement/deviceEnrollmentConfigurations' ` + -RootIdentifier 'enrollmentConfigurationAssignments' - if ($PriorityPresent -and $Priority -ne $currentCategory.Priority) + if ($PriorityPresent -and $Priority -ne $currentInstance.Priority) { - $Uri = "/beta/deviceManagement/deviceEnrollmentConfigurations/{0}/setPriority" -f $currentCategory.Identity + $Uri = "/beta/deviceManagement/deviceEnrollmentConfigurations/{0}/setPriority" -f $currentInstance.Identity $Body = @{ priority = $Priority } @@ -435,11 +466,10 @@ function Set-TargetResource } } } - elseif ($Ensure -eq 'Absent' -and $currentCategory.Ensure -eq 'Present') + elseif ($Ensure -eq 'Absent' -and $currentInstance.Ensure -eq 'Present') { - Write-Verbose -Message "Removing Device Enrollment Platform Restriction {$DisplayName}" - - Remove-MgBetaDeviceManagementDeviceEnrollmentConfiguration -DeviceEnrollmentConfigurationId $currentCategory.Identity + Write-Verbose -Message "Removing the Intune Device Enrollment Platform Restriction with DisplayName {$DisplayName}" + Remove-MgBetaDeviceManagementDeviceEnrollmentConfiguration -DeviceEnrollmentConfigurationId $currentInstance.Identity } } @@ -449,7 +479,7 @@ function Test-TargetResource [OutputType([System.Boolean])] param ( - [Parameter()] + [Parameter(Mandatory = $true)] [System.String] $Identity, @@ -546,10 +576,10 @@ function Test-TargetResource -Parameters $PSBoundParameters Add-M365DSCTelemetryEvent -Data $data #endregion - Write-Verbose -Message "Testing configuration of Device Enrollment Platform Restriction {$DisplayName}" + Write-Verbose -Message "Testing configuration of the Intune Device Enrollment Platform Restriction with Id {$Identity} and DisplayName {$DisplayName}" $CurrentValues = Get-TargetResource @PSBoundParameters - $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() + $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() if ($CurrentValues.Ensure -ne $Ensure) { @@ -597,6 +627,7 @@ function Test-TargetResource Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)" Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $PSBoundParameters)" + #Compare basic parameters if ($testResult) { @@ -607,9 +638,9 @@ function Test-TargetResource -ValuesToCheck $ValuesToCheck.Keys } - Write-Verbose -Message "Test-TargetResource returned $TestResult" + Write-Verbose -Message "Test-TargetResource returned $testResult" - return $TestResult + return $testResult } function Export-TargetResource @@ -663,8 +694,10 @@ function Export-TargetResource try { - [array]$configs = Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration -All:$true -Filter $Filter -ErrorAction Stop ` - | Where-Object -FilterScript { $_.AdditionalProperties.'@odata.type' -like '#microsoft.graph.deviceEnrollmentPlatform*Configuration' } + [array]$configs = Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration ` + -All ` + -Filter "deviceEnrollmentConfigurationType eq 'singlePlatformRestriction'" ` + -ErrorAction Stop $i = 1 $dscContent = '' @@ -688,7 +721,7 @@ function Export-TargetResource TenantId = $TenantId ApplicationSecret = $ApplicationSecret CertificateThumbprint = $CertificateThumbprint - Managedidentity = $ManagedIdentity.IsPresent + ManagedIdentity = $ManagedIdentity.IsPresent } $Results = Get-TargetResource @Params @@ -817,7 +850,6 @@ function Export-TargetResource -Results $Results ` -Credential $Credential - if ($null -ne $Results.Assignments) { $isCIMArray = $false @@ -842,6 +874,7 @@ function Export-TargetResource { $currentDSCBlock = Convert-DSCStringParamToVariable -DSCBlock $currentDSCBlock -ParameterName 'WindowsHomeSkuRestriction' } + if ($null -ne $Results.WindowsMobileRestriction) { $currentDSCBlock = Convert-DSCStringParamToVariable -DSCBlock $currentDSCBlock -ParameterName 'WindowsMobileRestriction' diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/MSFT_IntuneDeviceEnrollmentPlatformRestriction.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/MSFT_IntuneDeviceEnrollmentPlatformRestriction.schema.mof index 86c13038c2..f78715c641 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/MSFT_IntuneDeviceEnrollmentPlatformRestriction.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/MSFT_IntuneDeviceEnrollmentPlatformRestriction.schema.mof @@ -23,21 +23,21 @@ class MSFT_DeviceEnrollmentPlatformRestriction [ClassVersion("1.0.0.0"), FriendlyName("IntuneDeviceEnrollmentPlatformRestriction")] class MSFT_IntuneDeviceEnrollmentPlatformRestriction : OMI_BaseResource { - [Write, Description("Identity of the device enrollment platform restriction.")] String Identity; + [Key, Description("Identity of the device enrollment platform restriction.")] String Identity; [Key, Description("Display name of the device enrollment platform restriction.")] String DisplayName; [Write, Description("Description of the device enrollment platform restriction.")] String Description; - [Write, Description("Support for Enrollment Configuration Type Inherited from deviceEnrollmentConfiguration."), ValueMap{"singlePlatformRestriction","platformRestrictions"}, Values{"singlePlatformRestriction","platformRestrictions"}] String DeviceEnrollmentConfigurationType; - [Write, Description("Ios restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] string IosRestriction; - [Write, Description("Windows restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] string WindowsRestriction; - [Write, Description("Windows home Sku restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] string WindowsHomeSkuRestriction; - [Write, Description("Windows Mobile restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] string WindowsMobileRestriction; - [Write, Description("Android Device Administrator restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] string AndroidRestriction; - [Write, Description("Android Enterprise restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] string AndroidForWorkRestriction; - [Write, Description("Mac restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] string MacRestriction; - [Write, Description("Mac OS restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] string MacOSRestriction; - [Write, Description("Assignments of the policy."), EmbeddedInstance("MSFT_DeviceManagementConfigurationPolicyAssignments")] string Assignments[]; - [Write, Description("Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value. Inherited from deviceEnrollmentConfiguration.")] UInt32 Priority; - [Write, Description("Present ensures the restriction exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure; + [Write, Description("Android for work restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] String AndroidForWorkRestriction; + [Write, Description("Android restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] String AndroidRestriction; + [Write, Description("Ios restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] String IosRestriction; + [Write, Description("Mac restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] String MacOSRestriction; + [Write, Description("Mac restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] String MacRestriction; + [Write, Description("Windows Home Sku restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] String WindowsHomeSkuRestriction; + [Write, Description("Windows mobile restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] String WindowsMobileRestriction; + [Write, Description("Windows restrictions based on platform, platform operating system version, and device ownership."), EmbeddedInstance("MSFT_DeviceEnrollmentPlatformRestriction")] String WindowsRestriction; + [Write, Description("Support for Enrollment Configuration Type"), ValueMap{"platformRestrictions","singlePlatformRestriction"}, Values{"platformRestrictions","singlePlatformRestriction"}] String DeviceEnrollmentConfigurationType; + [Write, Description("Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value.")] UInt32 Priority; + [Write, Description("Assignments of the policy."), EmbeddedInstance("MSFT_DeviceManagementConfigurationPolicyAssignments")] String Assignments[]; + [Write, Description("Present ensures the policy exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure; [Write, Description("Credentials of the Intune Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; [Write, Description("Name of the Azure Active Directory tenant used for authentication. Format contoso.onmicrosoft.com")] String TenantId; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/readme.md b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/readme.md index 709451d016..d0f9ae85e4 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/readme.md +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentPlatformRestriction/readme.md @@ -4,3 +4,8 @@ ## Description This resource configures the Intune device platform enrollment restrictions. + +**Be aware**: To deploy a Android platform restriction policy, two individual configurations must exist: + +* The first one contains the key for `AndroidRestriction` +* The second one contains the key for `AndroidForWorkRestriction` diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/MSFT_IntuneDeviceEnrollmentStatusPageWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/MSFT_IntuneDeviceEnrollmentStatusPageWindows10.psm1 index 2b1043cca7..0c90701912 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/MSFT_IntuneDeviceEnrollmentStatusPageWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/MSFT_IntuneDeviceEnrollmentStatusPageWindows10.psm1 @@ -57,6 +57,10 @@ function Get-TargetResource [System.String[]] $SelectedMobileAppIds, + [Parameter()] + [System.String[]] + $SelectedMobileAppNames, + [Parameter()] [System.Boolean] $ShowInstallationProgress, @@ -121,9 +125,16 @@ function Get-TargetResource Add-M365DSCTelemetryEvent -Data $data #endregion + Write-Verbose -Message "Getting configuration of the Intune Device Enrollment Status Page for Windows 10 with Id {$Id} and DisplayName {$DisplayName}" + $nullResult = $PSBoundParameters $nullResult.Ensure = 'Absent' + if ($PSBoundParameters.ContainsKey('SelectedMobileAppIds') -and $PSBoundParameters.ContainsKey('SelectedMobileAppNames')) + { + Write-Verbose -Message '[WARNING] Both SelectedMobileAppIds and SelectedMobileAppNames are specified. SelectedMobileAppNames will be ignored!' + } + $getValue = $null #region resource generator code $getValue = Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration -DeviceEnrollmentConfigurationId $Id -ErrorAction SilentlyContinue ` @@ -169,7 +180,7 @@ function Get-TargetResource DisableUserStatusTrackingAfterFirstUser = $getValue.AdditionalProperties.disableUserStatusTrackingAfterFirstUser InstallProgressTimeoutInMinutes = $getValue.AdditionalProperties.installProgressTimeoutInMinutes InstallQualityUpdates = $getValue.AdditionalProperties.installQualityUpdates - SelectedMobileAppIds = $getValue.AdditionalProperties.selectedMobileAppIds + SelectedMobileAppNames = $getValue.AdditionalProperties.selectedMobileAppIds | ForEach-Object { (Get-MgBetaDeviceAppManagementMobileApp -MobileAppId $_).DisplayName } ShowInstallationProgress = $getValue.AdditionalProperties.showInstallationProgress TrackInstallProgressForAutopilotOnly = $getValue.AdditionalProperties.trackInstallProgressForAutopilotOnly Priority = $getValue.Priority @@ -177,12 +188,6 @@ function Get-TargetResource DisplayName = $getValue.DisplayName Id = $getValue.Id Ensure = 'Present' - Credential = $Credential - ApplicationId = $ApplicationId - TenantId = $TenantId - ApplicationSecret = $ApplicationSecret - CertificateThumbprint = $CertificateThumbprint - Managedidentity = $ManagedIdentity.IsPresent #endregion } $assignmentsValues = Get-MgBetaDeviceManagementDeviceEnrollmentConfigurationAssignment -DeviceEnrollmentConfigurationId $Id @@ -274,6 +279,10 @@ function Set-TargetResource [System.String[]] $SelectedMobileAppIds, + [Parameter()] + [System.String[]] + $SelectedMobileAppNames, + [Parameter()] [System.Boolean] $ShowInstallationProgress, @@ -321,7 +330,6 @@ function Set-TargetResource $ManagedIdentity ) - #Ensure the proper dependencies are installed in the current environment. Confirm-M365DSCDependencies @@ -334,9 +342,26 @@ function Set-TargetResource Add-M365DSCTelemetryEvent -Data $data #endregion + Write-Verbose -Message "Setting configuration of the Intune Device Enrollment Status Page for Windows 10 with Id {$Id} and DisplayName {$DisplayName}" + $currentInstance = Get-TargetResource @PSBoundParameters $PSBoundParameters = Remove-M365DSCAuthenticationParameter -BoundParameters $PSBoundParameters + if ($PSBoundParameters.ContainsKey('SelectedMobileAppIds') -eq $false -and $PSBoundParameters.ContainsKey('SelectedMobileAppNames') -eq $true) + { + Write-Verbose -Message 'Converting SelectedMobileAppNames to SelectedMobileAppIds' + if ($PSBoundParameters.SelectedMobileAppNames.Count -ne 0) + { + [Array]$mobileAppIds = $SelectedMobileAppNames | ForEach-Object { (Get-MgBetaDeviceAppManagementMobileApp -Filter "DisplayName eq '$_'").Id } + $PSBoundParameters.SelectedMobileAppIds = $mobileAppIds + } + else + { + $PSBoundParameters.SelectedMobileAppIds = @() + } + $PSBoundParameters.Remove('SelectedMobileAppNames') | Out-Null + } + if ($Ensure -eq 'Present' -and $currentInstance.Ensure -eq 'Absent') { Write-Verbose -Message "Creating an Intune Device Enrollment Configuration for Windows10 with DisplayName {$DisplayName}" @@ -417,9 +442,12 @@ function Set-TargetResource $Uri = "https://graph.microsoft.com/beta/deviceManagement/deviceEnrollmentConfigurations/$($currentInstance.Id)/assign" Invoke-MgGraphRequest -Method POST -Uri $Uri -Body $body -ErrorAction Stop - Update-DeviceEnrollmentConfigurationPriority ` - -DeviceEnrollmentConfigurationId $currentInstance.id ` - -Priority $Priority + if ($PSBoundParameters.ContainsKey('Priority') -and $Priority -ne $currentInstance.Priority) + { + Update-DeviceEnrollmentConfigurationPriority ` + -DeviceEnrollmentConfigurationId $currentInstance.id ` + -Priority $Priority + } } #endregion } @@ -491,6 +519,10 @@ function Test-TargetResource [System.String[]] $SelectedMobileAppIds, + [Parameter()] + [System.String[]] + $SelectedMobileAppNames, + [Parameter()] [System.Boolean] $ShowInstallationProgress, @@ -538,7 +570,6 @@ function Test-TargetResource $ManagedIdentity ) - #Ensure the proper dependencies are installed in the current environment. Confirm-M365DSCDependencies @@ -551,13 +582,22 @@ function Test-TargetResource Add-M365DSCTelemetryEvent -Data $data #endregion - Write-Verbose -Message "Testing configuration of the Intune Device Enrollment Configuration for Windows10 with Id {$Id} and DisplayName {$DisplayName}" + Write-Verbose -Message "Testing configuration of the Intune Device Enrollment Status Page for Windows 10 with Id {$Id} and DisplayName {$DisplayName}" + $CurrentValues = Get-TargetResource @PSBoundParameters + + if ($PSBoundParameters.ContainsKey('SelectedMobileAppIds') -eq $true) + { + Write-Verbose -Message 'Converting SelectedMobileAppIds to SelectedMobileAppNames' + $PSBoundParameters.SelectedMobileAppNames = $SelectedMobileAppIds | ForEach-Object { (Get-MgBetaDeviceAppManagementMobileApp -MobileAppId $_).DisplayName } + $PSBoundParameters.Remove('SelectedMobileAppIds') | Out-Null + } + $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/MSFT_IntuneDeviceEnrollmentStatusPageWindows10.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/MSFT_IntuneDeviceEnrollmentStatusPageWindows10.schema.mof index b4b6ccf761..105738c8e1 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/MSFT_IntuneDeviceEnrollmentStatusPageWindows10.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/MSFT_IntuneDeviceEnrollmentStatusPageWindows10.schema.mof @@ -24,7 +24,8 @@ class MSFT_IntuneDeviceEnrollmentStatusPageWindows10 : OMI_BaseResource [Write, Description("Only show installation progress for first user post enrollment")] Boolean DisableUserStatusTrackingAfterFirstUser; [Write, Description("Set installation progress timeout in minutes")] UInt32 InstallProgressTimeoutInMinutes; [Write, Description("Allows quality updates installation during OOBE")] Boolean InstallQualityUpdates; - [Write, Description("Selected applications to track the installation status")] String SelectedMobileAppIds[]; + [Write, Description("Ids of selected applications to track the installation status. When this parameter is used, SelectedMobileAppNames is ignored")] String SelectedMobileAppIds[]; + [Write, Description("Names of selected applications to track the installation status. This parameter is ignored when SelectedMobileAppIds is also specified")] String SelectedMobileAppNames[]; [Write, Description("Show or hide installation progress to user")] Boolean ShowInstallationProgress; [Write, Description("Only show installation progress for Autopilot enrollment scenarios")] Boolean TrackInstallProgressForAutopilotOnly; [Write, Description("Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value.")] UInt32 Priority; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/settings.json index 12ac8a15dc..0c1c8f9933 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceEnrollmentStatusPageWindows10/settings.json @@ -10,6 +10,9 @@ }, { "name": "DeviceManagementServiceConfig.Read.All" + }, + { + "name": "DeviceManagementApps.Read.All" } ], "update": [ @@ -18,6 +21,9 @@ }, { "name": "DeviceManagementServiceConfig.ReadWrite.All" + }, + { + "name": "DeviceManagementApps.Read.All" } ] }, @@ -28,6 +34,9 @@ }, { "name": "DeviceManagementServiceConfig.Read.All" + }, + { + "name": "DeviceManagementApps.Read.All" } ], "update": [ @@ -36,6 +45,9 @@ }, { "name": "DeviceManagementServiceConfig.ReadWrite.All" + }, + { + "name": "DeviceManagementApps.Read.All" } ] } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneExploitProtectionPolicyWindows10SettingCatalog/MSFT_IntuneExploitProtectionPolicyWindows10SettingCatalog.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneExploitProtectionPolicyWindows10SettingCatalog/MSFT_IntuneExploitProtectionPolicyWindows10SettingCatalog.psm1 index 83641e6a2e..ed583bbf21 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneExploitProtectionPolicyWindows10SettingCatalog/MSFT_IntuneExploitProtectionPolicyWindows10SettingCatalog.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneExploitProtectionPolicyWindows10SettingCatalog/MSFT_IntuneExploitProtectionPolicyWindows10SettingCatalog.psm1 @@ -430,7 +430,7 @@ function Test-TargetResource $ValuesToCheck.Remove('ApplicationSecret') | Out-Null $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message 'The policy was not found' return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntunePolicySets/MSFT_IntunePolicySets.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntunePolicySets/MSFT_IntunePolicySets.psm1 index ac20b8c259..9f2c6aa387 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntunePolicySets/MSFT_IntunePolicySets.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntunePolicySets/MSFT_IntunePolicySets.psm1 @@ -469,7 +469,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneRoleAssignment/MSFT_IntuneRoleAssignment.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneRoleAssignment/MSFT_IntuneRoleAssignment.psm1 index 5cd954e832..722d111606 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneRoleAssignment/MSFT_IntuneRoleAssignment.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneRoleAssignment/MSFT_IntuneRoleAssignment.psm1 @@ -559,7 +559,7 @@ function Test-TargetResource } $PSBoundParameters.Set_Item('ResourceScopes', $ResourceScopes) - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneRoleDefinition/MSFT_IntuneRoleDefinition.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneRoleDefinition/MSFT_IntuneRoleDefinition.psm1 index 51e23548ee..3e87bef2be 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneRoleDefinition/MSFT_IntuneRoleDefinition.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneRoleDefinition/MSFT_IntuneRoleDefinition.psm1 @@ -403,7 +403,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSettingCatalogASRRulesPolicyWindows10/MSFT_IntuneSettingCatalogASRRulesPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSettingCatalogASRRulesPolicyWindows10/MSFT_IntuneSettingCatalogASRRulesPolicyWindows10.psm1 index 062a372eaf..086def7299 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSettingCatalogASRRulesPolicyWindows10/MSFT_IntuneSettingCatalogASRRulesPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSettingCatalogASRRulesPolicyWindows10/MSFT_IntuneSettingCatalogASRRulesPolicyWindows10.psm1 @@ -717,7 +717,7 @@ function Test-TargetResource Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)" Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $ValuesToCheck)" - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message 'The policy was not found' return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSettingCatalogCustomPolicyWindows10/MSFT_IntuneSettingCatalogCustomPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSettingCatalogCustomPolicyWindows10/MSFT_IntuneSettingCatalogCustomPolicyWindows10.psm1 index 1a6ce88633..69f04ec597 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSettingCatalogCustomPolicyWindows10/MSFT_IntuneSettingCatalogCustomPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneSettingCatalogCustomPolicyWindows10/MSFT_IntuneSettingCatalogCustomPolicyWindows10.psm1 @@ -466,7 +466,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWiFiConfigurationPolicyAndroidDeviceAdministrator/MSFT_IntuneWiFiConfigurationPolicyAndroidDeviceAdministrator.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWiFiConfigurationPolicyAndroidDeviceAdministrator/MSFT_IntuneWiFiConfigurationPolicyAndroidDeviceAdministrator.psm1 index 063e280aa2..585c1dd30c 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWiFiConfigurationPolicyAndroidDeviceAdministrator/MSFT_IntuneWiFiConfigurationPolicyAndroidDeviceAdministrator.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWiFiConfigurationPolicyAndroidDeviceAdministrator/MSFT_IntuneWiFiConfigurationPolicyAndroidDeviceAdministrator.psm1 @@ -474,7 +474,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner.psm1 index 18122fecbc..c01b75fd75 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner.psm1 @@ -565,7 +565,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile.psm1 index 1c43c44ddd..6357c3d4a6 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile/MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile.psm1 @@ -472,7 +472,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidForWork/MSFT_IntuneWifiConfigurationPolicyAndroidForWork.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidForWork/MSFT_IntuneWifiConfigurationPolicyAndroidForWork.psm1 index f662b18c5e..a29cf75f7b 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidForWork/MSFT_IntuneWifiConfigurationPolicyAndroidForWork.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidForWork/MSFT_IntuneWifiConfigurationPolicyAndroidForWork.psm1 @@ -471,7 +471,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidOpenSourceProject/MSFT_IntuneWifiConfigurationPolicyAndroidOpenSourceProject.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidOpenSourceProject/MSFT_IntuneWifiConfigurationPolicyAndroidOpenSourceProject.psm1 index 35f605ec13..c11943e1e1 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidOpenSourceProject/MSFT_IntuneWifiConfigurationPolicyAndroidOpenSourceProject.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyAndroidOpenSourceProject/MSFT_IntuneWifiConfigurationPolicyAndroidOpenSourceProject.psm1 @@ -497,7 +497,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyIOS/MSFT_IntuneWifiConfigurationPolicyIOS.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyIOS/MSFT_IntuneWifiConfigurationPolicyIOS.psm1 index fa1376d8fa..f6dc4837b7 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyIOS/MSFT_IntuneWifiConfigurationPolicyIOS.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyIOS/MSFT_IntuneWifiConfigurationPolicyIOS.psm1 @@ -551,7 +551,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyMacOS/MSFT_IntuneWifiConfigurationPolicyMacOS.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyMacOS/MSFT_IntuneWifiConfigurationPolicyMacOS.psm1 index fa8ad74a13..fcb78f7663 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyMacOS/MSFT_IntuneWifiConfigurationPolicyMacOS.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyMacOS/MSFT_IntuneWifiConfigurationPolicyMacOS.psm1 @@ -538,7 +538,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyWindows10/MSFT_IntuneWifiConfigurationPolicyWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyWindows10/MSFT_IntuneWifiConfigurationPolicyWindows10.psm1 index 2dc45c9668..1c9deb1ac1 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyWindows10/MSFT_IntuneWifiConfigurationPolicyWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWifiConfigurationPolicyWindows10/MSFT_IntuneWifiConfigurationPolicyWindows10.psm1 @@ -581,7 +581,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined.psm1 index 5b4a09bf94..b0e5578743 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined.psm1 @@ -541,7 +541,7 @@ function Test-TargetResource $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADJoined/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADJoined.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADJoined/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADJoined.psm1 index c9ee94540c..1db14bdbcc 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADJoined/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADJoined.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADJoined/MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADJoined.psm1 @@ -540,7 +540,7 @@ function Test-TargetResource $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck $ValuesToCheck.Remove('Id') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled/MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled/MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled.psm1 index bb6d409c7a..b6c6c8b3f5 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled/MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled/MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled.psm1 @@ -836,7 +836,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10/MSFT_IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10/MSFT_IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10.psm1 index c4968c1c6f..69120608bb 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10/MSFT_IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10/MSFT_IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10.psm1 @@ -408,7 +408,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10.psm1 index d1e424eab5..b97bc96f89 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10.psm1 @@ -971,7 +971,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_M365DSCRuleEvaluation/MSFT_M365DSCRuleEvaluation.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_M365DSCRuleEvaluation/MSFT_M365DSCRuleEvaluation.psm1 index 732ce5594e..2eac85fe5f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_M365DSCRuleEvaluation/MSFT_M365DSCRuleEvaluation.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_M365DSCRuleEvaluation/MSFT_M365DSCRuleEvaluation.psm1 @@ -206,57 +206,124 @@ function Test-TargetResource $result = ($instances.Length - $DSCConvertedInstances.Length) -eq 0 $message = [System.Text.StringBuilder]::New() - [void]$message.AppendLine("ResourceName:`r`n$ResourceName`r`n") - [void]$message.AppendLine("RuleDefinition:`r`n$RuleDefinition`r`n") + [void]$message.AppendLine("") + [void]$message.AppendLine(" $ResourceName") + [void]$message.AppendLine(" $RuleDefinition") if ($instances.Length -eq 0) { - [void]$message.AppendLine("No instances were found for the given Rule Definition.") + [array]$invalidInstances = $DSCConvertedInstances.ResourceInstanceName + [void]$message.AppendLine(" ") + [void]$message.AppendLine(" ") } else { if (-not [System.String]::IsNullOrEmpty($AfterRuleCountQuery)) { - Write-Verbose -Message "Checking the After Rule Count" + [void]$message.AppendLine(" ") + [void]$message.AppendLine(" $AfterRuleCountQuery") + + Write-Verbose -Message "Checking the After Rule Count Query" $afterRuleCountQueryString = "`$instances.Length $AfterRuleCountQuery" $afterRuleCountQueryBlock = [Scriptblock]::Create($afterRuleCountQueryString) $result = [Boolean](Invoke-Command -ScriptBlock $afterRuleCountQueryBlock) + [array]$validInstances = $instances.ResourceInstanceName + [array]$invalidInstances = $DSCConvertedInstances.ResourceInstanceName | Where-Object -FilterScript { $_ -notin $validInstances } + if (-not $result) { - $invalidInstances = $instances.ResourceInstanceName - - [void]$message.AppendLine("AfterRuleCountQuery:`r`n$AfterRuleCountQuery`r`n") - $MessagePrefix = "The following resource instance(s) matched a rule validation, but did not meet the AfterRuleCountQuery:`r`n" + [void]$message.AppendLine(" False") + [void]$message.AppendLine(" ") + if ($validInstances.Count -gt 0) + { + [void]$message.AppendLine(" ") + foreach ($validInstance in $validInstances) + { + [void]$message.AppendLine(" [$ResourceName]$validInstance") + } + [void]$message.AppendLine(" ") + } + else + { + [void]$message.AppendLine(" ") + } + } + else + { + [void]$message.AppendLine(" True") + [void]$message.AppendLine(" ") + [void]$message.AppendLine(" ") + foreach ($validInstance in $validInstances) + { + [void]$message.AppendLine(" [$ResourceName]$validInstance") + } + [void]$message.AppendLine(" ") } } else { - $invalidInstances = Compare-Object -ReferenceObject $DSCConvertedInstances.ResourceInstanceName -DifferenceObject $instances.ResourceInstanceName - $invalidInstances = $invalidInstances.InputObject + [void]$message.AppendLine(" ") - $MessagePrefix = "The following resource instance(s) failed a rule validation:`r`n" - } + $compareInstances = @() + $compareInstances += Compare-Object -ReferenceObject $DSCConvertedInstances.ResourceInstanceName -DifferenceObject $instances.ResourceInstanceName -IncludeEqual + if ($compareInstances.Count -gt 0) + { + [array]$validInstances = $($compareInstances | Where-Object -FilterScript { $_.SideIndicator -eq '==' }).InputObject + [array]$invalidInstances = $($compareInstances | Where-Object -FilterScript { $_.SideIndicator -eq '<=' }).InputObject + } + else + { + [array]$validInstances = @() + [array]$invalidInstances = [array]$DSCConvertedInstances.ResourceInstanceName + } - if (-not $result) - { - # Log drifts for each invalid instances found. - $invalidInstancesLogNames = '' - foreach ($invalidInstance in $invalidInstances) + if ($validInstances.Count -gt 0) + { + [void]$message.AppendLine(" ") + foreach ($validInstance in $validInstances) + { + [void]$message.AppendLine(" [$ResourceName]$validInstance") + } + [void]$message.AppendLine(" ") + } + else { - $invalidInstancesLogNames += "[$ResourceName]$invalidInstance`r`n" + [void]$message.AppendLine(" ") } + } + } - [void]$message.AppendLine("$MessagePrefix$invalidInstancesLogNames") + # Log drifts for each invalid instances found. + if ($invalidInstances.Count -gt 0) + { + [void]$message.AppendLine(" ") + foreach ($invalidInstance in $invalidInstances) + { + [void]$message.AppendLine(" [$ResourceName]$invalidInstance") } + [void]$message.AppendLine(" ") + } + else + { + [void]$message.AppendLine(" ") } + [void]$message.AppendLine("") + $Parameters = @{ + Message = $message.ToString() + EventType = 'RuleEvaluation' + EventID = 1 + Source = $CurrentResourceName + } if (-not $result) { - Add-M365DSCEvent -Message $message.ToString() ` - -EventType 'RuleEvaluation' ` - -EntryType 'Warning' ` - -EventID 1 -Source $CurrentResourceName + $Parameters.Add('EntryType', 'Warning') + } + else + { + $Parameters.Add('EntryType', 'Information') } + Add-M365DSCEvent @Parameters Write-Verbose -Message "Test-TargetResource returned $result" diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_M365DSCRuleEvaluation/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_M365DSCRuleEvaluation/settings.json index f62031d967..33f37bf249 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_M365DSCRuleEvaluation/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_M365DSCRuleEvaluation/settings.json @@ -1,5 +1,5 @@ { - "resourceName": "AADTenantDetails", + "resourceName": "M365DSCRuleEvaluation", "description": "This resource configures the Azure AD Tenant Details.", "roles": { "read": [], diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_O365OrgSettings/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_O365OrgSettings/settings.json index 0cb2978d9e..3ccc87b04c 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_O365OrgSettings/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_O365OrgSettings/settings.json @@ -1,12 +1,12 @@ { - "resourceName": "O365OrgCustomizationSetting", + "resourceName": "O365OrgSettings", "description": "", "permissions": { "graph": { "delegated": { "read": [ { - "name": "Application.Read.All" + "name": "Application.ReadWrite.All" }, { "name": "ReportSettings.Read.All" @@ -54,7 +54,7 @@ "application": { "read": [ { - "name": "Application.Read.All" + "name": "Application.ReadWrite.All" }, { "name": "ReportSettings.Read.All" diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SCAutoSensitivityLabelRule/MSFT_SCAutoSensitivityLabelRule.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_SCAutoSensitivityLabelRule/MSFT_SCAutoSensitivityLabelRule.schema.mof index 206f322fa3..1794528c44 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SCAutoSensitivityLabelRule/MSFT_SCAutoSensitivityLabelRule.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SCAutoSensitivityLabelRule/MSFT_SCAutoSensitivityLabelRule.schema.mof @@ -1,11 +1,11 @@ [ClassVersion("1.0.0")] -Class MSFT_SCHeaderPattern +class MSFT_SCHeaderPattern { [Required, Description("Name of the header pattern")] String Name; [Required, Description("Regular expressions for the pattern")] String Values[]; }; [ClassVersion("1.0.0")] -Class MSFT_SCDLPSensitiveInformation +class MSFT_SCDLPSensitiveInformation { [Required, Description("Name of the Sensitive Information Content")] String name; [Write, Description("Id of the Sensitive Information Content")] String id; @@ -16,14 +16,14 @@ Class MSFT_SCDLPSensitiveInformation [Write, Description("Maximum Count value for the Sensitive Information")] String maxcount; }; [ClassVersion("1.0.0")] -Class MSFT_SCDLPLabel +class MSFT_SCDLPLabel { [Required, Description("Name of the Sensitive Label")] String name; [Write, Description("Id of the Sensitive Information label")] String id; [Write, Description("Type of the Sensitive Information label")] String type; }; [ClassVersion("1.0.0")] -Class MSFT_SCDLPContainsSensitiveInformationGroup +class MSFT_SCDLPContainsSensitiveInformationGroup { [Write, Description("Sensitive Information Content Types"),EmbeddedInstance("MSFT_SCDLPSensitiveInformation")] String SensitiveInformation[]; [Write, Description("Sensitive Information Labels"),EmbeddedInstance("MSFT_SCDLPLabel")] String Labels[]; @@ -31,7 +31,7 @@ Class MSFT_SCDLPContainsSensitiveInformationGroup [Required, Description("Operator"),ValueMap{"And","Or"}, Values{"And","Or"}] String Operator; }; [ClassVersion("1.0.0")] -Class MSFT_SCDLPContainsSensitiveInformation +class MSFT_SCDLPContainsSensitiveInformation { [Write, Description("Sensitive Information Content Types"),EmbeddedInstance("MSFT_SCDLPSensitiveInformation")] String SensitiveInformation[]; [Write, Description("Groups of sensitive information types."),EmbeddedInstance("MSFT_SCDLPContainsSensitiveInformationGroup")] String Groups[]; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SCComplianceTag/MSFT_SCComplianceTag.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_SCComplianceTag/MSFT_SCComplianceTag.schema.mof index 28cbaae9dd..c8544dc6c8 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SCComplianceTag/MSFT_SCComplianceTag.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SCComplianceTag/MSFT_SCComplianceTag.schema.mof @@ -1,5 +1,5 @@ [ClassVersion("1.0.0")] -Class MSFT_SCFilePlanProperty +class MSFT_SCFilePlanProperty { [Write, Description("File plan department. Can get list by running Get-FilePlanPropertyDepartment.")] String FilePlanPropertyDepartment; [Write, Description("File plan Authority. Can get list by running Get-FilePlanPropertyAuthority.")] String FilePlanPropertyAuthority; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SCDLPComplianceRule/MSFT_SCDLPComplianceRule.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_SCDLPComplianceRule/MSFT_SCDLPComplianceRule.schema.mof index b8c38f51da..e827a0ecfa 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SCDLPComplianceRule/MSFT_SCDLPComplianceRule.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SCDLPComplianceRule/MSFT_SCDLPComplianceRule.schema.mof @@ -1,5 +1,5 @@ [ClassVersion("1.0.0")] -Class MSFT_SCDLPSensitiveInformation +class MSFT_SCDLPSensitiveInformation { [Required, Description("Name of the Sensitive Information Content")] String name; [Write, Description("Id of the Sensitive Information Content")] String id; @@ -10,14 +10,14 @@ Class MSFT_SCDLPSensitiveInformation [Write, Description("Maximum Count value for the Sensitive Information")] String maxcount; }; [ClassVersion("1.0.0")] -Class MSFT_SCDLPLabel +class MSFT_SCDLPLabel { [Required, Description("Name of the Sensitive Label")] String name; [Write, Description("Id of the Sensitive Information label")] String id; [Write, Description("Type of the Sensitive Information label")] String type; }; [ClassVersion("1.0.0")] -Class MSFT_SCDLPContainsSensitiveInformationGroup +class MSFT_SCDLPContainsSensitiveInformationGroup { [Write, Description("Sensitive Information Content Types"),EmbeddedInstance("MSFT_SCDLPSensitiveInformation")] String SensitiveInformation[]; [Write, Description("Sensitive Information Labels"),EmbeddedInstance("MSFT_SCDLPLabel")] String Labels[]; @@ -25,7 +25,7 @@ Class MSFT_SCDLPContainsSensitiveInformationGroup [Required, Description("Operator"),ValueMap{"And","Or"}, Values{"And","Or"}] String Operator; }; [ClassVersion("1.0.0")] -Class MSFT_SCDLPContainsSensitiveInformation +class MSFT_SCDLPContainsSensitiveInformation { [Write, Description("Sensitive Information Content Types"),EmbeddedInstance("MSFT_SCDLPSensitiveInformation")] String SensitiveInformation[]; [Write, Description("Groups of sensitive information types."),EmbeddedInstance("MSFT_SCDLPContainsSensitiveInformationGroup")] String Groups[]; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOAccessControlSettings/MSFT_SPOAccessControlSettings.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOAccessControlSettings/MSFT_SPOAccessControlSettings.psm1 index c86fde3486..202a98956e 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOAccessControlSettings/MSFT_SPOAccessControlSettings.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOAccessControlSettings/MSFT_SPOAccessControlSettings.psm1 @@ -29,14 +29,6 @@ function Get-TargetResource [System.UInt32] $IPAddressWACTokenLifetime, - [Parameter()] - [System.Boolean] - $CommentsOnSitePagesDisabled, - - [Parameter()] - [System.Boolean] - $SocialBarOnSitePagesDisabled, - [Parameter()] [System.Boolean] $DisallowInfectedFileDownload, @@ -127,8 +119,6 @@ function Get-TargetResource IPAddressEnforcement = $SPOAccessControlSettings.IPAddressEnforcement IPAddressAllowList = $SPOAccessControlSettings.IPAddressAllowList IPAddressWACTokenLifetime = $SPOAccessControlSettings.IPAddressWACTokenLifetime - CommentsOnSitePagesDisabled = $SPOAccessControlSettings.CommentsOnSitePagesDisabled - SocialBarOnSitePagesDisabled = $SPOAccessControlSettings.SocialBarOnSitePagesDisabled DisallowInfectedFileDownload = $SPOAccessControlSettings.DisallowInfectedFileDownload ExternalServicesEnabled = $SPOAccessControlSettings.ExternalServicesEnabled EmailAttestationRequired = $SPOAccessControlSettings.EmailAttestationRequired @@ -192,14 +182,6 @@ function Set-TargetResource [System.UInt32] $IPAddressWACTokenLifetime, - [Parameter()] - [System.Boolean] - $CommentsOnSitePagesDisabled, - - [Parameter()] - [System.Boolean] - $SocialBarOnSitePagesDisabled, - [Parameter()] [System.Boolean] $DisallowInfectedFileDownload, @@ -329,14 +311,6 @@ function Test-TargetResource [System.UInt32] $IPAddressWACTokenLifetime, - [Parameter()] - [System.Boolean] - $CommentsOnSitePagesDisabled, - - [Parameter()] - [System.Boolean] - $SocialBarOnSitePagesDisabled, - [Parameter()] [System.Boolean] $DisallowInfectedFileDownload, @@ -424,8 +398,6 @@ function Test-TargetResource 'IPAddressEnforcement', ` 'IPAddressAllowList', ` 'IPAddressWACTokenLifetime', ` - 'CommentsOnSitePagesDisabled', ` - 'SocialBarOnSitePagesDisabled', ` 'DisallowInfectedFileDownload', ` 'ExternalServicesEnabled', ` 'EmailAttestationRequired', ` diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOAccessControlSettings/MSFT_SPOAccessControlSettings.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOAccessControlSettings/MSFT_SPOAccessControlSettings.schema.mof index dcde0c4937..0362970f0d 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOAccessControlSettings/MSFT_SPOAccessControlSettings.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOAccessControlSettings/MSFT_SPOAccessControlSettings.schema.mof @@ -7,8 +7,6 @@ class MSFT_SPOAccessControlSettings : OMI_BaseResource [Write, Description("Allows access from network locations that are defined by an administrator.")] boolean IPAddressEnforcement; [Write, Description("Configures multiple IP addresses or IP address ranges (IPv4 or IPv6). Use commas to separate multiple IP addresses or IP address ranges.")] string IPAddressAllowList; [Write, Description("Office webapps TokenLifeTime in minutes")] uint32 IPAddressWACTokenLifetime; - [Write, Description("When this feature is set to true, comments on site pages will be disabled")] boolean CommentsOnSitePagesDisabled; - [Write, Description("Disables or enables the Social Bar. It will give users the ability to like a page, see the number of views, likes, and comments on a page, and see the people who have liked a page.")] boolean SocialBarOnSitePagesDisabled; [Write, Description("Prevents the Download button from being displayed on the Virus Found warning page.")] boolean DisallowInfectedFileDownload; [Write, Description("Enables external services for a tenant. External services are defined as services that are not in the Office 365 datacenters.")] boolean ExternalServicesEnabled; [Write, Description("Sets email attestation to required")] boolean EmailAttestationRequired; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 index 2f2d0fbbee..594bf60760 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.psm1 @@ -82,11 +82,6 @@ function Get-TargetResource [System.String] $MarkNewFilesSensitiveByDefault, - [Parameter()] - [ValidateSet('AllowFullAccess', 'AllowLimitedAccess', 'BlockAccess')] - [System.String] - $ConditionalAccessPolicy, - [Parameter()] [System.Guid[]] $DisabledWebPartIds, @@ -95,10 +90,18 @@ function Get-TargetResource [System.Boolean] $IsFluidEnabled, + [Parameter()] + [System.Boolean] + $SocialBarOnSitePagesDisabled, + [Parameter()] [System.Boolean] $CommentsOnSitePagesDisabled, + [Parameter()] + [System.Boolean] + $EnableAIPIntegration, + [Parameter()] [ValidateSet('Present', 'Absent')] [System.String] @@ -188,9 +191,10 @@ function Get-TargetResource HideDefaultThemes = $SPOTenantSettings.HideDefaultThemes HideSyncButtonOnTeamSite = $SPOTenantSettings.HideSyncButtonOnTeamSite MarkNewFilesSensitiveByDefault = $SPOTenantSettings.MarkNewFilesSensitiveByDefault - ConditionalAccessPolicy = $SPOTenantSettings.ConditionalAccessPolicy DisabledWebPartIds = [String[]]$SPOTenantSettings.DisabledWebPartIds + SocialBarOnSitePagesDisabled = $SPOTenantSettings.SocialBarOnSitePagesDisabled CommentsOnSitePagesDisabled = $SPOTenantSettings.CommentsOnSitePagesDisabled + EnableAIPIntegration = $SPOTenantSettings.EnableAIPIntegration Credential = $Credential ApplicationId = $ApplicationId TenantId = $TenantId @@ -302,19 +306,22 @@ function Set-TargetResource [System.String] $MarkNewFilesSensitiveByDefault, - [Parameter()] - [ValidateSet('AllowFullAccess', 'AllowLimitedAccess', 'BlockAccess')] - [System.String] - $ConditionalAccessPolicy, - [Parameter()] [System.Guid[]] $DisabledWebPartIds, + [Parameter()] + [System.Boolean] + $SocialBarOnSitePagesDisabled, + [Parameter()] [System.Boolean] $CommentsOnSitePagesDisabled, + [Parameter()] + [System.Boolean] + $EnableAIPIntegration, + [Parameter()] [ValidateSet('Present', 'Absent')] [System.String] @@ -473,19 +480,22 @@ function Test-TargetResource [System.String] $MarkNewFilesSensitiveByDefault, - [Parameter()] - [ValidateSet('AllowFullAccess', 'AllowLimitedAccess', 'BlockAccess')] - [System.String] - $ConditionalAccessPolicy, - [Parameter()] [System.Guid[]] $DisabledWebPartIds, + [Parameter()] + [System.Boolean] + $SocialBarOnSitePagesDisabled, + [Parameter()] [System.Boolean] $CommentsOnSitePagesDisabled, + [Parameter()] + [System.Boolean] + $EnableAIPIntegration, + [Parameter()] [ValidateSet('Present', 'Absent')] [System.String] @@ -562,9 +572,10 @@ function Test-TargetResource 'HideDefaultThemes', ` 'HideSyncButtonOnTeamSite', ` 'MarkNewFilesSensitiveByDefault', ` - 'ConditionalAccessPolicy', ` 'DisabledWebPartIds', ` - 'CommentsOnSitePagesDisabled' + 'SocialBarOnSitePagesDisabled', ` + 'CommentsOnSitePagesDisabled', ` + 'EnableAIPIntegration' ) Write-Verbose -Message "Test-TargetResource returned $TestResult" diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.schema.mof index ef55bc0421..d4d7ea92d5 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTenantSettings/MSFT_SPOTenantSettings.schema.mof @@ -20,9 +20,10 @@ class MSFT_SPOTenantSettings : OMI_BaseResource [Write, Description("Defines if the default themes are visible or hidden")] boolean HideDefaultThemes; [Write, Description("To enable or disable Sync button on Team sites")] boolean HideSyncButtonOnTeamSite; [Write, Description("Allow or block external sharing until at least one Office DLP policy scans the content of the file."), ValueMap{"AllowExternalSharing","BlockExternalSharing"}, Values{"AllowExternalSharing","BlockExternalSharing"}] string MarkNewFilesSensitiveByDefault; - [Write, Description("Allow or Block Conditional Access Policy on the SharePoint Tenant"), ValueMap{"AllowFullAccess", "AllowLimitedAccess", "BlockAccess"}, Values{"AllowFullAccess", "AllowLimitedAccess", "BlockAccess"}] string ConditionalAccessPolicy; [Write, Description("Provide GUID for the Web Parts that are to be disabled on the Sharepoint Site")] string DisabledWebPartIds[]; + [Write, Description("Disables or enables the Social Bar. It will give users the ability to like a page, see the number of views, likes, and comments on a page, and see the people who have liked a page.")] boolean SocialBarOnSitePagesDisabled; [Write, Description("Set to false to enable a comment section on all site pages, users who have access to the pages can leave comments. Set to true to disable this feature.")] boolean CommentsOnSitePagesDisabled; + [Write, Description("Boolean indicating if Azure Information Protection (AIP) should be enabled on the tenant.")] boolean EnableAIPIntegration; [Write, Description("Only accepted value is 'Present'."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Credentials of the account to authenticate with."), EmbeddedInstance("MSFT_Credential")] string Credential; [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTheme/MSFT_SPOTheme.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTheme/MSFT_SPOTheme.schema.mof index c7e6b7c3c2..e93badc7b0 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTheme/MSFT_SPOTheme.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOTheme/MSFT_SPOTheme.schema.mof @@ -1,5 +1,5 @@ [ClassVersion("1.0.0")] -Class MSFT_SPOThemePaletteProperty +class MSFT_SPOThemePaletteProperty { [Write, Description("Name of the property.")] String Property; [Write, Description("Color value in Hexadecimal.")] String Value; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOUserProfileProperty/MSFT_SPOUserProfileProperty.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOUserProfileProperty/MSFT_SPOUserProfileProperty.schema.mof index 12871174d0..eee5aa8cb4 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_SPOUserProfileProperty/MSFT_SPOUserProfileProperty.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_SPOUserProfileProperty/MSFT_SPOUserProfileProperty.schema.mof @@ -1,5 +1,5 @@ [ClassVersion("1.0.0")] -Class MSFT_SPOUserProfilePropertyInstance +class MSFT_SPOUserProfilePropertyInstance { [Write, Description("Name of the User Profile Property.")] String Key; [Write, Description("Value of the User Profile Property.")] String Value; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAppPermissionPolicy/MSFT_TeamsAppPermissionPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAppPermissionPolicy/MSFT_TeamsAppPermissionPolicy.psm1 index 2d827e4c6b..8ad284fa21 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAppPermissionPolicy/MSFT_TeamsAppPermissionPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAppPermissionPolicy/MSFT_TeamsAppPermissionPolicy.psm1 @@ -360,7 +360,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAppSetupPolicy/MSFT_TeamsAppSetupPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAppSetupPolicy/MSFT_TeamsAppSetupPolicy.psm1 index 6e99c8ba52..cbc9ad23f1 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAppSetupPolicy/MSFT_TeamsAppSetupPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAppSetupPolicy/MSFT_TeamsAppSetupPolicy.psm1 @@ -360,7 +360,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAudioConferencingPolicy/MSFT_TeamsAudioConferencingPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAudioConferencingPolicy/MSFT_TeamsAudioConferencingPolicy.psm1 index 43a53564cd..01e0cd925e 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAudioConferencingPolicy/MSFT_TeamsAudioConferencingPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsAudioConferencingPolicy/MSFT_TeamsAudioConferencingPolicy.psm1 @@ -269,7 +269,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallHoldPolicy/MSFT_TeamsCallHoldPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallHoldPolicy/MSFT_TeamsCallHoldPolicy.psm1 index 1df4ef83b1..c337cb990f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallHoldPolicy/MSFT_TeamsCallHoldPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallHoldPolicy/MSFT_TeamsCallHoldPolicy.psm1 @@ -269,7 +269,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallParkPolicy/MSFT_TeamsCallParkPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallParkPolicy/MSFT_TeamsCallParkPolicy.psm1 index ed6ad7db1e..c9e83bc4f1 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallParkPolicy/MSFT_TeamsCallParkPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCallParkPolicy/MSFT_TeamsCallParkPolicy.psm1 @@ -308,7 +308,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsChannelTab/MSFT_TeamsChannelTab.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsChannelTab/MSFT_TeamsChannelTab.schema.mof index 62c2b473b9..4006282247 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsChannelTab/MSFT_TeamsChannelTab.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsChannelTab/MSFT_TeamsChannelTab.schema.mof @@ -1,16 +1,16 @@ [ClassVersion("1.0.0.0"), FriendlyName("TeamsChannelTab")] class MSFT_TeamsChannelTab : OMI_BaseResource { - [Key, Description("Display Name of the Channel Tab.")]String DisplayName; - [Key, Description("Display Name of the Team.")]String TeamName; - [Key, Description("Display Name of the Channel.")]String ChannelName; - [Write, Description("Unique Id of the Team of the instance on the source tenant.")]String TeamId; - [Write, Description("Id of the Teams App associated with the custom tab.")]String TeamsApp; - [Write, Description("Index of the sort order for the custom tab.")]UInt32 SortOrderIndex; - [Write, Description("Url of the website linked to the Channel Tab.")]String WebSiteUrl; - [Write, Description("Url of the content linked to the Channel Tab.")]String ContentUrl; - [Write, Description("Url of the location used to remove the app.")]String RemoveUrl; - [Write, Description("Id of the Entity linked to the Channel Tab.")]String EntityId; + [Key, Description("Display Name of the Channel Tab.")] String DisplayName; + [Key, Description("Display Name of the Team.")] String TeamName; + [Key, Description("Display Name of the Channel.")] String ChannelName; + [Write, Description("Unique Id of the Team of the instance on the source tenant.")] String TeamId; + [Write, Description("Id of the Teams App associated with the custom tab.")] String TeamsApp; + [Write, Description("Index of the sort order for the custom tab.")] UInt32 SortOrderIndex; + [Write, Description("Url of the website linked to the Channel Tab.")] String WebSiteUrl; + [Write, Description("Url of the content linked to the Channel Tab.")] String ContentUrl; + [Write, Description("Url of the location used to remove the app.")] String RemoveUrl; + [Write, Description("Id of the Entity linked to the Channel Tab.")] String EntityId; [Write, Description("Present ensures the Tab exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Credentials of the Teams Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsComplianceRecordingPolicy/MSFT_TeamsComplianceRecordingPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsComplianceRecordingPolicy/MSFT_TeamsComplianceRecordingPolicy.psm1 index 3cd4f041a4..48943215f6 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsComplianceRecordingPolicy/MSFT_TeamsComplianceRecordingPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsComplianceRecordingPolicy/MSFT_TeamsComplianceRecordingPolicy.psm1 @@ -317,7 +317,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCortanaPolicy/MSFT_TeamsCortanaPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCortanaPolicy/MSFT_TeamsCortanaPolicy.psm1 index 9000814b1a..dee926e57f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCortanaPolicy/MSFT_TeamsCortanaPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsCortanaPolicy/MSFT_TeamsCortanaPolicy.psm1 @@ -272,7 +272,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsEmergencyCallRoutingPolicy/MSFT_TeamsEmergencyCallRoutingPolicy.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsEmergencyCallRoutingPolicy/MSFT_TeamsEmergencyCallRoutingPolicy.schema.mof index 0a7d6ed6da..5808a36d8d 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsEmergencyCallRoutingPolicy/MSFT_TeamsEmergencyCallRoutingPolicy.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsEmergencyCallRoutingPolicy/MSFT_TeamsEmergencyCallRoutingPolicy.schema.mof @@ -1,5 +1,5 @@ [ClassVersion("1.0.0")] -Class MSFT_TeamsEmergencyNumber +class MSFT_TeamsEmergencyNumber { [Write, Description("Specifies the emergency phone number.")] String EmergencyDialString; [Write, Description("For each Teams emergency number, you can specify zero or more emergency dial masks. A dial mask is a number that you want to translate into the value of the emergency dial number value when it is dialed.")] String EmergencyDialMask; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsEnhancedEncryptionPolicy/MSFT_TeamsEnhancedEncryptionPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsEnhancedEncryptionPolicy/MSFT_TeamsEnhancedEncryptionPolicy.psm1 index 2fc0ef8df9..8afa511b18 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsEnhancedEncryptionPolicy/MSFT_TeamsEnhancedEncryptionPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsEnhancedEncryptionPolicy/MSFT_TeamsEnhancedEncryptionPolicy.psm1 @@ -282,7 +282,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsFeedbackPolicy/MSFT_TeamsFeedbackPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsFeedbackPolicy/MSFT_TeamsFeedbackPolicy.psm1 index 3bd7721982..ceedd36578 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsFeedbackPolicy/MSFT_TeamsFeedbackPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsFeedbackPolicy/MSFT_TeamsFeedbackPolicy.psm1 @@ -324,7 +324,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsFilesPolicy/MSFT_TeamsFilesPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsFilesPolicy/MSFT_TeamsFilesPolicy.psm1 index ec3d0c3539..651812f721 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsFilesPolicy/MSFT_TeamsFilesPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsFilesPolicy/MSFT_TeamsFilesPolicy.psm1 @@ -275,7 +275,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsGroupPolicyAssignment/MSFT_TeamsGroupPolicyAssignment.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsGroupPolicyAssignment/MSFT_TeamsGroupPolicyAssignment.psm1 index 7ab2957bbc..79dde04e60 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsGroupPolicyAssignment/MSFT_TeamsGroupPolicyAssignment.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsGroupPolicyAssignment/MSFT_TeamsGroupPolicyAssignment.psm1 @@ -384,27 +384,24 @@ function Export-TargetResource } $dscContent = [System.Text.StringBuilder]::new() $j = 1 - $totalCount = $instances.Length foreach ($item in $instances) { [array]$Group = Find-CsGroup -SearchQuery $item.GroupId -ExactMatchOnly $true - if ($null -eq $totalCount) + if ($null -eq $Group -or $null -eq $Group.DisplayName) { - $totalCount = 1 + $Message = "Group with Id {$($item.GroupId)} could not be found, skipping assignment" + Write-Host $Message + New-M365DSCLogEntry -Message "Error during Export: $Message" ` + -Source $($MyInvocation.MyCommand.Source) ` + -TenantId $TenantId ` + -Credential $Credential + + continue } - if ($totalCount -Eq 0) - { - $Message = "GPA The CSsGroup with ID {$($item.GroupId)} could not be found" - New-M365DSCLogEntry -Message $Message ` - -Source $MyInvocation.MyCommand.ModuleName - Write-Error $Message - $groupDisplayName = "" - } else { - $groupDisplayName = $Group[0].DisplayName - } - Write-Host " |---[$j/$totalCount] GroupPolicyAssignment {$($Group[0].DisplayName)}" -NoNewline + + Write-Host " |---[$j/$($instances.Length)] GroupPolicyAssignment {$($Group.DisplayName)-$($item.PolicyType)}" -NoNewline $results = @{ - GroupDisplayName = $groupDisplayName + GroupDisplayName = $Group.DisplayName GroupId = $item.GroupId PolicyType = $item.PolicyType PolicyName = $item.PolicyName diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsIPPhonePolicy/MSFT_TeamsIPPhonePolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsIPPhonePolicy/MSFT_TeamsIPPhonePolicy.psm1 index 9171d265f6..8fc3bc586c 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsIPPhonePolicy/MSFT_TeamsIPPhonePolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsIPPhonePolicy/MSFT_TeamsIPPhonePolicy.psm1 @@ -346,7 +346,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsMobilityPolicy/MSFT_TeamsMobilityPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsMobilityPolicy/MSFT_TeamsMobilityPolicy.psm1 index 173998fe7f..ae8ae9056f 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsMobilityPolicy/MSFT_TeamsMobilityPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsMobilityPolicy/MSFT_TeamsMobilityPolicy.psm1 @@ -304,7 +304,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsNetworkRoamingPolicy/MSFT_TeamsNetworkRoamingPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsNetworkRoamingPolicy/MSFT_TeamsNetworkRoamingPolicy.psm1 index 1bd6fdb1e2..2b20e62aa6 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsNetworkRoamingPolicy/MSFT_TeamsNetworkRoamingPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsNetworkRoamingPolicy/MSFT_TeamsNetworkRoamingPolicy.psm1 @@ -282,7 +282,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsOrgWideAppSettings/settings.json b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsOrgWideAppSettings/settings.json index 8f51aaedff..7e12b8b9f1 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsOrgWideAppSettings/settings.json +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsOrgWideAppSettings/settings.json @@ -1,5 +1,5 @@ { - "resourceName": "TeamsUpgradeConfiguration", + "resourceName": "TeamsOrgWideAppSettings", "description": "", "roles": { "read": [ diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsShiftsPolicy/MSFT_TeamsShiftsPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsShiftsPolicy/MSFT_TeamsShiftsPolicy.psm1 index ccbc63bbab..21fe23aae8 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsShiftsPolicy/MSFT_TeamsShiftsPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsShiftsPolicy/MSFT_TeamsShiftsPolicy.psm1 @@ -351,7 +351,7 @@ function Test-TargetResource $ValuesToCheck.Remove('Identity') | Out-Null $ValuesToCheck.Remove('EnableShiftPresence') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 index 836e0d6174..3e8b02e1ca 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1 @@ -15,7 +15,7 @@ function Get-TargetResource [Parameter()] [System.String] - [ValidateLength(1, 1024)] + [ValidateLength(0, 1024)] $Description, [Parameter()] @@ -254,7 +254,7 @@ function Set-TargetResource [Parameter()] [System.String] - [ValidateLength(1, 1024)] + [ValidateLength(0, 1024)] $Description, [Parameter()] @@ -505,7 +505,7 @@ function Test-TargetResource [Parameter()] [System.String] - [ValidateLength(1, 1024)] + [ValidateLength(0, 1024)] $Description, [Parameter()] @@ -714,29 +714,33 @@ function Export-TargetResource Write-Host "`r`n" -NoNewline foreach ($team in $teams) { - Write-Host " |---[$i/$($teams.Length)] $($team.DisplayName)" -NoNewline - $params = @{ - DisplayName = $team.DisplayName - GroupID = $team.GroupId - Credential = $Credential - ApplicationId = $ApplicationId - TenantId = $TenantId - CertificateThumbprint = $CertificateThumbprint - ManagedIdentity = $ManagedIdentity.IsPresent + # Skip Teams without DisplayName (orphaned/deleted Teams) because the Get method cannot be called without a display name + if ($null -ne $team.DisplayName -and $team.DisplayName -ne '') + { + Write-Host " |---[$i/$($teams.Length)] $($team.DisplayName)" -NoNewline + $params = @{ + DisplayName = $team.DisplayName + GroupID = $team.GroupId + Credential = $Credential + ApplicationId = $ApplicationId + TenantId = $TenantId + CertificateThumbprint = $CertificateThumbprint + ManagedIdentity = $ManagedIdentity.IsPresent + } + $Results = Get-TargetResource @Params + $Results = Update-M365DSCExportAuthenticationResults -ConnectionMode $ConnectionMode ` + -Results $Results + $currentDSCBlock = Get-M365DSCExportContentForResource -ResourceName $ResourceName ` + -ConnectionMode $ConnectionMode ` + -ModulePath $PSScriptRoot ` + -Results $Results ` + -Credential $Credential + $dscContent += $currentDSCBlock + Save-M365DSCPartialExport -Content $currentDSCBlock ` + -FileName $Global:PartialExportFileName + $i++ + Write-Host $Global:M365DSCEmojiGreenCheckMark } - $Results = Get-TargetResource @Params - $Results = Update-M365DSCExportAuthenticationResults -ConnectionMode $ConnectionMode ` - -Results $Results - $currentDSCBlock = Get-M365DSCExportContentForResource -ResourceName $ResourceName ` - -ConnectionMode $ConnectionMode ` - -ModulePath $PSScriptRoot ` - -Results $Results ` - -Credential $Credential - $dscContent += $currentDSCBlock - Save-M365DSCPartialExport -Content $currentDSCBlock ` - -FileName $Global:PartialExportFileName - $i++ - Write-Host $Global:M365DSCEmojiGreenCheckMark } return $dscContent diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantDialPlan/MSFT_TeamsTenantDialPlan.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantDialPlan/MSFT_TeamsTenantDialPlan.psm1 index 3d7c71a490..6a40bf274d 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantDialPlan/MSFT_TeamsTenantDialPlan.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantDialPlan/MSFT_TeamsTenantDialPlan.psm1 @@ -97,8 +97,6 @@ function Get-TargetResource Identity = $Identity.Replace('Tag:', '') Description = $config.Description NormalizationRules = $rules - ExternalAccessPrefix = $config.ExternalAccessPrefix - OptimizeDeviceDialing = $config.OptimizeDeviceDialing SimpleName = $config.SimpleName Credential = $Credential Ensure = 'Present' @@ -195,6 +193,19 @@ function Set-TargetResource #endregion $CurrentValues = Get-TargetResource @PSBoundParameters + $PSBoundParameters = Remove-M365DSCAuthenticationParameter -BoundParameters $PSBoundParameters + if ($PSBoundParameters.ContainsKey('OptimizeDeviceDialing')) + { + $PSBoundParameters.Remove('OptimizeDeviceDialing') | Out-Null + + Write-Verbose -Message "Parameter OptimizeDeviceDialing has been deprecated and must not be used, removing it from PSBoundParameters." + } + if ($PSBoundParameters.ContainsKey('ExternalAccessPrefix')) + { + $PSBoundParameters.Remove('ExternalAccessPrefix') | Out-Null + + Write-Verbose -Message "Parameter ExternalAccessPrefix has been deprecated and must not be used, removing it from PSBoundParameters." + } if ($Ensure -eq 'Present' -and $CurrentValues.Ensure -eq 'Absent') { @@ -215,25 +226,13 @@ function Set-TargetResource $AllRules += $ruleObject } - $NewParameters = $PSBoundParameters - $NewParameters.Remove('Credential') | Out-Null - $NewParameters.Remove('ApplicationId') | Out-Null - $NewParameters.Remove('TenantId') | Out-Null - $NewParameters.Remove('CertificateThumbprint') | Out-Null - $NewParameters.Remove('Ensure') | Out-Null - $NewParameters.Remove('ManagedIdentity') | Out-Null - $NewParameters.NormalizationRules = @{Add = $AllRules } + $PSBoundParameters.NormalizationRules = @{ Add = $AllRules } - New-CsTenantDialPlan @NewParameters + New-CsTenantDialPlan @PSBoundParameters } elseif ($Ensure -eq 'Present' -and $CurrentValues.Ensure -eq 'Present') { Write-Verbose -Message "Tenant Dial Plan {$Identity} already exists. Updating it." - $SetParameters = $PSBoundParameters - $SetParameters.Remove('Credential') | Out-Null - $SetParameters.Remove('Ensure') | Out-Null - $SetParameters.Remove('SimpleName') | Out-Null - $SetParameters.Remove('ManagedIdentity') | Out-Null $desiredRules = @() foreach ($rule in $NormalizationRules) @@ -262,7 +261,7 @@ function Set-TargetResource -Translation $ruleToAdd.Translation ` -InMemory Write-Verbose 'VoiceNormalizationRule created' - Set-CsTenantDialPlan -Identity $Identity -NormalizationRules @{Add = $ruleObject } + Set-CsTenantDialPlan -Identity $Identity -NormalizationRules @{ Add = $ruleObject } Write-Verbose 'Updated the Tenant Dial Plan' } foreach ($ruleToRemove in $differences.RulesToRemove) @@ -277,7 +276,7 @@ function Set-TargetResource { Write-Verbose "Removing VoiceNormalizationRule {$($ruleToRemove.Identity)}" Write-Verbose 'VoiceNormalizationRule created' - Set-CsTenantDialPlan -Identity $Identity -NormalizationRules @{Remove = $ruleObject } + Set-CsTenantDialPlan -Identity $Identity -NormalizationRules @{ Remove = $ruleObject } Write-Verbose 'Updated the Tenant Dial Plan' } } @@ -292,14 +291,14 @@ function Set-TargetResource if ($null -ne $ruleObject) { Write-Verbose "Updating VoiceNormalizationRule {$($ruleToUpdate.Identity)}" - Set-CsTenantDialPlan -Identity $Identity -NormalizationRules @{Remove = $ruleObject } + Set-CsTenantDialPlan -Identity $Identity -NormalizationRules @{ Remove = $ruleObject } $ruleObject = New-CsVoiceNormalizationRule -Identity "Global/$($ruleToUpdate.Identity.Replace('Tag:', ''))" ` -Description $ruleToUpdate.Description ` -Pattern $ruleToUpdate.Pattern ` -Translation $ruleToUpdate.Translation ` -InMemory Write-Verbose 'VoiceNormalizationRule Updated' - Set-CsTenantDialPlan -Identity $Identity -NormalizationRules @{Add = $ruleObject } + Set-CsTenantDialPlan -Identity $Identity -NormalizationRules @{ Add = $ruleObject } Write-Verbose 'Updated the Tenant Dial Plan' } } @@ -307,7 +306,7 @@ function Set-TargetResource elseif ($Ensure -eq 'Absent' -and $CurrentValues.Ensure -eq 'Present') { Write-Verbose -Message "Tenant Dial Plan {$Identity} exists and shouldn't. Removing it." - Remove-CsTenantDialPlan -Identity $Identity -Confirm:$false + Remove-CsTenantDialPlan -Identity $Identity } } @@ -383,6 +382,18 @@ function Test-TargetResource Write-Verbose -Message 'Testing configuration of Teams Guest Calling' $CurrentValues = Get-TargetResource @PSBoundParameters + if ($PSBoundParameters.ContainsKey('OptimizeDeviceDialing')) + { + $PSBoundParameters.Remove('OptimizeDeviceDialing') | Out-Null + + Write-Verbose -Message "Parameter OptimizeDeviceDialing has been deprecated and must not be used, removing it from PSBoundParameters." + } + if ($PSBoundParameters.ContainsKey('ExternalAccessPrefix')) + { + $PSBoundParameters.Remove('ExternalAccessPrefix') | Out-Null + + Write-Verbose -Message "Parameter ExternalAccessPrefix has been deprecated and must not be used, removing it from PSBoundParameters." + } Write-Verbose -Message "Current Values: $(Convert-M365DscHashtableToString -Hashtable $CurrentValues)" Write-Verbose -Message "Target Values: $(Convert-M365DscHashtableToString -Hashtable $PSBoundParameters)" @@ -646,20 +657,20 @@ function Get-M365DSCNormalizationRulesAsString { return $null } - $currentProperty = '@(' + $currentProperty = "@(`r`n" foreach ($rule in $params) { - $currentProperty += "MSFT_TeamsVoiceNormalizationRule{`r`n" + $currentProperty += " MSFT_TeamsVoiceNormalizationRule{`r`n" foreach ($key in $rule.Keys) { if ($key -eq 'Priority') { - $currentProperty += ' ' + $key + ' = ' + $rule[$key] + "`r`n" + $currentProperty += ' ' + $key + ' = ' + $rule[$key] + "`r`n" } elseif ($key -eq 'IsInternalExtension') { - $currentProperty += ' ' + $key + " = `$" + $rule[$key] + "`r`n" + $currentProperty += ' ' + $key + " = `$" + $rule[$key] + "`r`n" } else { @@ -668,12 +679,13 @@ function Get-M365DSCNormalizationRulesAsString { $value = $value.Replace("'", "''") } - $currentProperty += ' ' + $key + " = '" + $value + "'`r`n" + $currentProperty += ' ' + $key + " = '" + $value + "'`r`n" } } - $currentProperty += ' }' + $currentProperty += " }`r`n" } - $currentProperty += ')' + $currentProperty += ' )' + return $currentProperty } diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantDialPlan/MSFT_TeamsTenantDialPlan.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantDialPlan/MSFT_TeamsTenantDialPlan.schema.mof index ced75f065d..94c3b028e5 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantDialPlan/MSFT_TeamsTenantDialPlan.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantDialPlan/MSFT_TeamsTenantDialPlan.schema.mof @@ -1,5 +1,5 @@ [ClassVersion("1.0.0")] -Class MSFT_TeamsVoiceNormalizationRule +class MSFT_TeamsVoiceNormalizationRule { [Write, Description("A unique identifier for the rule. The Identity specified must include the scope followed by a slash and then the name; for example: site:Redmond/Rule1, where site:Redmond is the scope and Rule1 is the name. The name portion will automatically be stored in the Name property. You cannot specify values for Identity and Name in the same command.")] String Identity; [Write, Description("The order in which rules are applied. A phone number might match more than one rule. This parameter sets the order in which the rules are tested against the number.")] UInt32 Priority; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkRegion/MSFT_TeamsTenantNetworkRegion.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkRegion/MSFT_TeamsTenantNetworkRegion.psm1 index 5a540e70a8..e9e8b34834 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkRegion/MSFT_TeamsTenantNetworkRegion.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkRegion/MSFT_TeamsTenantNetworkRegion.psm1 @@ -269,7 +269,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkSite/MSFT_TeamsTenantNetworkSite.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkSite/MSFT_TeamsTenantNetworkSite.psm1 index 19ae116587..9613fc5995 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkSite/MSFT_TeamsTenantNetworkSite.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkSite/MSFT_TeamsTenantNetworkSite.psm1 @@ -347,7 +347,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkSubnet/MSFT_TeamsTenantNetworkSubnet.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkSubnet/MSFT_TeamsTenantNetworkSubnet.psm1 index aad8b6b03f..504a3e3e60 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkSubnet/MSFT_TeamsTenantNetworkSubnet.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantNetworkSubnet/MSFT_TeamsTenantNetworkSubnet.psm1 @@ -282,7 +282,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantTrustedIPAddress/MSFT_TeamsTenantTrustedIPAddress.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantTrustedIPAddress/MSFT_TeamsTenantTrustedIPAddress.psm1 index 17a6d293e3..c9cbf4195b 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantTrustedIPAddress/MSFT_TeamsTenantTrustedIPAddress.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTenantTrustedIPAddress/MSFT_TeamsTenantTrustedIPAddress.psm1 @@ -271,7 +271,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTranslationRule/MSFT_TeamsTranslationRule.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTranslationRule/MSFT_TeamsTranslationRule.psm1 index d1766a867f..13af6a3230 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTranslationRule/MSFT_TeamsTranslationRule.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsTranslationRule/MSFT_TeamsTranslationRule.psm1 @@ -282,7 +282,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUnassignedNumberTreatment/MSFT_TeamsUnassignedNumberTreatment.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUnassignedNumberTreatment/MSFT_TeamsUnassignedNumberTreatment.psm1 index 80356fbeaf..03714aa3d3 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUnassignedNumberTreatment/MSFT_TeamsUnassignedNumberTreatment.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUnassignedNumberTreatment/MSFT_TeamsUnassignedNumberTreatment.psm1 @@ -311,7 +311,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpdateManagementPolicy/MSFT_TeamsUpdateManagementPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpdateManagementPolicy/MSFT_TeamsUpdateManagementPolicy.psm1 index 7f795ddcb8..381010632d 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpdateManagementPolicy/MSFT_TeamsUpdateManagementPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpdateManagementPolicy/MSFT_TeamsUpdateManagementPolicy.psm1 @@ -39,7 +39,7 @@ function Get-TargetResource $UpdateTimeOfDay, [Parameter()] - [ValidateSet('UserChoice', 'MicrosoftChoice', 'AdminDisabled', 'NewTeamsAsDefault')] + [ValidateSet('UserChoice', 'MicrosoftChoice', 'AdminDisabled', 'NewTeamsAsDefault', 'NewTeamsOnly')] [System.String] $UseNewTeamsClient, @@ -174,7 +174,7 @@ function Set-TargetResource $UpdateTimeOfDay, [Parameter()] - [ValidateSet('UserChoice', 'MicrosoftChoice', 'AdminDisabled', 'NewTeamsAsDefault')] + [ValidateSet('UserChoice', 'MicrosoftChoice', 'AdminDisabled', 'NewTeamsAsDefault', 'NewTeamsOnly')] [System.String] $UseNewTeamsClient, @@ -297,7 +297,7 @@ function Test-TargetResource $UpdateTimeOfDay, [Parameter()] - [ValidateSet('UserChoice', 'MicrosoftChoice', 'AdminDisabled', 'NewTeamsAsDefault')] + [ValidateSet('UserChoice', 'MicrosoftChoice', 'AdminDisabled', 'NewTeamsAsDefault', 'NewTeamsOnly')] [System.String] $UseNewTeamsClient, diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpdateManagementPolicy/MSFT_TeamsUpdateManagementPolicy.schema.mof b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpdateManagementPolicy/MSFT_TeamsUpdateManagementPolicy.schema.mof index 5efe8f1dbc..dd0630358b 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpdateManagementPolicy/MSFT_TeamsUpdateManagementPolicy.schema.mof +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsUpdateManagementPolicy/MSFT_TeamsUpdateManagementPolicy.schema.mof @@ -9,7 +9,7 @@ class MSFT_TeamsUpdateManagementPolicy : OMI_BaseResource [Write, Description("Determines the day of week to perform the updates. Value shoud be between 0 and 6.")] UInt32 UpdateDayOfWeek; [Write, Description("Determines the time of day to perform the updates. Must be a valid HH:MM format string with leading 0. For instance 08:30.")] String UpdateTime; [Write, Description("Determines the time of day to perform the updates. Accepts a DateTime as string. Only the time will be considered.")] String UpdateTimeOfDay; - [Write, Description("Determines whether or not users will use the new Teams client."), ValueMap{"NewTeamsAsDefault","UserChoice","MicrosoftChoice","AdminDisabled"}, Values{"NewTeamsAsDefault","UserChoice","MicrosoftChoice","AdminDisabled"}] String UseNewTeamsClient; + [Write, Description("Determines whether or not users will use the new Teams client."), ValueMap{"NewTeamsAsDefault","UserChoice","MicrosoftChoice","AdminDisabled","NewTeamsOnly"}, Values{"NewTeamsAsDefault","UserChoice","MicrosoftChoice","AdminDisabled","NewTeamsOnly"}] String UseNewTeamsClient; [Write, Description("Present ensures the policy exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Credentials of the Teams Admin"), EmbeddedInstance("MSFT_Credential")] string Credential; [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId; diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsVdiPolicy/MSFT_TeamsVdiPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsVdiPolicy/MSFT_TeamsVdiPolicy.psm1 index 1fc10c12d8..8ab19dcffc 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsVdiPolicy/MSFT_TeamsVdiPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsVdiPolicy/MSFT_TeamsVdiPolicy.psm1 @@ -269,7 +269,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsVoiceRoute/MSFT_TeamsVoiceRoute.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsVoiceRoute/MSFT_TeamsVoiceRoute.psm1 index 61bf169a38..80213e353e 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsVoiceRoute/MSFT_TeamsVoiceRoute.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsVoiceRoute/MSFT_TeamsVoiceRoute.psm1 @@ -321,12 +321,12 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck = Remove-M365DSCAuthenticationParameter -BoundParameters $ValuesToCheck - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false } - if ($CurrentValues.Ensure -eq 'Absent' -and $PSBoundParameters.Ensure -eq 'Absent') + if ($CurrentValues.Ensure -eq 'Absent' -and $Ensure -eq 'Absent') { Write-Verbose -Message "Test-TargetResource returned $true" return $true diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsWorkloadPolicy/MSFT_TeamsWorkloadPolicy.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsWorkloadPolicy/MSFT_TeamsWorkloadPolicy.psm1 index a19d66bff3..875b9f54db 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsWorkloadPolicy/MSFT_TeamsWorkloadPolicy.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_TeamsWorkloadPolicy/MSFT_TeamsWorkloadPolicy.psm1 @@ -334,7 +334,7 @@ function Test-TargetResource $ValuesToCheck = ([Hashtable]$PSBoundParameters).Clone() $ValuesToCheck.Remove('Identity') | Out-Null - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 b/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 index 4c14b55f3f..1b84896db6 100644 --- a/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 +++ b/Modules/Microsoft365DSC/Dependencies/Manifest.psd1 @@ -2,7 +2,7 @@ Dependencies = @( @{ ModuleName = 'DSCParser' - RequiredVersion = '1.4.0.4' + RequiredVersion = '2.0.0.3' }, @{ ModuleName = 'ExchangeOnlineManagement' @@ -86,7 +86,7 @@ }, @{ ModuleName = "MSCloudLoginAssistant" - RequiredVersion = "1.1.13" + RequiredVersion = "1.1.14" }, @{ ModuleName = 'PnP.PowerShell' diff --git a/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/1-Create.ps1 b/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/1-Create.ps1 index 5c764b636b..c8cd6045bb 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/1-Create.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/1-Create.ps1 @@ -13,7 +13,7 @@ Configuration Example ) Import-DscResource -ModuleName Microsoft365DSC - + $Domain = $Credscredential.Username.Split('@')[1] node localhost { AADAdministrativeUnit 'TestUnit' @@ -23,7 +23,17 @@ Configuration Example MembershipRule = "(user.country -eq `"Canada`")" MembershipRuleProcessingState = 'On' MembershipType = 'Dynamic' - Ensure = 'Present' + ScopedRoleMembers = @( + MSFT_MicrosoftGraphScopedRoleMembership + { + RoleName = 'User Administrator' + RoleMemberInfo = MSFT_MicrosoftGraphMember + { + Identity = "admin@$Domain" + Type = "User" + } + } + ) Credential = $Credscredential } } diff --git a/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/2-Update.ps1 index dde9416d5f..c9f01960e9 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/2-Update.ps1 @@ -13,16 +13,28 @@ Configuration Example ) Import-DscResource -ModuleName Microsoft365DSC - + $Domain = $Credscredential.Username.Split('@')[1] node localhost { AADAdministrativeUnit 'TestUnit' { DisplayName = 'Test-Unit' + Description = 'Test Description Updated' # Updated Property + Visibility = 'HiddenMembership' # Updated Property MembershipRule = "(user.country -eq `"US`")" # Updated Property MembershipRuleProcessingState = 'On' MembershipType = 'Dynamic' - Ensure = 'Present' + ScopedRoleMembers = @( + MSFT_MicrosoftGraphScopedRoleMembership + { + RoleName = 'User Administrator' + RoleMemberInfo = MSFT_MicrosoftGraphMember + { + Identity = "AdeleV@$Domain" # Updated Property + Type = "User" + } + } + ) Credential = $Credscredential } } diff --git a/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/3-Remove.ps1 b/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/3-Remove.ps1 index 354f73cf2c..ae31a25232 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/3-Remove.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/AADAdministrativeUnit/3-Remove.ps1 @@ -13,7 +13,7 @@ Configuration Example ) Import-DscResource -ModuleName Microsoft365DSC - + $Domain = $Credscredential.Username.Split('@')[1] node localhost { AADAdministrativeUnit 'TestUnit' diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/1-Create.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/1-Create.ps1 index 3c71726bab..b58921fed5 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/1-Create.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/1-Create.ps1 @@ -17,7 +17,7 @@ Configuration Example { EXOMailTips 'OrgWideMailTips' { - Organization = $Domain + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $True MailTipsGroupMetricsEnabled = $True MailTipsLargeAudienceThreshold = 100 diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/2-Update.ps1 index 172deb2c04..95cafdbc6c 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/2-Update.ps1 @@ -17,7 +17,7 @@ Configuration Example { EXOMailTips 'OrgWideMailTips' { - Organization = $Domain + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $True MailTipsGroupMetricsEnabled = $False # Updated Property MailTipsLargeAudienceThreshold = 100 diff --git a/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/3-Remove.ps1 b/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/3-Remove.ps1 index d4e681aa7d..3a010d19d9 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/3-Remove.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/EXOMailTips/3-Remove.ps1 @@ -17,9 +17,9 @@ Configuration Example { EXOMailTips 'OrgWideMailTips' { - Organization = $Domain - Ensure = "Absent" - Credential = $Credscredential + IsSingleInstance = 'Yes' + Ensure = "Absent" + Credential = $Credscredential } } } diff --git a/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/1-Create.ps1 b/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/1-Create.ps1 index d4f86f83bd..59d2180462 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/1-Create.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/1-Create.ps1 @@ -33,6 +33,7 @@ Configuration Example DeviceEnrollmentConfigurationType = "platformRestrictions"; DisplayName = "All users and all devices"; Ensure = "Present"; + Identity = "3868d43e-873e-4416-8fd1-fc3d67c7c15c_DefaultPlatformRestrictions"; IosRestriction = MSFT_DeviceEnrollmentPlatformRestriction{ platformBlocked = $False personalDeviceEnrollmentBlocked = $False diff --git a/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/2-Update.ps1 index 199e66794f..24eecb9143 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/2-Update.ps1 @@ -32,6 +32,7 @@ Configuration Example Description = "This is the default Device Type Restriction applied with the lowest priority to all users regardless of group membership."; DeviceEnrollmentConfigurationType = "platformRestrictions"; DisplayName = "All users and all devices"; + Identity = "3868d43e-873e-4416-8fd1-fc3d67c7c15c_DefaultPlatformRestrictions"; Ensure = "Present"; IosRestriction = MSFT_DeviceEnrollmentPlatformRestriction{ platformBlocked = $True # Updated Property diff --git a/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/3-Remove.ps1 b/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/3-Remove.ps1 index bf083ccd97..5727bbb579 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/3-Remove.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/IntuneDeviceEnrollmentPlatformRestriction/3-Remove.ps1 @@ -16,8 +16,18 @@ Configuration Example IntuneDeviceEnrollmentPlatformRestriction 'DeviceEnrollmentPlatformRestriction' { Credential = $Credscredential - DisplayName = "All users and all devices"; + DisplayName = "Removed Policy"; Ensure = "Absent"; + Assignments = @(); + Description = "This is a single platform restriction policy."; + DeviceEnrollmentConfigurationType = "singlePlatformRestriction"; + Identity = "d59e4c28-b6b2-48ad-a6f0-a2132300b99d_SinglePlatformRestriction"; + IosRestriction = MSFT_DeviceEnrollmentPlatformRestriction{ + PlatformBlocked = $True + PersonalDeviceEnrollmentBlocked = $False + }; + Priority = 1; + TenantId = $OrganizationName; } } } diff --git a/Modules/Microsoft365DSC/Examples/Resources/SPOAccessControlSettings/1-ConfigureSPOAccessControlSettings.ps1 b/Modules/Microsoft365DSC/Examples/Resources/SPOAccessControlSettings/1-ConfigureSPOAccessControlSettings.ps1 index 74fc36bcd4..95417cc094 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/SPOAccessControlSettings/1-ConfigureSPOAccessControlSettings.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/SPOAccessControlSettings/1-ConfigureSPOAccessControlSettings.ps1 @@ -21,8 +21,6 @@ Configuration Example StartASiteFormUrl = "https://contoso.sharepoint.com" IPAddressEnforcement = $false IPAddressWACTokenLifetime = 15 - CommentsOnSitePagesDisabled = $false - SocialBarOnSitePagesDisabled = $false DisallowInfectedFileDownload = $false ExternalServicesEnabled = $true EmailAttestationRequired = $false diff --git a/Modules/Microsoft365DSC/Examples/Resources/SPOTenantSettings/1-ConfigureSPOTenantSettings.ps1 b/Modules/Microsoft365DSC/Examples/Resources/SPOTenantSettings/1-ConfigureSPOTenantSettings.ps1 index 33c934c987..31f07cb4df 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/SPOTenantSettings/1-ConfigureSPOTenantSettings.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/SPOTenantSettings/1-ConfigureSPOTenantSettings.ps1 @@ -16,25 +16,27 @@ Configuration Example { SPOTenantSettings 'ConfigureTenantSettings' { - IsSingleInstance = "Yes" + IsSingleInstance = 'Yes' MinCompatibilityLevel = 16 MaxCompatibilityLevel = 16 SearchResolveExactEmailOrUPN = $false OfficeClientADALDisabled = $false LegacyAuthProtocolsEnabled = $true - SignInAccelerationDomain = "" + SignInAccelerationDomain = '' UsePersistentCookiesForExplorerView = $false UserVoiceForFeedbackEnabled = $true PublicCdnEnabled = $false - PublicCdnAllowedFileTypes = "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF" + PublicCdnAllowedFileTypes = 'CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF' UseFindPeopleInPeoplePicker = $false NotificationsInSharePointEnabled = $true OwnerAnonymousNotification = $true ApplyAppEnforcedRestrictionsToAdHocRecipients = $true FilePickerExternalImageSearchEnabled = $true HideDefaultThemes = $false - MarkNewFilesSensitiveByDefault = "AllowExternalSharing" - Ensure = "Present" + MarkNewFilesSensitiveByDefault = 'AllowExternalSharing' + CommentsOnSitePagesDisabled = $false + SocialBarOnSitePagesDisabled = $false + Ensure = 'Present' Credential = $Credscredential } } diff --git a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 index ae229df4a9..a9410d2fec 100644 --- a/Modules/Microsoft365DSC/Microsoft365DSC.psd1 +++ b/Modules/Microsoft365DSC/Microsoft365DSC.psd1 @@ -78,7 +78,8 @@ 'Modules/M365DSCUtil.psm1', 'Modules/M365DSCDRGUtil.psm1', 'Modules/EncodingHelpers/M365DSCEmojis.psm1', - 'Modules/EncodingHelpers/M365DSCStringEncoding.psm1' + 'Modules/EncodingHelpers/M365DSCStringEncoding.psm1', + 'Modules/M365DSCConfigurationHelper.psm1' ) # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. @@ -91,6 +92,7 @@ 'Export-M365DSCConfiguration', 'Export-M365DSCDiagnosticData', 'Get-M365DSCNotificationEndPointRegistration', + 'Get-M365DSCEvaluationRulesForConfiguration', 'Import-M365DSCDependencies', 'New-M365DSCDeltaReport', 'New-M365DSCNotificationEndPointRegistration', diff --git a/Modules/Microsoft365DSC/Modules/EncodingHelpers/M365DSCStringEncoding.psm1 b/Modules/Microsoft365DSC/Modules/EncodingHelpers/M365DSCStringEncoding.psm1 index 3d1ddc9224..f1a4056664 100644 --- a/Modules/Microsoft365DSC/Modules/EncodingHelpers/M365DSCStringEncoding.psm1 +++ b/Modules/Microsoft365DSC/Modules/EncodingHelpers/M365DSCStringEncoding.psm1 @@ -40,14 +40,18 @@ function Format-M365DSCString } ) - # Cache the DSC resource to a script-scope variable. - # This avoids fetching the definition multiple times for the same resource, increasing overall speed. - $ResourcePath = Join-Path -Path $PSScriptRoot ` - -ChildPath "../../DSCResources/MSFT_$ResourceName/MSFT_$ResourceName.psm1" ` - -Resolve + $commandInfo = Get-Command -Module "MSFT_$ResourceName" -ErrorAction SilentlyContinue | Where-Object -FilterScript {$_.Name -eq 'Get-TargetResource'} + if ($null -eq $commandInfo) + { + # Cache the DSC resource to a script-scope variable. + # This avoids fetching the definition multiple times for the same resource, increasing overall speed. + $ResourcePath = Join-Path -Path $PSScriptRoot ` + -ChildPath "../../DSCResources/MSFT_$ResourceName/MSFT_$ResourceName.psm1" ` + -Resolve - Import-Module $ResourcePath - $commandInfo = Get-Command -Module "MSFT_$ResourceName" | Where-Object -FilterScript {$_.Name -eq 'Get-TargetResource'} + Import-Module $ResourcePath + $commandInfo = Get-Command -Module "MSFT_$ResourceName" | Where-Object -FilterScript {$_.Name -eq 'Get-TargetResource'} + } # For each invalid character, look for an instance in the string, # if an instance is found, diff --git a/Modules/Microsoft365DSC/Modules/M365DSCConfigurationHelper.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCConfigurationHelper.psm1 new file mode 100644 index 0000000000..ae63a74b80 --- /dev/null +++ b/Modules/Microsoft365DSC/Modules/M365DSCConfigurationHelper.psm1 @@ -0,0 +1,161 @@ +<# +.SYNOPSIS + Get the evaluation rules for guarding a given configuration. +.DESCRIPTION + This function will return all the evaluation rules for a given configuration either as a new configuration file or as a list of rules that can be used in a configuration to guard the resources. +.PARAMETER ConfigurationPath + The path to the configuration file. +.PARAMETER OutputPath + The path to the output file. If not provided, the function will return the evaluation rules as a string. +#> +function Get-M365DSCEvaluationRulesForConfiguration +{ + [CmdletBinding()] + [OutputType([System.String], ParameterSetName = 'Plaintext')] + [OutputType([System.Void], ParameterSetName = 'Configuration')] + param ( + [Parameter(ParameterSetName = ('Configuration', 'Plaintext'), Mandatory = $true)] + [string] + $ConfigurationPath, + + [Parameter(ParameterSetName = 'Configuration')] + [string] + $OutputPath, + + [Parameter(ParameterSetName = ('Configuration', 'Plaintext'), Mandatory = $true)] + [ValidateSet('ServicePrincipalWithThumbprint', 'ServicePrincipalWithSecret', 'ServicePrincipalWithPath', 'CredentialsWithTenantId', 'CredentialsWithApplicationId', 'Credentials', 'ManagedIdentity')] + [System.String] + $ConnectionMode + ) + + $configurationAsObject = ConvertTo-DSCObject -Path $ConfigurationPath + + $groupCondition = { + $_.ResourceName + } + + $groupedObjects = $configurationAsObject | Group-Object $groupCondition + + $M365DSCRuleEvaluationBlock = @' + # region Evaluation Rules + # This block contains the evaluation rules for the configuration. + # It is used to guard the resources in the configuration. + + # endregion +'@ + + switch ($ConnectionMode) + { + 'ServicePrincipalWithThumbprint' + { + $authentication = @" + ApplicationId = `$ConfigurationData.NonNodeData.ApplicationId + TenantId = `$ConfigurationData.NonNodeData.OrganizationName + CertificateThumbprint = `$ConfigurationData.NonNodeData.CertificateThumbprint +"@ + } + 'ServicePrincipalWithSecret' + { + $authentication = @" + ApplicationId = `$ConfigurationData.NonNodeData.ApplicationId + TenantId = `$ConfigurationData.NonNodeData.OrganizationName + CertificatePassword = `$CertificatePassword +"@ + } + 'ServicePrincipalWithPath' + { + $authentication = @" + ApplicationId = `$ConfigurationData.NonNodeData.ApplicationId + TenantId = `$ConfigurationData.NonNodeData.OrganizationName + CertificatePath = `$ConfigurationData.NonNodeData.CertificatePath +"@ + } + 'CredentialsWithTenantId' + { + $authentication = @" + Credential = `$CredsCredential + TenantId = `$ConfigurationData.NonNodeData.OrganizationName +"@ + } + 'CredentialsWithApplicationId' + { + $authentication = @" + Credential = `$CredsCredential + ApplicationId = `$ConfigurationData.NonNodeData.ApplicationId + TenantId = `$ConfigurationData.NonNodeData.OrganizationName +"@ + } + 'ManagedIdentity' + { + $authentication = @" + ManagedIdentity = `$true +"@ + } + 'Credentials' + { + $authentication = @" + Credential = `$CredsCredential +"@ + } + } + + $M365DSCRuleEvaluationResourceBlock = @' + M365DSCRuleEvaluation '' + { + ResourceName = '' + RuleDefinition = "*" + AfterRuleCountQuery = "-eq " + + } +'@ + + $resultConfiguration = @() + foreach ($group in $groupedObjects) + { + $resultConfiguration += $M365DSCRuleEvaluationResourceBlock -replace '', $group.Name -replace '', $group.Count -replace '', $authentication + } + + $M365DSCRuleEvaluationString = $M365DSCRuleEvaluationBlock -replace '', ($resultConfiguration -join "`n") + + if ($PSBoundParameters.Keys.Contains('OutputPath')) + { + if (-not (Test-Path -Path $OutputPath)) + { + New-Item -Path $OutputPath -ItemType File -Force | Out-Null + } + + $DSCString = @" + # Generated with Microsoft365DSC + # For additional information on how to use Microsoft365DSC, please visit https://aka.ms/M365DSC + param ( + ) + + Configuration M365TenantConfig + { + param ( + ) + + $OrganizationName = $ConfigurationData.NonNodeData.OrganizationName + + Import-DscResource -ModuleName 'Microsoft365DSC' + + Node localhost + { + + } + } + + M365TenantConfig -ConfigurationData .\ConfigurationData.psd1 +"@ + + $M365DSCRuleEvaluationString = $DSCString -replace '', $M365DSCRuleEvaluationString + + $M365DSCRuleEvaluationString | Out-File -FilePath $OutputPath + } + else + { + return $M365DSCRuleEvaluationString + } +} + +Export-ModuleMember -Function Get-M365DSCEvaluationRulesForConfiguration diff --git a/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 index 1cfbe9a39f..3c92111b1f 100644 --- a/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 +++ b/Modules/Microsoft365DSC/Modules/M365DSCDRGUtil.psm1 @@ -208,7 +208,10 @@ function Get-M365DSCDRGComplexTypeToHashtable { $hash = Get-M365DSCDRGComplexTypeToHashtable -ComplexObject $ComplexObject.$keyName - $results.Add($keyName, $hash) + if ($null -ne $hash -and $hash.Keys.Count -gt 0) + { + $results.Add($keyName, $hash) + } } else { @@ -1218,20 +1221,30 @@ function ConvertTo-IntunePolicyAssignment $group = Get-MgGroup -GroupId ($assignment.groupId) -ErrorAction SilentlyContinue if ($null -eq $group) { - $group = Get-MgGroup -Filter "DisplayName eq '$($assignment.groupDisplayName)'" -ErrorAction SilentlyContinue - if ($null -eq $group) + if ($assignment.groupDisplayName) { - $message = "Skipping assignment for the group with DisplayName {$($assignment.groupDisplayName)} as it could not be found in the directory.`r`n" - $message += "Please update your DSC resource extract with the correct groupId or groupDisplayName." - write-verbose -Message $message - $target = $null + $group = Get-MgGroup -Filter "DisplayName eq '$($assignment.groupDisplayName)'" -ErrorAction SilentlyContinue + if ($null -eq $group) + { + $message = "Skipping assignment for the group with DisplayName {$($assignment.groupDisplayName)} as it could not be found in the directory.`r`n" + $message += "Please update your DSC resource extract with the correct groupId or groupDisplayName." + write-verbose -Message $message + $target = $null + } + if ($group -and $group.count -gt 1) + { + $message = "Skipping assignment for the group with DisplayName {$($assignment.groupDisplayName)} as it is not unique in the directory.`r`n" + $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." + write-verbose -Message $message + $group = $null + $target = $null + } } - if ($group -and $group.count -gt 1) + else { - $message = "Skipping assignment for the group with DisplayName {$($assignment.groupDisplayName)} as it is not unique in the directory.`r`n" + $message = "Skipping assignment for the group with Id {$($assignment.groupId)} as it could not be found in the directory.`r`n" $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." write-verbose -Message $message - $group = $null $target = $null } } @@ -1331,7 +1344,41 @@ function Update-DeviceConfigurationPolicyAssignment } if ($target.groupId) { - $formattedTarget.Add('groupId',$target.groupId) + $group = Get-MgGroup -GroupId ($target.groupId) -ErrorAction SilentlyContinue + if ($null -eq $group) + { + if ($target.groupDisplayName) + { + $group = Get-MgGroup -Filter "DisplayName eq '$($target.groupDisplayName)'" -ErrorAction SilentlyContinue + if ($null -eq $group) + { + $message = "Skipping assignment for the group with DisplayName {$($target.groupDisplayName)} as it could not be found in the directory.`r`n" + $message += "Please update your DSC resource extract with the correct groupId or groupDisplayName." + write-verbose -Message $message + $target = $null + } + if ($group -and $group.count -gt 1) + { + $message = "Skipping assignment for the group with DisplayName {$($target.groupDisplayName)} as it is not unique in the directory.`r`n" + $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." + write-verbose -Message $message + $group = $null + $target = $null + } + } + else + { + $message = "Skipping assignment for the group with Id {$($target.groupId)} as it could not be found in the directory.`r`n" + $message += "Please update your DSC resource extract with the correct groupId or a unique group DisplayName." + write-verbose -Message $message + $target = $null + } + } + #Skipping assignment if group not found from either groupId or groupDisplayName + if ($null -ne $group) + { + $formattedTarget.add('groupId',$group.Id) + } } if ($target.collectionId) { diff --git a/Modules/Microsoft365DSC/Modules/M365DSCLogEngine.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCLogEngine.psm1 index c74ae10c10..15ed9d16ac 100644 --- a/Modules/Microsoft365DSC/Modules/M365DSCLogEngine.psm1 +++ b/Modules/Microsoft365DSC/Modules/M365DSCLogEngine.psm1 @@ -251,7 +251,8 @@ function Add-M365DSCEvent $MessageText = "Could not write to event log Source {$Source} EntryType {$EntryType} Message {$Message}" # Check call stack to prevent indefinite loop between New-M365DSCLogEntry and this function - if ((Get-PSCallStack)[1].FunctionName -ne 'New-M365DSCLogEntry') + if ((Get-PSCallStack)[1].FunctionName -ne 'New-M365DSCLogEntry' -and ` + -not $_.ToString().Contains('EventLog access is not supported on this platform.')) { New-M365DSCLogEntry -Exception $_ -Message $MessageText ` -Source '[M365DSCLogEngine]' ` diff --git a/Modules/Microsoft365DSC/Modules/M365DSCReport.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCReport.psm1 index 0e2a98ed35..a425e9f47c 100644 --- a/Modules/Microsoft365DSC/Modules/M365DSCReport.psm1 +++ b/Modules/Microsoft365DSC/Modules/M365DSCReport.psm1 @@ -6,28 +6,28 @@ This function creates a new Markdown document from the specified exported config Internal, Hidden #> -Function New-M365DSCConfigurationToMarkdown - { - [CmdletBinding()] - [OutputType([System.String])] - param - ( - [Parameter()] - [Array] - $ParsedContent, - - [Parameter()] - [System.String] - $OutputPath, - - [Parameter()] - [System.String] - $TemplateName, - - [Parameter()] - [Switch] - $SortProperties - ) +function New-M365DSCConfigurationToMarkdown +{ + [CmdletBinding()] + [OutputType([System.String])] + param + ( + [Parameter()] + [Array] + $ParsedContent, + + [Parameter()] + [System.String] + $OutputPath, + + [Parameter()] + [System.String] + $TemplateName, + + [Parameter()] + [Switch] + $SortProperties + ) $crlf = "`r`n" if ([System.String]::IsNullOrEmpty($TemplateName)) @@ -44,7 +44,7 @@ Function New-M365DSCConfigurationToMarkdown { # Create a new table for each resource $percentage = [math]::Round(($currentCount / $totalCount) * 100, 2) - Write-Progress -Activity 'Processing generated DSC Object' -Status ("{0:N2} completed - $($resource.ResourceName)" -f $percentage) -PercentComplete $percentage + Write-Progress -Activity 'Processing generated DSC Object' -Status ("{0:N2}% completed - $($resource.ResourceName)" -f $percentage) -PercentComplete $percentage $fullMD += "## " + $resource.ResourceInstanceName + $crlf $fullMD += "|Item|Value|`r`n" @@ -180,7 +180,7 @@ function New-M365DSCConfigurationToHTML foreach ($resource in $parsedContent) { $percentage = [math]::Round(($currentCount / $totalCount) * 100, 2) - Write-Progress -Activity 'Processing generated DSC Object' -Status ("{0:N2} completed - $($resource.ResourceName)" -f $percentage) -PercentComplete $percentage + Write-Progress -Activity 'Processing generated DSC Object' -Status ("{0:N2}% completed - $($resource.ResourceName)" -f $percentage) -PercentComplete $percentage $partHTML = "
" $partHTML += "
" @@ -216,17 +216,39 @@ function New-M365DSCConfigurationToHTML $value = "`$Null" if ($null -ne $resource.$property) { - if ($resource.$property.GetType().Name -eq 'Object[]') + if ($resource.$property.GetType().Name -eq 'Object[]' -or ` + $resource.$property.GetType().Name -eq 'Hashtable') { - if ($resource.$property -and ($resource.$property[0].GetType().Name -eq 'Hashtable' -or - $resource.$property[0].GetType().Name -eq 'OrderedDictionary')) + if ($resource.$property -and ` + ($resource.$property.GetType().Name -eq 'Hashtable' -or ` + $resource.$property[0].GetType().Name -eq 'Hashtable') + ) { $value = '' foreach ($entry in $resource.$property) { foreach ($key in $entry.Keys) { - $value += "
  • $key = $($entry.$key)
  • " + if ($key -ne 'CIMInstance') + { + if ($entry.$key.GetType().Name -eq 'Hashtable' -or ` + $entry.$key.GetType().Name -eq 'Object[]') + { + foreach ($subItem in $entry.$key) + { + $value += "" + foreach ($subkey in $subItem.Keys) + { + $value += "" + } + $value += "
    $key
    $subkey$($subItem.$subKey)
    " + } + } + else + { + $value += "
  • $key = $($entry.$key)
  • " + } + } } $value += '
    ' } @@ -352,6 +374,10 @@ function Get-IconPath { return 'http://microsoft365dsc.com/Images/Teams.jpg' } + elseif ($ResourceName.StartsWith('Intune')) + { + return 'http://microsoft365dsc.com/Images/Intune.jpg' + } return $null } @@ -745,8 +771,10 @@ function Compare-M365DSCConfigurations [array]$driftProperties = @() foreach ($property in $instance.Keys) { - if ($null -eq $destinationResourceInstance."$property" -or $null -ne (Compare-Object -ReferenceObject ($instance."$property")` - -DifferenceObject ($destinationResourceInstance."$property"))) + if ($null -eq $destinationResourceInstance."$property" -or ` + (-not [System.String]::IsNullOrEmpty($instance."$property") -and + $null -ne (Compare-Object -ReferenceObject ($instance."$property")` + -DifferenceObject ($destinationResourceInstance."$property")))) { $driftProperties += @{ ParameterName = $property @@ -812,8 +840,9 @@ function Compare-M365DSCConfigurations } # Needs to be a separate nested if statement otherwise the ReferenceObject can be null and it will error out; elseif ($destinationResource.ContainsKey($destinationPropertyName) -eq $false -or (-not [System.String]::IsNullOrEmpty($propertyName) -and - $null -ne (Compare-Object -ReferenceObject ($sourceResource.$propertyName)` - -DifferenceObject ($destinationResource.$destinationPropertyName))) -and + (-not [System.String]::IsNullOrEmpty($sourceResource.$propertyName) -and + $null -ne (Compare-Object -ReferenceObject ($sourceResource.$propertyName)` + -DifferenceObject ($destinationResource.$destinationPropertyName)))) -and -not ([System.String]::IsNullOrEmpty($destinationResource.$destinationPropertyName) -and [System.String]::IsNullOrEmpty($sourceResource.$propertyName))) { if ($null -eq $drift -and (-not $IsBlueprintAssessment -or $destinationResource.ContainsKey($destinationPropertyName))) @@ -897,8 +926,10 @@ function Compare-M365DSCConfigurations $innerDrift = $null foreach ($property in $instance.Keys) { - if ($null -eq $sourceResourceInstance."$property" -or $null -ne (Compare-Object -ReferenceObject ($instance."$property")` - -DifferenceObject ($sourceResourceInstance."$property"))) + if ($null -eq $sourceResourceInstance."$property" -or ` + (-not [System.String]::IsNullOrEmpty($instance."$property") -and ` + $null -ne (Compare-Object -ReferenceObject ($instance."$property")` + -DifferenceObject ($sourceResourceInstance."$property")))) { # Make sure we haven't already added this drift in the delta return object to prevent duplicates. $existing = $delta | Where-Object -FilterScript {$_.ResourceName -eq $destinationResource.ResourceName -and ` @@ -1229,20 +1260,15 @@ function Get-M365DSCResourceKey { return @('OrgWideAccount') } - elseif ($mandatoryParameters.count -eq 1) + elseif ($mandatoryParameters.count -gt 0) { - # returning the only mandatory parameter name - return @($mandatoryParameters[0].Name) + # return all mandatory parameters + return @($mandatoryParameters.Name) } elseif ($mandatoryParameters.count -eq 0) { Write-Verbose -Message "No mandatory parameters found for $($Resource.ResourceName)" } - else - { - # the function failed to find any key params - throw "Multiple mandatory parameters found for $($Resource.ResourceName) but none of them are returned by the function" - } } <# @@ -1389,7 +1415,7 @@ function New-M365DSCDeltaReport -ExcludedResources $ExcludedResources ` -IsBluePrintAssessment $true } - Else + else { $Delta = Compare-M365DSCConfigurations ` -Source $Source ` @@ -1671,7 +1697,7 @@ function New-M365DSCDeltaReport $sourceValue = "" $sourceValue += "" - if ($drift.ValueInSource.GetType().Name -ne 'OrderedDictionary') + if ($drift.ValueInSource.GetType().Name -ne 'Hashtable') { $valueForSource = $drift.ValueInSource $sourceValue += "" diff --git a/Modules/Microsoft365DSC/Modules/M365DSCSchemaHandler.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCSchemaHandler.psm1 new file mode 100644 index 0000000000..0bba042793 --- /dev/null +++ b/Modules/Microsoft365DSC/Modules/M365DSCSchemaHandler.psm1 @@ -0,0 +1,75 @@ +function New-M365DSCSchemaDefinition +{ + [CmdletBinding()] + param ( + ) + + $schemaFiles = Get-ChildItem -Path '.\Modules\Microsoft365DSC\DSCResources\*.schema.mof' -Recurse + + $classInfoList = @() + + $classesList = @() + + foreach ($file in $schemaFiles) + { + Write-Verbose -Message $file.Name + $mofContent = Get-Content $file.FullName -Raw + + # Match class definitions + $classMatches = [regex]::Matches($mofContent, 'class\s+(\w+)(?:\s*:\s*\w+)?\s*(\{.*?\});', 'Singleline') + + foreach ($classMatch in $classMatches) + { + $className = $classMatch.Groups[1].Value + $classBody = $classMatch.Groups[2].Value + + if (-not $classesList.Contains($className)) + { + $classesList += $className + + # Match property definitions + $propertyMatches = [regex]::Matches($classBody, '\[(Key|Write|Required),\s*Description\("((?:[^"]|\\")*)"\)(?:\s*,\s*(?:ValueMap\{[^}]*\}\s*,\s*Values\{[^}]*\}|Values\{[^}]*\}\s*,\s*ValueMap\{[^}]*\}))?(?:,\s*EmbeddedInstance\("(\w+)"\))?\]?\s*(\w+)\s+(\w+)(\[\])?\s*;', @('Singleline', [System.Text.RegularExpressions.RegexOptions]::IgnoreCase)) + + $propertyInfoList = @() + + foreach ($propertyMatch in $propertyMatches) + { + $propertyKeyOrWrite = $propertyMatch.Groups[1].Value + $propertyDescription = $propertyMatch.Groups[2].Value + $embeddedInstanceType = $propertyMatch.Groups[3].Value + $propertyType = $propertyMatch.Groups[4].Value + $propertyName = $propertyMatch.Groups[5].Value + $isArray = $propertyMatch.Groups[6].Success + + if ($embeddedInstanceType) + { + $propertyType = $embeddedInstanceType + } + + if ($isArray) + { + $propertyType = $propertyType + '[]' + } + + $propertyInfoList += @{ + CIMType = $propertyType + Name = $propertyName + #IsArray = $isArray + Option = $propertyKeyOrWrite + } + + } + + $classInfoList += [ordered] @{ + ClassName = $className + Parameters = $propertyInfoList + } + } + } + + } + + $jsonContent = ConvertTo-Json $classInfoList -Depth 99 + Set-Content -Value $jsonContent -Path '.\Modules\Microsoft365DSC\SchemaDefinition.json' + +} diff --git a/Modules/Microsoft365DSC/Modules/M365DSCUtil.psm1 b/Modules/Microsoft365DSC/Modules/M365DSCUtil.psm1 index 2c18e4de0f..f9d9cbe995 100644 --- a/Modules/Microsoft365DSC/Modules/M365DSCUtil.psm1 +++ b/Modules/Microsoft365DSC/Modules/M365DSCUtil.psm1 @@ -3368,25 +3368,40 @@ function Get-M365DSCExportContentForResource $ConnectionMode -eq 'ManagedIdentity') { $OrganizationName = $Results.TenantId + } + elseif ($null -ne $Credential.UserName) + { + $OrganizationName = $Credential.UserName.Split('@')[1] } else { - $OrganizationName = $Credential.UserName.Split('@')[1] + $OrganizationName = '' } # Ensure the string properties are properly formatted; $Results = Format-M365DSCString -Properties $Results ` -ResourceName $ResourceName - if ($Script:AllM365DscResources.Count -eq 0) + $primaryKey = '' + $ModuleFullName = "MSFT_" + $ResourceName + $moduleInfo = Get-Command -Module $ModuleFullName -ErrorAction SilentlyContinue + if ($null -eq $moduleInfo) { - $Script:AllM365DscResources = Get-DscResource -Module 'Microsoft365Dsc' + if ($Script:AllM365DscResources.Count -eq 0) + { + $Script:AllM365DscResources = Get-DscResource -Module 'Microsoft365Dsc' + } + + $Resource = $Script:AllM365DscResources.Where({ $_.Name -eq $ResourceName }) + $Keys = $Resource.Properties.Where({ $_.IsMandatory }) | ` + Select-Object -ExpandProperty Name + } + else + { + $cmdInfo = $moduleInfo | Where-Object -FilterScript {$_.Name -eq 'Get-TargetResource'} + $Keys = $cmdInfo.Parameters.Keys } - $primaryKey = '' - $Resource = $Script:AllM365DscResources.Where({ $_.Name -eq $ResourceName }) - $Keys = $Resource.Properties.Where({ $_.IsMandatory }) | ` - Select-Object -ExpandProperty Name if ($Keys.Contains('IsSingleInstance')) { $primaryKey = '' diff --git a/Modules/Microsoft365DSC/SchemaDefinition.json b/Modules/Microsoft365DSC/SchemaDefinition.json new file mode 100644 index 0000000000..d2bb52c93b --- /dev/null +++ b/Modules/Microsoft365DSC/SchemaDefinition.json @@ -0,0 +1,41232 @@ +[ + { + "ClassName": "MSFT_MicrosoftGraphMember", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Type", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphScopedRoleMembership", + "Parameters": [ + { + "CIMType": "String", + "Name": "RoleName", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphMember", + "Name": "RoleMemberInfo", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAdministrativeUnit", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Visibility", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MembershipType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MembershipRule", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MembershipRuleProcessingState", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphMember[]", + "Name": "Members", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphScopedRoleMembership[]", + "Name": "ScopedRoleMembers", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADApplicationPermission", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SourceAPI", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Type", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AdminConsentGranted", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADApplication", + "Parameters": [ + { + "CIMType": "string", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "ObjectId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppId", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AvailableToOtherTenants", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GroupMembershipClaims", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Homepage", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "IdentifierUris", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsFallbackPublicClient", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "KnownClientApplications", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "LogoutURL", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PublicClient", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ReplyURLs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Owners", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADApplicationPermission[]", + "Name": "Permissions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAttributeSet", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaxAttributesPerSet", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationContextClassReference", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsAvailable", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphRegistrationEnforcement", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphAuthenticationMethodsRegistrationCampaign", + "Name": "AuthenticationMethodsRegistrationCampaign", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphAuthenticationMethodsRegistrationCampaign", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphAuthenticationMethodsRegistrationCampaignIncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SnoozeDurationInDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyIncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphAuthenticationMethodsRegistrationCampaignIncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetedAuthenticationMethod", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphSystemCredentialPreferences", + "Parameters": [ + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyIncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "PolicyMigrationState", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PolicyVersion", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ReconfirmationInDays", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphregistrationEnforcement", + "Name": "RegistrationEnforcement", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphsystemCredentialPreferences", + "Name": "SystemCredentialPreferences", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphMicrosoftAuthenticatorFeatureSettings", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphAuthenticationMethodFeatureConfiguration", + "Name": "CompanionAppAllowedState", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphAuthenticationMethodFeatureConfiguration", + "Name": "DisplayAppInformationRequiredState", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphAuthenticationMethodFeatureConfiguration", + "Name": "DisplayLocationInformationRequiredState", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphAuthenticationMethodFeatureConfiguration", + "Name": "NumberMatchingRequiredState", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphAuthenticationMethodFeatureConfiguration", + "Parameters": [ + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyAuthenticatorFeatureTarget", + "Name": "ExcludeTarget", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyAuthenticatorFeatureTarget", + "Name": "IncludeTarget", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyAuthenticatorFeatureTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyAuthenticatorExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyAuthenticatorIncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyAuthenticator", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphmicrosoftAuthenticatorFeatureSettings", + "Name": "FeatureSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsSoftwareOathEnabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyAuthenticatorExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyAuthenticatorIncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyEmailExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyEmailIncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyEmail", + "Parameters": [ + { + "CIMType": "String", + "Name": "AllowExternalIdToUseEmailOtp", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyEmailExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyEmailIncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphFido2KeyRestrictions", + "Parameters": [ + { + "CIMType": "String[]", + "Name": "AaGuids", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnforcementType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsEnforced", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyFido2ExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyFido2IncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyFido2", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "IsAttestationEnforced", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsSelfServiceRegistrationAllowed", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphfido2KeyRestrictions", + "Name": "KeyRestrictions", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyFido2ExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyFido2IncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicySmsExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicySmsIncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicySms", + "Parameters": [ + { + "CIMType": "MSFT_AADAuthenticationMethodPolicySmsExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicySmsIncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicySoftwareExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicySoftwareIncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicySoftware", + "Parameters": [ + { + "CIMType": "MSFT_AADAuthenticationMethodPolicySoftwareExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicySoftwareIncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyTemporaryExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyTemporaryIncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyTemporary", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "DefaultLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefaultLifetimeInMinutes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsUsableOnce", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumLifetimeInMinutes", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MinimumLifetimeInMinutes", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyTemporaryExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyTemporaryIncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyVoiceExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyVoiceIncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyVoice", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "IsOfficePhoneAllowed", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyVoiceExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyVoiceIncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphX509CertificateAuthenticationModeConfiguration", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphX509CertificateRule[]", + "Name": "Rules", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "X509CertificateAuthenticationDefaultMode", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphX509CertificateRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identifier", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "X509CertificateAuthenticationMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "X509CertificateRuleType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphX509CertificateUserBinding", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserProperty", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "X509CertificateField", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyX509ExcludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyX509IncludeTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "isRegistrationRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationMethodPolicyX509", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphx509CertificateAuthenticationModeConfiguration", + "Name": "AuthenticationModeConfiguration", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphx509CertificateUserBinding[]", + "Name": "CertificateUserBindings", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyX509ExcludeTarget[]", + "Name": "ExcludeTargets", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADAuthenticationMethodPolicyX509IncludeTarget[]", + "Name": "IncludeTargets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthenticationStrengthPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedCombinations", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADAuthorizationPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowedToSignUpEmailBasedSubscriptions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowedToUseSSPR", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowEmailVerifiedUsersToJoinOrganization", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowInvitesFrom", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BlockMsolPowershell", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefaultUserRoleAllowedToCreateApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefaultUserRoleAllowedToCreateSecurityGroups", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefaultUserRoleAllowedToReadBitlockerKeysForOwnedDevice", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefaultUserRoleAllowedToCreateTenants", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefaultUserRoleAllowedToReadOtherUsers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GuestUserRole", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PermissionGrantPolicyIdsAssignedToDefaultUserRole", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADConditionalAccessPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludeApplications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationsFilter", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationsFilterMode", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludeApplications", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludeUserActions", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludeUsers", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludeUsers", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludeGroups", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludeGroups", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludeRoles", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludeRoles", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludeGuestOrExternalUserTypes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IncludeExternalTenantsMembershipKind", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludeExternalTenantsMembers", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludeGuestOrExternalUserTypes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExcludeExternalTenantsMembershipKind", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludeExternalTenantsMembers", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludePlatforms", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludePlatforms", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludeLocations", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludeLocations", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceFilterMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceFilterRule", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "UserRiskLevels", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SignInRiskLevels", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ClientAppTypes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GrantControlOperator", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BuiltInControls", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationEnforcedRestrictionsIsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CloudAppSecurityIsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CloudAppSecurityType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SignInFrequencyValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TermsOfUse", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "CustomAuthenticationFactors", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SignInFrequencyType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SignInFrequencyIsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SignInFrequencyInterval", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PersistentBrowserIsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PersistentBrowserMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AuthenticationStrength", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AuthenticationContexts", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADCrossTenantAccessPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedCloudEndpoints", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADCrossTenantAccessPolicyTarget", + "Parameters": [ + { + "CIMType": "String", + "Name": "Target", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADCrossTenantAccessPolicyTargetConfiguration", + "Parameters": [ + { + "CIMType": "String", + "Name": "AccessType", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyTarget[]", + "Name": "Targets", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADCrossTenantAccessPolicyB2BSetting", + "Parameters": [ + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyTargetConfiguration", + "Name": "Applications", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyTargetConfiguration", + "Name": "UsersAndGroups", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADCrossTenantAccessPolicyInboundTrust", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "IsCompliantDeviceAccepted", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsHybridAzureADJoinedDeviceAccepted", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsMfaAccepted", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADCrossTenantAccessPolicyConfigurationDefault", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyB2BSetting", + "Name": "B2BCollaborationInbound", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyB2BSetting", + "Name": "B2BCollaborationOutbound", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyB2BSetting", + "Name": "B2BDirectConnectInbound", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyB2BSetting", + "Name": "B2BDirectConnectOutbound", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyInboundTrust", + "Name": "InboundTrust", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADCrossTenantAccessPolicyAutomaticUserConsentSettings", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "InboundAllowed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutboundAllowed", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADCrossTenantAccessPolicyConfigurationPartner", + "Parameters": [ + { + "CIMType": "String", + "Name": "PartnerTenantId", + "Option": "Key" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyB2BSetting", + "Name": "B2BCollaborationInbound", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyB2BSetting", + "Name": "B2BCollaborationOutbound", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyB2BSetting", + "Name": "B2BDirectConnectInbound", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyB2BSetting", + "Name": "B2BDirectConnectOutbound", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyAutomaticUserConsentSettings", + "Name": "AutomaticUserConsentSettings", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADCrossTenantAccessPolicyInboundTrust", + "Name": "InboundTrust", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AccessPackageResourceRoleScope", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AccessPackageResourceOriginId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AccessPackageResourceRoleDisplayName", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADEntitlementManagementAccessPackage", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CatalogId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsHidden", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsRoleScopesVisible", + "Option": "Write" + }, + { + "CIMType": "MSFT_AccessPackageResourceRoleScope[]", + "Name": "AccessPackageResourceRoleScopes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncompatibleAccessPackages", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AccessPackagesIncompatibleWith", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncompatibleGroups", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphassignmentreviewsettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "AccessReviewTimeoutBehavior", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DurationInDays", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsAccessRecommendationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsApprovalJustificationRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecurrenceType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ReviewerType", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphuserset[]", + "Name": "Reviewers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartDateTime", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphuserset", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsBackup", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ManagerLevel", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphaccesspackagequestion", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsAnswerEditable", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsRequired", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Sequence", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccessPackageLocalizedContent", + "Name": "QuestionText", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccessPackageAnswerChoice[]", + "Name": "Choices", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowsMultipleSelection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RegexPattern", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsSingleLineQuestion", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphaccessPackageLocalizedContent", + "Parameters": [ + { + "CIMType": "String", + "Name": "DefaultText", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccessPackageLocalizedText[]", + "Name": "LocalizedTexts", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphaccessPackageLocalizedText", + "Parameters": [ + { + "CIMType": "String", + "Name": "Text", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LanguageCode", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphaccessPackageAnswerChoice", + "Parameters": [ + { + "CIMType": "String", + "Name": "ActualValue", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccessPackageLocalizedContent", + "Name": "displayValue", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphapprovalsettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "ApprovalMode", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapprovalstage1[]", + "Name": "ApprovalStages", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsApprovalRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsApprovalRequiredForExtension", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsRequestorJustificationRequired", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphapprovalstage1", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "ApprovalStageTimeOutInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EscalationTimeInMinutes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsApproverJustificationRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsEscalationEnabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphuserset[]", + "Name": "PrimaryApprovers", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphuserset[]", + "Name": "EscalationApprovers", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphrequestorsettings", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AcceptRequests", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphuserset[]", + "Name": "AllowedRequestors", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ScopeType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphcustomextensionhandler", + "Parameters": [ + { + "CIMType": "String", + "Name": "CustomExtensionId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Stage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADEntitlementManagementAccessPackageAssignmentPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AccessPackageId", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphassignmentreviewsettings", + "Name": "AccessReviewSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CanExtend", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DurationInDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExpirationDateTime", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccesspackagequestion[]", + "Name": "Questions", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapprovalsettings", + "Name": "RequestApprovalSettings", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphrequestorsettings", + "Name": "RequestorSettings", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphcustomextensionhandler[]", + "Name": "CustomExtensionHandlers", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADEntitlementManagementAccessPackageCatalog", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CatalogStatus", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CatalogType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsExternallyVisible", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphaccesspackageresourceattribute", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphaccesspackageresourceattributedestination", + "Name": "AttributeDestination", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AttributeName", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccesspackageresourceattributesource", + "Name": "AttributeSource", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsEditable", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsPersistedOnAssignmentRemoval", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphaccesspackageresourceattributedestination", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphaccesspackageresourceattributesource", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccessPackageResourceAttributeQuestion", + "Name": "Question", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphaccessPackageResourceAttributeQuestion", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsSingleLine", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RegexPattern", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Sequence", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccessPackageLocalizedContent", + "Name": "QuestionText", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowsMultipleSelection", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccessPackageAnswerChoice[]", + "Name": "Choices", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADEntitlementManagementAccessPackageCatalogResource", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CatalogId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AddedBy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AddedOn", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphaccesspackageresourceattribute[]", + "Name": "Attributes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsPendingOnboarding", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OriginId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OriginSystem", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ResourceType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Url", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADEntitlementManagementConnectedOrganizationIdentitySource", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalTenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CloudInstance", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DomainName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IssuerUri", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADEntitlementManagementConnectedOrganization", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADEntitlementManagementConnectedOrganizationIdentitySource[]", + "Name": "IdentitySources", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExternalSponsors", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "InternalSponsors", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADExternalIdentityPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowDeletedIdentitiesDataRemoval", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "allowExternalIdentitiesToLeave", + "Option": "Required" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADGroupLicense", + "Parameters": [ + { + "CIMType": "String[]", + "Name": "DisabledPlans", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SkuId", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADGroup", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "MailNickname", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Owners", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Members", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "GroupTypes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MembershipRule", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MembershipRuleProcessingState", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityEnabled", + "Option": "Required" + }, + { + "CIMType": "Boolean", + "Name": "MailEnabled", + "Option": "Required" + }, + { + "CIMType": "Boolean", + "Name": "IsAssignableToRole", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AssignedToRole", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Visibility", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADGroupLicense[]", + "Name": "AssignedLicenses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADGroupLifecyclePolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "UInt32", + "Name": "GroupLifetimeInDays", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "ManagedGroupTypes", + "Option": "Required" + }, + { + "CIMType": "String[]", + "Name": "AlternateNotificationEmails", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADGroupsNamingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "PrefixSuffixNamingRequirement", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "CustomBlockedWordsList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADGroupsSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "EnableGroupCreation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableMIPLabels", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowGuestsToBeGroupOwner", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowGuestsToAccessGroups", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GuestUsageGuidelinesUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GroupCreationAllowedGroupName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowToAddGuests", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UsageGuidelinesUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADNamedLocationPolicy", + "Parameters": [ + { + "CIMType": "string", + "Name": "OdataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "IpRanges", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsTrusted", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "CountriesAndRegions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CountryLookupMethod", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IncludeUnknownCountriesAndRegions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADRoleDefinition", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ResourceScopes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsEnabled", + "Option": "Required" + }, + { + "CIMType": "String[]", + "Name": "RolePermissions", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "TemplateId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Version", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADRoleEligibilityScheduleRequestScheduleRecurrenceRange", + "Parameters": [ + { + "CIMType": "String", + "Name": "endDate", + "Option": "Required" + }, + { + "CIMType": "UInt32", + "Name": "numberOfOccurrences", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "recurrenceTimeZone", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "startDate", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "type", + "Option": "Required" + } + ] + }, + { + "ClassName": "MSFT_AADRoleEligibilityScheduleRequestScheduleRecurrencePattern", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "dayOfMonth", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "daysOfWeek", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "firstDayOfWeek", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "index", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "interval", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "month", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "type", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADRoleEligibilityScheduleRequestScheduleRecurrence", + "Parameters": [ + { + "CIMType": "MSFT_AADRoleEligibilityScheduleRequestScheduleRecurrencePattern", + "Name": "pattern", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADRoleEligibilityScheduleRequestScheduleRecurrenceRange", + "Name": "range", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADRoleEligibilityScheduleRequestScheduleExpiration", + "Parameters": [ + { + "CIMType": "String", + "Name": "duration", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "endDateTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "type", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADRoleEligibilityScheduleRequestSchedule", + "Parameters": [ + { + "CIMType": "MSFT_AADRoleEligibilityScheduleRequestScheduleExpiration", + "Name": "expiration", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADRoleEligibilityScheduleRequestScheduleRecurrence", + "Name": "recurrence", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "startDateTime", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADRoleEligibilityScheduleRequestTicketInfo", + "Parameters": [ + { + "CIMType": "String", + "Name": "ticketNumber", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ticketSystem", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADRoleEligibilityScheduleRequest", + "Parameters": [ + { + "CIMType": "String", + "Name": "Principal", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "RoleDefinition", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "PrincipalType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DirectoryScopeId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppScopeId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Action", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsValidationOnly", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Justification", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADRoleEligibilityScheduleRequestSchedule", + "Name": "ScheduleInfo", + "Option": "Write" + }, + { + "CIMType": "MSFT_AADRoleEligibilityScheduleRequestTicketInfo", + "Name": "TicketInfo", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADRoleSetting", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ActivationMaxDuration", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActivationReqJustification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActivationReqTicket", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActivationReqMFA", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApprovaltoActivate", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ActivateApprover", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PermanentEligibleAssignmentisExpirationRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExpireEligibleAssignment", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PermanentActiveAssignmentisExpirationRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExpireActiveAssignment", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AssignmentReqMFA", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AssignmentReqJustification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ElegibilityAssignmentReqMFA", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ElegibilityAssignmentReqJustification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleAlertNotificationDefaultRecipient", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EligibleAlertNotificationAdditionalRecipient", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleAlertNotificationOnlyCritical", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleAssigneeNotificationDefaultRecipient", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EligibleAssigneeNotificationAdditionalRecipient", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleAssigneeNotificationOnlyCritical", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleApproveNotificationDefaultRecipient", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EligibleApproveNotificationAdditionalRecipient", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleApproveNotificationOnlyCritical", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveAlertNotificationDefaultRecipient", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ActiveAlertNotificationAdditionalRecipient", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveAlertNotificationOnlyCritical", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveAssigneeNotificationDefaultRecipient", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ActiveAssigneeNotificationAdditionalRecipient", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveAssigneeNotificationOnlyCritical", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveApproveNotificationDefaultRecipient", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ActiveApproveNotificationAdditionalRecipient", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveApproveNotificationOnlyCritical", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleAssignmentAlertNotificationDefaultRecipient", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EligibleAssignmentAlertNotificationAdditionalRecipient", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleAssignmentAlertNotificationOnlyCritical", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleAssignmentAssigneeNotificationDefaultRecipient", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EligibleAssignmentAssigneeNotificationAdditionalRecipient", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EligibleAssignmentAssigneeNotificationOnlyCritical", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AuthenticationContextRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AuthenticationContextName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AuthenticationContextId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADSecurityDefaults", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADServicePrincipalRoleAssignment", + "Parameters": [ + { + "CIMType": "String", + "Name": "PrincipalType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADServicePrincipal", + "Parameters": [ + { + "CIMType": "String", + "Name": "AppId", + "Option": "Key" + }, + { + "CIMType": "MSFT_AADServicePrincipalRoleAssignment[]", + "Name": "AppRoleAssignedTo", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ObjectID", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AlternativeNames", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AccountEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppRoleAssignmentRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ErrorUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Homepage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LogoutUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PublisherName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ReplyUrls", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SamlMetadataUrl", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ServicePrincipalNames", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ServicePrincipalType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Tags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADSocialIdentityProvider", + "Parameters": [ + { + "CIMType": "String", + "Name": "ClientId", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "ClientSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IdentityProviderType", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADTenantDetails", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "MarketingNotificationEmails", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SecurityComplianceNotificationMails", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SecurityComplianceNotificationPhones", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TechnicalNotificationMails", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADTokenLifetimePolicy", + "Parameters": [ + { + "CIMType": "string", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Definition", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsOrganizationDefault", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_AADUser", + "Parameters": [ + { + "CIMType": "String", + "Name": "UserPrincipalName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FirstName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LastName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Roles", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UsageLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "LicenseAssignment", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Password", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "City", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Country", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Department", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Fax", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MobilePhone", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Office", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordNeverExpires", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordPolicies", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PhoneNumber", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PostalCode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreferredLanguage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StreetAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Title", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAcceptedDomain", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DomainType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MatchSubDomains", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutboundOnly", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOActiveSyncDeviceAccessRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AccessLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Characteristic", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "QueryString", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAddressBookPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "AddressLists", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GlobalAddressList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OfflineAddressBook", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoomList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAddressList", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCompany", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute1", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute10", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute11", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute12", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute13", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute14", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute15", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute2", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute3", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute4", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute5", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute6", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute7", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute8", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute9", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalDepartment", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalStateOrProvince", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludedRecipients", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientFilter", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAntiPhishPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdminDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PhishThresholdLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AuthenticationFailAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetedUserProtectionAction", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableFirstContactSafetyTips", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableMailboxIntelligence", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableMailboxIntelligenceProtection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableOrganizationDomainsProtection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSimilarDomainsSafetyTips", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSimilarUsersSafetyTips", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSpoofIntelligence", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableTargetedDomainsProtection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableTargetedUserProtection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableUnauthenticatedSender", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableUnusualCharactersSafetyTips", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableViaTag", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MakeDefault", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludedDomains", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludedSenders", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HonorDmarcPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ImpersonationProtectionState", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MailboxIntelligenceProtectionAction", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MailboxIntelligenceProtectionActionRecipients", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MailboxIntelligenceQuarantineTag", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SpoofQuarantineTag", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TargetedDomainActionRecipients", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetedDomainProtectionAction", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TargetedDomainsToProtect", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetedDomainQuarantineTag", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TargetedUserActionRecipients", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TargetedUsersToProtect", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetedUserQuarantineTag", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAntiPhishRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AntiPhishPolicy", + "Option": "Required" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOApplicationAccessPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AccessRight", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AppID", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PolicyScopeGroupId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAtpPolicyForO365", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowSafeDocsOpen", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableATPForSPOTeamsODB", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSafeDocs", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAuthenticationPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthActiveSync", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthAutodiscover", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthImap", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthMapi", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthOfflineAddressBook", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthOutlookService", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthPop", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthPowershell", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthReportingWebServices", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthRpc", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthSmtp", + "Option": "write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBasicAuthWebServices", + "Option": "write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAuthenticationPolicyAssignment", + "Parameters": [ + { + "CIMType": "String", + "Name": "UserName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AuthenticationPolicyName", + "Option": "write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAvailabilityAddressSpace", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AccessMethod", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Credentials", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ForestName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetAutodiscoverEpr", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetServiceEpr", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetTenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOAvailabilityConfig", + "Parameters": [ + { + "CIMType": "String", + "Name": "OrgWideAccount", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOCalendarProcessing", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AddAdditionalResponse", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdditionalResponse", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AddNewRequestsTentatively", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AddOrganizerToSubject", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllBookInPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowConflicts", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowRecurringMeetings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllRequestInPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllRequestOutOfPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AutomateProcessing", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BookingType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "BookingWindowInDays", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BookInPolicy", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ConflictPercentageAllowed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeleteAttachments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeleteComments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeleteNonCalendarItems", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeleteSubject", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableAutoRelease", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableResponseDetails", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnforceCapacity", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnforceSchedulingHorizon", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ForwardRequestsToDelegates", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumConflictInstances", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumDurationInMinutes", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MinimumDurationInMinutes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OrganizerInfo", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PostReservationMaxClaimTimeInMinutes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ProcessExternalMeetingMessages", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RemoveCanceledMeetings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RemoveForwardedMeetingNotifications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RemoveOldMeetingMessages", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RemovePrivateProperty", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RequestInPolicy", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RequestOutOfPolicy", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ResourceDelegates", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ScheduleOnlyDuringWorkHours", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TentativePendingApproval", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOCASMailboxPlan", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveSyncEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ImapEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OwaMailboxPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PopEnabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOCASMailboxSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "ActiveSyncAllowedDeviceIDs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ActiveSyncBlockedDeviceIDs", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveSyncDebugLogging", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveSyncEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ActiveSyncMailboxPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveSyncSuppressReadReceipt", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EwsAllowEntourage", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EwsAllowList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EwsAllowMacOutlook", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EwsAllowOutlook", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EwsApplicationAccessPolicy", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EwsBlockList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EwsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ImapEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ImapMessagesRetrievalMimeFormat", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ImapForceICalForCalendarRetrievalOption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ImapSuppressReadReceipt", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ImapUseProtocolDefaults", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MacOutlookEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MAPIEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OneWinNativeOutlookEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutlookMobileEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OWAEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OWAforDevicesEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OwaMailboxPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PopEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PopForceICalForCalendarRetrievalOption", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PopMessagesRetrievalMimeFormat", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PopSuppressReadReceipt", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PopUseProtocolDefaults", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PublicFolderClientAccess", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ShowGalAsDefaultView", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmtpClientAuthenticationDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UniversalOutlookEnabled", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOClientAccessRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Action", + "Option": "Required" + }, + { + "CIMType": "String[]", + "Name": "AnyOfAuthenticationTypes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfClientIPAddressesOrRanges", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfProtocols", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptAnyOfAuthenticationTypes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptAnyOfClientIPAddressesOrRanges", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptAnyOfProtocols", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptUsernameMatchesAnyOfPatterns", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RuleScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserRecipientFilter", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "UsernameMatchesAnyOfPatterns", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXODataClassification", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Fingerprints", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsDefault", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Locale", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXODataEncryptionPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "AzureKeyIDs", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PermanentDataPurgeContact", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PermanentDataPurgeReason", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXODistributionGroup", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "Alias", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BccBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BypassNestedModerationEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HiddenGroupMembershipEnabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ManagedBy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MemberDepartRestriction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MemberJoinRestriction", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Members", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ModeratedBy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ModerationEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Notes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OrganizationalUnit", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrimarySmtpAddress", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireSenderAuthenticationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RoomList", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AcceptMessagesOnlyFrom", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AcceptMessagesOnlyFromDLMembers", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AcceptMessagesOnlyFromSendersOrMembers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute1", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute2", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute3", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute4", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute5", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute6", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute7", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute8", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute9", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute10", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute11", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute12", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute13", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute14", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute15", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EmailAddresses", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "GrantSendOnBehalfTo", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HiddenFromAddressListsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SendOofMessageToOriginatorEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SendModerationNotifications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Type", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXODkimSigningConfig", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AdminDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BodyCanonicalization", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HeaderCanonicalization", + "Option": "Write" + }, + { + "CIMType": "Uint16", + "Name": "KeySize", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOEmailAddressPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EnabledEmailAddressTemplates", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EnabledPrimarySMTPAddressTemplate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ManagedByFilter", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOGlobalAddressList", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCompany", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute1", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute10", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute11", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute12", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute13", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute14", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute15", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute2", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute3", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute4", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute5", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute6", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute7", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute8", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalCustomAttribute9", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalDepartment", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConditionalStateOrProvince", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncludedRecipients", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientFilter", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOGroupSettings", + "Parameters": [ + { + "CIMType": "string", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "AcceptMessagesOnlyFromSendersOrMembers", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "AccessType", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AlwaysSubscribeMembersToCalendarEvents", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "AuditLogAgeLimit", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AutoSubscribeNewMembers", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "CalendarMemberReadOnly", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Classification", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ConnectorsEnabled", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute1", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute2", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute3", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute4", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute5", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute6", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute7", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute8", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute9", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute10", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute11", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute12", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute13", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute14", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "CustomAttribute15", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "DataEncryptionPolicy", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "EmailAddresses", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ExtensionCustomAttribute1", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ExtensionCustomAttribute2", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ExtensionCustomAttribute3", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ExtensionCustomAttribute4", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ExtensionCustomAttribute5", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "GrantSendOnBehalfTo", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "HiddenFromAddressListsEnabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "HiddenFromExchangeClientsEnabled", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "InformationBarrierMode", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "IsMemberAllowedToEditContent", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Language", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "MailboxRegion", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "MailTip", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "MailTipTranslations", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "MaxReceiveSize", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "MaxSendSize", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "ModeratedBy", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ModerationEnabled", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Notes", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "PrimarySmtpAddress", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "RejectMessagesFromSendersOrMembers", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "RequireSenderAuthenticationEnabled", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "SensitivityLabelId", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "SubscriptionEnabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "UnifiedGroupWelcomeMessageEnabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOHostedConnectionFilterPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AdminDisplayName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSafeList", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IPAllowList", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IPBlockList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MakeDefault", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOHostedContentFilterPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AddXHeaderValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdminDisplayName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedSenderDomains", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedSenders", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BlockedSenderDomains", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BlockedSenders", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BulkQuarantineTag", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BulkSpamAction", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "BulkThreshold", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DownloadLink", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableEndUserSpamNotifications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableLanguageBlockList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableRegionBlockList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EndUserSpamNotificationCustomSubject", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EndUserSpamNotificationFrequency", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EndUserSpamNotificationLanguage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HighConfidencePhishAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HighConfidencePhishQuarantineTag", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HighConfidenceSpamAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HighConfidenceSpamQuarantineTag", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IncreaseScoreWithBizOrInfoUrls", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IncreaseScoreWithImageLinks", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IncreaseScoreWithNumericIps", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IncreaseScoreWithRedirectToOtherPort", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InlineSafetyTipsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IntraOrgFilterState", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "LanguageBlockList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MakeDefault", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamBulkMail", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamEmbedTagsInHtml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamEmptyMessages", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamFormTagsInHtml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamFramesInHtml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamFromAddressAuthFail", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamJavaScriptInHtml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamNdrBackscatter", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamObjectTagsInHtml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamSensitiveWordList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamSpfRecordHardFail", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MarkAsSpamWebBugsInHtml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ModifySubjectValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PhishSpamAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PhishQuarantineTag", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SpamQuarantineTag", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "QuarantineRetentionPeriod", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RedirectToRecipients", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RegionBlockList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SpamAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TestModeAction", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TestModeBccToRecipients", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PhishZapEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SpamZapEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOHostedContentFilterRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "HostedContentFilterPolicy", + "Option": "Required" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOHostedOutboundSpamFilterPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AdminDisplayName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BccSuspiciousOutboundAdditionalRecipients", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BccSuspiciousOutboundMail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NotifyOutboundSpam", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "NotifyOutboundSpamRecipients", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientLimitInternalPerHour", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientLimitPerDay", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientLimitExternalPerHour", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ActionWhenThresholdReached", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AutoForwardingMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOHostedOutboundSpamFilterRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "HostedOutboundSpamFilterPolicy", + "Option": "Required" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFrom", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFromMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SenderDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "From", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "FromMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOInboundConnector", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "AssociatedAcceptedDomains", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CloudServicesMailEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConnectorSource", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConnectorType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EFSkipIPs", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EFSkipLastIP", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EFUsers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireTls", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RestrictDomainsToCertificate", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RestrictDomainsToIPAddresses", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SenderDomains", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SenderIPAddresses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TlsSenderCertificateName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TreatMessagesAsInternal", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOIntraOrganizationConnector", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DiscoveryEndpoint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TargetAddressDomains", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetSharingEpr", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOIRMConfiguration", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AutomaticServiceUpdateEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AzureRMSLicensingEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DecryptAttachmentForEncryptOnly", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EDiscoverySuperUserEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnablePdfEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InternalLicensingEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "JournalReportDecryptionEnabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "LicensingLocation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RejectIfRecipientHasNoRights", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RMSOnlineKeySharingLocation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SimplifiedClientAccessDoNotForwardDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SimplifiedClientAccessEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SimplifiedClientAccessEncryptOnlyDisabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TransportDecryptionSetting", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOJournalRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "JournalEmailAddress", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Recipient", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RuleScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMailboxAutoReplyConfiguration", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Owner", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutoDeclineFutureRequestsWhenOOF", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AutoReplyState", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CreateOOFEvent", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeclineAllEventsForScheduledOOF", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeclineEventsForScheduledOOF", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeclineMeetingMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EndTime", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EventsToDeleteIDs", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalAudience", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InternalMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OOFEventSubject", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMailboxCalendarFolder", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DetailLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PublishDateRangeFrom", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PublishDateRangeTo", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PublishEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchableUrlEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SharedCalendarSyncStartDate", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMailboxPermission", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "AccessRights", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "User", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "InheritanceType", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Owner", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Deny", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMailboxPlan", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IssueWarningQuota", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxReceiveSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxSendSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProhibitSendQuota", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProhibitSendReceiveQuota", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RetainDeletedItemsFor", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RetentionPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoleAssignmentPolicy", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMailboxSettings", + "Parameters": [ + { + "CIMType": "string", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "TimeZone", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Locale", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMailContact", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "ExternalEmailAddress", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "Alias", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FirstName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Initials", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LastName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MacAttachmentFormat", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MessageBodyFormat", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MessageFormat", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ModeratedBy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ModerationEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OrganizationalUnit", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SendModerationNotifications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UsePreferMessageFormat", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute1", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute2", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute3", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute4", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute5", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute6", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute7", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute8", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute9", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute10", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute11", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute12", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute13", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute14", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomAttribute15", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExtensionCustomAttribute1", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExtensionCustomAttribute2", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExtensionCustomAttribute3", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExtensionCustomAttribute4", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExtensionCustomAttribute5", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMailTips", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "MailTipsAllTipsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MailTipsGroupMetricsEnabled", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MailTipsLargeAudienceThreshold", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MailTipsMailboxSourcedTipsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MailTipsExternalRecipientsTipsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMalwareFilterPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AdminDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomExternalBody", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomExternalSubject", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomFromAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomFromName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomInternalBody", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomInternalSubject", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CustomNotifications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableExternalSenderAdminNotifications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableFileFilter", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableInternalSenderAdminNotifications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalSenderAdminAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FileTypeAction", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "FileTypes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InternalSenderAdminAddress", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MakeDefault", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "QuarantineTag", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ZapEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMalwareFilterRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Comments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MalwareFilterPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOManagementRole", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Parent", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOManagementRoleAssignment", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Role", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "App", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Policy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SecurityGroup", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "User", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomRecipientWriteScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomResourceScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExclusiveRecipientWriteScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientAdministrativeUnitScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientOrganizationalUnitScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientRelativeWriteScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMessageClassification", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "ClassificationID", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayPrecedence", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PermissionMenuVisible", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientDescription", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RetainClassificationEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SenderDescription", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOMobileDeviceMailboxPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowApplePushNotifications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowBluetooth", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBrowser", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCamera", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowConsumerEmail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowDesktopSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowExternalDeviceManagement", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowGooglePushNotifications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowHTMLEmail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowInternetSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowIrDA", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMobileOTAUpdate", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMicrosoftPushNotifications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowNonProvisionableDevices", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowPOPIMAPEmail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowRemoteDesktop", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowSimplePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowSMIMEEncryptionAlgorithmNegotiation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowSMIMESoftCerts", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowStorageCard", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowTextMessaging", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowUnsignedApplications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowUnsignedInstallationPackages", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowWiFi", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AlphanumericPasswordRequired", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ApprovedApplicationList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AttachmentsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceEncryptionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DevicePolicyRefreshInterval", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IrmEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsDefault", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxAttachmentSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxCalendarAgeFilter", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxEmailAgeFilter", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxEmailBodyTruncationSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxEmailHTMLBodyTruncationSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxInactivityTimeLock", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxPasswordFailedAttempts", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinPasswordComplexCharacters", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinPasswordLength", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordExpiration", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordHistory", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRecoveryEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireDeviceEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireEncryptedSMIMEMessages", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RequireEncryptionSMIMEAlgorithm", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireManualSyncWhenRoaming", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RequireSignedSMIMEAlgorithm", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireSignedSMIMEMessages", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireStorageCardEncryption", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "UnapprovedInROMApplicationList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UNCAccessEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WSSAccessEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOOfflineAddressBook", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "AddressLists", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConfiguredAttributes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DiffRetentionPeriod", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsDefault", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOOMEConfiguration", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "BackgroundColor", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisclaimerText", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EmailText", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ExternalMailExpiryInDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IntroductionText", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OTPEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PortalText", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrivacyStatementUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ReadButtonText", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SocialIdSignIn", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOOnPremisesOrganization", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "HybridDomains", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InboundConnector", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OutboundConnector", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OrganizationName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OrganizationGuid", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OrganizationRelationship", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOOrganizationConfig", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "ActivityBasedAuthenticationTimeoutEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ActivityBasedAuthenticationTimeoutInterval", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActivityBasedAuthenticationTimeoutWithSingleSignOnEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppsForOfficeEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AsyncSendEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AuditDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutodiscoverPartialDirSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutoExpandingArchive", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BlockMoveMessagesForGroupFolders", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsAddressEntryRestricted", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsAuthEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsBlockedWordsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsCreationOfCustomQuestionsRestricted", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsExposureOfStaffDetailsRestricted", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsMembershipApprovalRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsNamingPolicyEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BookingsNamingPolicyPrefix", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsNamingPolicyPrefixEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BookingsNamingPolicySuffix", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsNamingPolicySuffixEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsNotesEntryRestricted", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsPaymentsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsPhoneNumberEntryRestricted", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsSearchEngineIndexDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsSmsMicrosoftEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsSocialSharingRestricted", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ByteEncoderTypeFor7BitCharsets", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ComplianceMLBgdCrawlEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectorsActionableMessagesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectorsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectorsEnabledForOutlook", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectorsEnabledForSharepoint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectorsEnabledForTeams", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectorsEnabledForYammer", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CustomerLockboxEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultAuthenticationPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultGroupAccessType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefaultMinutesToReduceLongEventsBy", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefaultMinutesToReduceShortEventsBy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultPublicFolderAgeLimit", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultPublicFolderDeletedItemRetention", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultPublicFolderIssueWarningQuota", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultPublicFolderMaxItemSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultPublicFolderMovedItemRetention", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultPublicFolderProhibitPostQuota", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DirectReportsGroupAutoCreationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisablePlusAddressInRecipients", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DistributionGroupDefaultOU", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DistributionGroupNameBlockedWordsList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DistributionGroupNamingPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ElcProcessingDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableOutlookEvents", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EndUserDLUpgradeFlowsDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EwsAllowEntourage", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EwsAllowList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EwsAllowMacOutlook", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EwsAllowOutlook", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EwsApplicationAccessPolicy", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EwsBlockList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EwsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExchangeNotificationEnabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeNotificationRecipients", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FindTimeAttendeeAuthenticationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FindTimeAutoScheduleDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FindTimeLockPollForAttendeesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FindTimeOnlineMeetingOptionDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FocusedInboxOn", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HierarchicalAddressBookRoot", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IPListBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsGroupFoldersAndRulesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsGroupMemberAllowedToEditContent", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LeanPopoutEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LinkPreviewEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MailTipsAllTipsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MailTipsExternalRecipientsTipsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MailTipsGroupMetricsEnabled", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MailTipsLargeAudienceThreshold", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MailTipsMailboxSourcedTipsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MaskClientIpInReceivedHeadersEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MatchSenderOrganizerProperties", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MessageHighlightsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MessageRecallEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MessageRemindersEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MobileAppEducationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OAuth2ClientProfileEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OnlineMeetingsByDefaultEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutlookGifPickerDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutlookMobileGCCRestrictionsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutlookPayEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutlookTextPredictionDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PublicComputersDetectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PublicFoldersEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PublicFolderShowClientControl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ReadTrackingEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RecallReadMessagesEnabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemotePublicFolderMailboxes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SendFromAliasEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SharedDomainEmailAddressFlowEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ShortenEventScopeDefault", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SiteMailboxCreationURL", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmtpActionableMessagesEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "VisibleMeetingUpdateProperties", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WebPushNotificationsDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WebSuggestedRepliesDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkspaceTenantEnabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOOrganizationRelationship", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "ArchiveAccessEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeliveryReportEnabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DomainNames", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FreeBusyAccessEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FreeBusyAccessLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FreeBusyAccessScope", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MailboxMoveEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MailboxMoveCapability", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MailboxMovePublishedScopes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MailTipsAccessEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MailTipsAccessLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MailTipsAccessScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OauthApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OrganizationContact", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PhotosEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetApplicationUri", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetAutodiscoverEpr", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetOwaURL", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetSharingEpr", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOOutboundConnector", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseMXRecord", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConnectorSource", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConnectorType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientDomains", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SmartHosts", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TlsDomain", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TlsSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsTransportRuleScoped", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RouteAllMessagesViaOnPremises", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CloudServicesMailEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllAcceptedDomains", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SenderRewritingEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TestMode", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ValidationRecipients", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOOwaMailboxPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "ActionForUnknownFileAndMIMETypes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveSyncIntegrationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AdditionalAccountsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AdditionalStorageProvidersAvailable", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllAddressListsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCopyContactsToDeviceAddressBook", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedFileTypes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedMimeTypes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BlockedFileTypes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BlockedMimeTypes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BookingsMailboxCreationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ChangeSettingsAccountEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassicAttachmentsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConditionalAccessPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultTheme", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DirectFileAccessOnPrivateComputersEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DirectFileAccessOnPublicComputersEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableFacebook", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisplayPhotosEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExplicitLogonEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExternalImageProxyEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalSPMySiteHostURL", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FeedbackEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ForceSaveAttachmentFilteringEnabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ForceSaveFileTypes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ForceSaveMimeTypes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ForceWacViewingFirstOnPrivateComputers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ForceWacViewingFirstOnPublicComputers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FreCardsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GlobalAddressListEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GroupCreationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InstantMessagingEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InstantMessagingType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InterestingCalendarsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InternalSPMySiteHostURL", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IRMEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ItemsToOtherAccountsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsDefault", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "JournalEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalEventsEnabled", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "LogonAndErrorLanguage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MessagePreviewsDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NotesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NpsSurveysEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OneWinNativeOutlookEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OrganizationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OnSendAddinsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OutboundCharset", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutlookBetaToggleEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OWALightEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PersonalAccountsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PersonalAccountCalendarsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PhoneticSupportEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PlacesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PremiumClientEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrintWithoutDownloadEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ProjectMocaEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PublicFoldersEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RecoverDeletedItemsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ReferenceAttachmentsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RemindersAndNotificationsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ReportJunkEmailEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RulesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SatisfactionEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SaveAttachmentsToCloudEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchFoldersEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SetPhotoEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SetPhotoURL", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ShowOnlineArchiveEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SignaturesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SkipCreateUnifiedGroupCustomSharepointClassification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TeamSnapCalendarsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TextMessagingEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ThemeSelectionEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UMIntegrationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseGB18030", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseISO885915", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UserVoiceEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WacEditingEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WacExternalServicesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WacOMEXEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WacViewingOnPrivateComputersEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WacViewingOnPublicComputersEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WeatherEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WebPartsFrameOptionsType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOPartnerApplication", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "ApplicationIdentifier", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AcceptSecurityIdentifierInformation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AccountType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LinkedAccount", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOPerimeterConfiguration", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "GatewayIPAddresses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOPlace", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AudioDeviceName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Building", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Capacity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "City", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CountryOrRegion", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Desks", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayDeviceName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Floor", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FloorLabel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GeoCoordinates", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsWheelChairAccessible", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Label", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MTREnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ParentId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ParentType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Phone", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PostalCode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Street", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Tags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "VideoDeviceName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOPolicyTipConfig", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Value", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOQuarantinePolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "UInt32", + "Name": "EndUserQuarantinePermissionsValue", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ESNEnabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MultiLanguageCustomDisclaimer", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MultiLanguageSenderName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MultiLanguageSetting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OrganizationBrandingEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EndUserSpamNotificationFrequency", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "QuarantinePolicyType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EndUserSpamNotificationFrequencyInDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomDisclaimer", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EndUserSpamNotificationCustomFromAddress", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EsnCustomSubject", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXORecipientPermission", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Trustee", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "AccessRights", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXORemoteDomain", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DomainName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedOOFType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutoForwardEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutoReplyEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ByteEncoderTypeFor7BitCharsets", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CharacterSet", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ContentType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeliveryReportEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisplaySenderName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsInternal", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "LineWrapSize", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MeetingForwardNotificationEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NDREnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NonMimeCharacterSet", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreferredInternetCodePageForShiftJis", + "Option": "Write" + }, + { + "CIMType": "sint32", + "Name": "RequiredCharsetCoverage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TargetDeliveryDomain", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TNEFEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TrustedMailInboundEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TrustedMailOutboundEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseSimpleDisplayName", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOReportSubmissionPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "DisableQuarantineReportingOption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableCustomNotificationSender", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableOrganizationBranding", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableReportToMicrosoft", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableThirdPartyAddress", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableUserEmailNotification", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "JunkReviewResultMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotJunkReviewResultMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotificationFooterMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotificationSenderAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PhishingReviewResultMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PostSubmitMessage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PostSubmitMessageEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PostSubmitMessageTitle", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreSubmitMessage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PreSubmitMessageEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreSubmitMessageTitle", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ReportJunkAddresses", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ReportJunkToCustomizedAddress", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ReportNotJunkAddresses", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ReportNotJunkToCustomizedAddress", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ReportPhishAddresses", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ReportPhishToCustomizedAddress", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ThirdPartyReportAddresses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOReportSubmissionRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentTo", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOResourceConfiguration", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "ResourcePropertySchema", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXORoleAssignmentPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsDefault", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Roles", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXORoleGroup", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Members", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Roles", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOSafeAttachmentPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Action", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActionOnError", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdminDisplayName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enable", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "QuarantineTag", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Redirect", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RedirectAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOSafeAttachmentRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "SafeAttachmentPolicy", + "Option": "Required" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOSafeLinksPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdminDisplayName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowClickThrough", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomNotificationText", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeliverMessageAfterScan", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DoNotRewriteUrls", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableForInternalSenders", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableOrganizationBranding", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSafeLinksForOffice", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSafeLinksForTeams", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSafeLinksForEmail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableUrlRewrite", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ScanUrls", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TrackClicks", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseTranslatedNotificationText", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOSafeLinksRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SafeLinksPolicy", + "Option": "Required" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOSharedMailbox", + "Parameters": [ + { + "CIMType": "string", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "PrimarySMTPAddress", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Alias", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "EmailAddresses", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOSharingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "Default", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Domains", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOTransportConfig", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AddressBookPolicyRoutingEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowLegacyTLSClients", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClearCategories", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConvertDisclaimerWrapperToEml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DSNConversionMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExternalDelayDsnEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalDsnDefaultLanguage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExternalDsnLanguageDetectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalDsnReportingAuthority", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExternalDsnSendHtml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalPostmasterAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HeaderPromotionModeSetting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InternalDelayDsnEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InternalDsnDefaultLanguage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InternalDsnLanguageDetectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InternalDsnReportingAuthority", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InternalDsnSendHtml", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "JournalMessageExpirationDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "JournalingReportNdrTo", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaxRecipientEnvelopeLimit", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "ReplyAllStormBlockDurationHours", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "ReplyAllStormDetectionMinimumRecipients", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "ReplyAllStormDetectionMinimumReplies", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ReplyAllStormProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Rfc2231EncodingEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmtpClientAuthenticationDisabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_EXOTransportRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "ADComparisonAttribute", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ADComparisonOperator", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ActivationDate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AddManagerAsRecipientType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddToRecipients", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfCcHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfCcHeaderMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfRecipientAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfRecipientAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfToCcHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfToCcHeaderMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfToHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfToHeaderMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyClassification", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyHtmlDisclaimerFallbackAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyHtmlDisclaimerLocation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyHtmlDisclaimerText", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplyOME", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyRightsProtectionCustomizationTemplate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyRightsProtectionTemplate", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AttachmentContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AttachmentExtensionMatchesWords", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AttachmentHasExecutableContent", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AttachmentIsPasswordProtected", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AttachmentIsUnsupported", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AttachmentMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AttachmentNameMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AttachmentProcessingLimitExceeded", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AttachmentPropertyContainsWords", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AttachmentSizeOver", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BetweenMemberOf1", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BetweenMemberOf2", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BlindCopyTo", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ContentCharacterSetContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "CopyTo", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeleteMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DlpPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfADComparisonAttribute", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfADComparisonOperator", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfCcHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfCcHeaderMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfRecipientAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfRecipientAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfToCcHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfToCcHeaderMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfToHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfToHeaderMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAttachmentContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAttachmentExtensionMatchesWords", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfAttachmentHasExecutableContent", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfAttachmentIsPasswordProtected", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfAttachmentIsUnsupported", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAttachmentMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAttachmentNameMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAttachmentPropertyContainsWords", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfAttachmentProcessingLimitExceeded", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfAttachmentSizeOver", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfBetweenMemberOf1", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfBetweenMemberOf2", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfContentCharacterSetContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFrom", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFromAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFromAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFromMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfFromScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfHasClassification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfHasNoClassification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfHasSenderOverride", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfHeaderContainsMessageHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfHeaderContainsWords", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfHeaderMatchesMessageHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfHeaderMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfManagerAddresses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfManagerForEvaluatedUser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfMessageTypeMatches", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfMessageContainsDataClassifications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfMessageSizeOver", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientADAttributeContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientADAttributeMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientInSenderList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfSCLOver", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderADAttributeContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderADAttributeMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderInRecipientList", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderIpRanges", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfSenderManagementRelationship", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfSentToScope", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSubjectContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSubjectMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSubjectOrBodyContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSubjectOrBodyMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfWithImportance", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExpiryDate", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "From", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "FromAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "FromAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "FromMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FromScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GenerateIncidentReport", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GenerateNotification", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HasClassification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HasNoClassification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HasSenderOverride", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HeaderContainsMessageHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "HeaderContainsWords", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HeaderMatchesMessageHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "HeaderMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncidentReportContent", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ManagerAddresses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ManagerForEvaluatedUser", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MessageContainsDataClassifications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MessageSizeOver", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MessageTypeMatches", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Mode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ModerateMessageByManager", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ModerateMessageByUser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotifySender", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrependSubject", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Quarantine", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientADAttributeContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientADAttributeMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecipientAddressType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientInSenderList", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RedirectMessageTo", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RejectMessageEnhancedStatusCode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RejectMessageReasonText", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RemoveHeader", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RemoveOME", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RemoveOMEv2", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RemoveRMSAttachmentEncryption", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RouteMessageOutboundConnector", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RouteMessageOutboundRequireTls", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RuleErrorAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RuleSubType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SCLOver", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SenderADAttributeContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SenderADAttributeMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SenderAddressLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SenderDomainIs", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SenderInRecipientList", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SenderIpRanges", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SenderManagementRelationship", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SentToScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SetAuditSeverity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SetHeaderName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SetHeaderValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SetSCL", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StopRuleProcessing", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SubjectContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SubjectMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SubjectOrBodyContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SubjectOrBodyMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WithImportance", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicyAssignments", + "Parameters": [ + { + "CIMType": "String", + "Name": "dataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "collectionId", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "BackupDirectory", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordAgeDays_AAD", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordAgeDays", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordExpirationProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "AdEncryptedPasswordHistorySize", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AdPasswordEncryptionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdPasswordEncryptionPrincipal", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdministratorAccountName", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordComplexity", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PostAuthenticationActions", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PostAuthenticationResetDelay", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicyAssignments", + "Parameters": [ + { + "CIMType": "String", + "Name": "dataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "collectionId", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAccountProtectionLocalUserGroupCollection", + "Parameters": [ + { + "CIMType": "String", + "Name": "Action", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "LocalGroups", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Members", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserSelectionType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneAccountProtectionLocalUserGroupMembershipPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneAccountProtectionLocalUserGroupCollection[]", + "Name": "LocalUserGroupCollection", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAccountProtectionPolicyAssignments", + "Parameters": [ + { + "CIMType": "String", + "Name": "dataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "collectionId", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAccountProtectionPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneAccountProtectionPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WindowsHelloForBusinessBlocked", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PinMinimumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PinMaximumLength", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PinLowercaseCharactersUsage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PinUppercaseCharactersUsage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PinSpecialCharactersUsage", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PinExpirationInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PinPreviousBlockCount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PinRecoveryEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityDeviceRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UnlockWithBiometricsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnhancedAntiSpoofingForFacialFeaturesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseCertificatesForOnPremisesAuthEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseSecurityKeyForSignin", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceGuardLocalSystemAuthorityCredentialGuardSettings", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_DeviceManagementConfigurationPolicyAssignments", + "Parameters": [ + { + "CIMType": "String", + "Name": "dataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "collectionId", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAntivirusPolicyWindows10SettingCatalog", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tamperprotection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disableaccountprotectionui", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disableappbrowserui", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablecleartpmbutton", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disabledevicesecurityui", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablefamilyui", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablehealthui", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablenetworkui", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disableenhancednotifications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disabletpmfirmwareupdatewarning", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablevirusui", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "hideransomwaredatarecovery", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "hidewindowssecuritynotificationareacontrol", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "enablecustomizedtoasts", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "enableinappcustomization", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "companyname", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "email", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "phone", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "url", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowarchivescanning", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowbehaviormonitoring", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowcloudprotection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowdatagramprocessingonwinserver", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowemailscanning", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowfullscanonmappednetworkdrives", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowfullscanremovabledrivescanning", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowintrusionpreventionsystem", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowioavprotection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allownetworkprotectiondownlevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowrealtimemonitoring", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowscanningnetworkfiles", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowscriptscanning", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowuseruiaccess", + "Option": "Write" + }, + { + "CIMType": "sInt32", + "Name": "avgcpuloadfactor", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "checkforsignaturesbeforerunningscan", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "cloudblocklevel", + "Option": "Write" + }, + { + "CIMType": "sInt32", + "Name": "cloudextendedtimeout", + "Option": "Write" + }, + { + "CIMType": "sInt32", + "Name": "daystoretaincleanedmalware", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablecatchupfullscan", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablecatchupquickscan", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablednsovertcpparsing", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablehttpparsing", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "enablelowcpupriority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "enablenetworkprotection", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "excludedextensions", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "excludedpaths", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "excludedprocesses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "puaprotection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "engineupdateschannel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "platformupdateschannel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "securityintelligenceupdateschannel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "realtimescandirection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "scanparameter", + "Option": "Write" + }, + { + "CIMType": "sInt32", + "Name": "schedulequickscantime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "schedulescanday", + "Option": "Write" + }, + { + "CIMType": "sInt32", + "Name": "schedulescantime", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "signatureupdatefallbackorder", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "signatureupdatefilesharessources", + "Option": "Write" + }, + { + "CIMType": "sInt32", + "Name": "signatureupdateinterval", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "submitsamplesconsent", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disablelocaladminmerge", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "allowonaccessprotection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "lowseveritythreats", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "moderateseveritythreats", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "severethreats", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "highseveritythreats", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "templateId", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAppConfigurationPolicyCustomSetting", + "Parameters": [ + { + "CIMType": "String", + "Name": "name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "value", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAppConfigurationPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneAppConfigurationPolicyCustomSetting[]", + "Name": "CustomSettings", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneApplicationControlPolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppLockerApplicationControl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmartScreenBlockOverrideForFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmartScreenEnableInshell", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAppProtectionPolicyAndroid", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PeriodOfflineBeforeAccessCheck", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PeriodOnlineBeforeAccessCheck", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedInboundDataTransferSources", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedOutboundDataTransferDestinations", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OrganizationalCredentialsRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedOutboundClipboardSharingLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DataBackupBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceComplianceRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedBrowserToOpenLinksRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SaveAsBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PeriodOfflineBeforeWipeIsEnforced", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PinRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableAppPinIfDevicePinIsSet", + "Option": "write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumPinRetries", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SimplePinBlocked", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MinimumPinLength", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PinCharacterSet", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedDataStorageLocations", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ContactSyncBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PeriodBeforePinReset", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrintBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireClass3Biometrics", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequirePinAfterBiometricChange", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FingerprintBlocked", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Apps", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludedGroups", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ManagedBrowser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumRequiredAppVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumRequiredOSVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumRequiredPatchVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumWarningAppVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumWarningOSVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumWarningPatchVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppGroupType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsAssigned", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ScreenCaptureBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EncryptAppData", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableAppEncryptionIfDeviceEncryptionIsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomBrowserDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomBrowserPackageId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAppProtectionPolicyiOS", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PeriodOfflineBeforeAccessCheck", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PeriodOnlineBeforeAccessCheck", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedInboundDataTransferSources", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedOutboundDataTransferDestinations", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OrganizationalCredentialsRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedOutboundClipboardSharingLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DataBackupBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceComplianceRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedBrowserToOpenLinksRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SaveAsBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PeriodOfflineBeforeWipeIsEnforced", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PinRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableAppPinIfDevicePinIsSet", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumPinRetries", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SimplePinBlocked", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MinimumPinLength", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PinCharacterSet", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedDataStorageLocations", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ContactSyncBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PeriodBeforePinReset", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrintBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FingerprintBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FaceIdBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ManagedBrowser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumRequiredAppVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumWarningAppVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumRequiredOSVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumWarningOSVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumRequiredSdkVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumWipeOSVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumWipeAppVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppActionIfDeviceComplianceRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppActionIfMaximumPinRetriesExceeded", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PinRequiredInsteadOfBiometricTimeout", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "AllowedOutboundClipboardSharingExceptionLength", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotificationRestriction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetedAppManagementLevels", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppDataEncryptionType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExemptedAppProtocols", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinimumWipeSdkVersion", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedIosDeviceModels", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppActionIfIosDeviceModelNotAllowed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FilterOpenInToOnlyManagedApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableProtectionOfManagedOutboundOpenInData", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ProtectInboundDataFromUnknownSources", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomBrowserProtocol", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Apps", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludedGroups", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneASRRulesPolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProcessCreationType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedRansomewareProtectionType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockPersistenceThroughWmiType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ScriptObfuscatedMacroCodeType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OfficeMacroCodeAllowWin32ImportsType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OfficeAppsLaunchChildProcessType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GuardMyFoldersType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UntrustedUSBProcessType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AttackSurfaceReductionExcludedPaths", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UntrustedExecutableType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OfficeCommunicationAppsLaunchChildProcess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EmailContentExecutionType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ScriptDownloadedPayloadExecutionType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AdditionalGuardedFolders", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdobeReaderLaunchChildProcess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OfficeAppsExecutableContentCreationOrLaunchType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreventCredentialStealingType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OfficeAppsOtherProcessInjectionType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "GuardedFoldersAllowedAppPaths", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneAttackSurfaceReductionRulesPolicyWindows10ConfigManager", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AttackSurfaceReductionOnlyExclusions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockAbuseOfExploitedVulnerableSignedDrivers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockAdobeReaderFromCreatingChildProcesses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockAllOfficeApplicationsFromCreatingChildProcesses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockCredentialStealingFromWindowsLocalSecurityAuthoritySubsystem", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockExecutableContentFromEmailClientAndWebmail", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockExecutableFilesRunningUnlessTheyMeetPrevalenceAgeTrustedListCriterion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockExecutionOfPotentiallyObfuscatedScripts", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockJavaScriptOrVBScriptFromLaunchingDownloadedExecutableContent", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockOfficeApplicationsFromCreatingExecutableContent", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockOfficeApplicationsFromInjectingCodeIntoOtherProcesses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockOfficeCommunicationAppFromCreatingChildProcesses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockPersistenceThroughWMIEventSubscription", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockProcessCreationsFromPSExecAndWMICommands", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockUntrustedUnsignedProcessesThatRunFromUSB", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockWin32APICallsFromOfficeMacros", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UseAdvancedProtectionAgainstRansomware", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ControlledFolderAccessProtectedFolders", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ControlledFolderAccessAllowedApplications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnableControlledFolderAccess", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceAndAppManagementAssignmentFilter", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Rule", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceCategory", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceCleanupRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Key" + }, + { + "CIMType": "UInt32", + "Name": "DeviceInactivityBeforeRetirementInDays", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceCompliancePolicyAndroid", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRequired", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RequiredPasswordComplexity", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinutesOfInactivityBeforeLock", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordPreviousPasswordBlockCount", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordSignInFailureCountBeforeFactoryReset", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityPreventInstallAppsFromUnknownSources", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityDisableUsbDebugging", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireVerifyApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceThreatProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityBlockJailbrokenDevices", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityBlockDeviceAdministratorManagedDevices", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMinimumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMaximumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinAndroidSecurityPatchLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRequireEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireSafetyNetAttestationBasicIntegrity", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireSafetyNetAttestationCertifiedDevice", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireGooglePlayServices", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireUpToDateSecurityProviders", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireCompanyPortalAppIntegrity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConditionStatementId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RestrictedApps", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoleScopeTagIds", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceCompliancePolicyAndroidDeviceOwner", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceThreatProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireSafetyNetAttestationBasicIntegrity", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireSafetyNetAttestationCertifiedDevice", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "osMinimumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "osMaximumVersion", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "passwordRequired", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "passwordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinutesOfInactivityBeforeLock", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordPreviousPasswordCountToBlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRequireEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireIntuneAppIntegrity", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RoleScopeTagIds", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceCompliancePolicyAndroidWorkProfile", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRequired", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinutesOfInactivityBeforeLock", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordPreviousPasswordBlockCount", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordSignInFailureCountBeforeFactoryReset", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityPreventInstallAppsFromUnknownSources", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityDisableUsbDebugging", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireVerifyApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceThreatProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityBlockJailbrokenDevices", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMinimumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMaximumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinAndroidSecurityPatchLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRequireEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireSafetyNetAttestationBasicIntegrity", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireSafetyNetAttestationCertifiedDevice", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireGooglePlayServices", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireUpToDateSecurityProviders", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireCompanyPortalAppIntegrity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SecurityRequiredAndroidSafetyNetEvaluationType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoleScopeTagIds", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_appListItem", + "Parameters": [ + { + "CIMType": "String", + "Name": "name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "publisher", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "appStoreUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "appId", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceCompliancePolicyiOs", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasscodeBlockSimple", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasscodeExpirationDays", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasscodeMinimumLength", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasscodeMinutesOfInactivityBeforeLock", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasscodeMinutesOfInactivityBeforeScreenTimeout", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasscodePreviousPasscodeBlockCount", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasscodeMinimumCharacterSetCount", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasscodeRequiredType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasscodeRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMinimumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMaximumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMinimumBuildVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMaximumBuildVersion", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityBlockJailbrokenDevices", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceThreatProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedEmailProfileRequired", + "Option": "Write" + }, + { + "CIMType": "MSFT_appListItem[]", + "Name": "RestrictedApps", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceCompliancePolicyMacOS", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockSimple", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinutesOfInactivityBeforeLock", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordPreviousPasswordBlockCount", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinimumCharacterSetCount", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMinimumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMaximumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMinimumBuildVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMaximumBuildVersion", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SystemIntegrityProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceThreatProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRequireEncryption", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GatekeeperAllowedAppSource", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallBlockAllIncoming", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallEnableStealthMode", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceCompliancePolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockSimple", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRequiredToUnlockFromIdle", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinutesOfInactivityBeforeLock", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinimumCharacterSetCount", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordPreviousPasswordBlockCount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireHealthyDeviceReport", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMinimumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMaximumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MobileOsMinimumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MobileOsMaximumVersion", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EarlyLaunchAntiMalwareDriverEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BitLockerEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecureBootEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CodeIntegrityEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRequireEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActiveFirewallRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderVersion", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SignatureOutOfDate", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RTPEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AntivirusRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AntiSpywareRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceThreatProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceThreatProtectionRequiredSecurityLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConfigurationManagerComplianceRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TPMRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceCompliancePolicyScript", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ValidOperatingSystemBuildRanges", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneGroupPolicyDefinitionValueDefinition", + "Parameters": [ + { + "CIMType": "String", + "Name": "CategoryPath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ClassType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExplainText", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GroupPolicyCategoryId", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HasRelatedDefinitions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinDeviceCspVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MinUserCspVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PolicyType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SupportedOn", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneGroupPolicyDefinitionValue", + "Parameters": [ + { + "CIMType": "String", + "Name": "ConfigurationType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneGroupPolicyDefinitionValueDefinition", + "Name": "Definition", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneGroupPolicyDefinitionValuePresentationValue[]", + "Name": "PresentationValues", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneGroupPolicyDefinitionValuePresentationValue", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "BooleanValue", + "Option": "Write" + }, + { + "CIMType": "Uint64", + "Name": "DecimalValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StringValue", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneGroupPolicyDefinitionValuePresentationValueKeyValuePair[]", + "Name": "KeyValuePairValues", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "StringValues", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PresentationDefinitionId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PresentationDefinitionLabel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneGroupPolicyDefinitionValuePresentationValueKeyValuePair", + "Parameters": [ + { + "CIMType": "String", + "Name": "Value", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "PolicyConfigurationIngestionType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneGroupPolicyDefinitionValue[]", + "Name": "DefinitionValues", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphOmaSetting", + "Parameters": [ + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsEncrypted", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OmaUri", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SecretReferenceValueId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FileName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Value", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsReadOnly", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationCustomPolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "MSFT_MicrosoftGraphomaSetting[]", + "Name": "OmaSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AdvancedThreatProtectionAutoPopulateOnboardingBlob", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedThreatProtectionOffboardingBlob", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedThreatProtectionOffboardingFilename", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedThreatProtectionOnboardingBlob", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AdvancedThreatProtectionOnboardingFilename", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowSampleSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableExpeditedTelemetryReporting", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeliveryOptimizationBandwidth", + "Parameters": [ + { + "CIMType": "UInt64", + "Name": "MaximumDownloadBandwidthInKilobytesPerSecond", + "Option": "Write" + }, + { + "CIMType": "UInt64", + "Name": "MaximumUploadBandwidthInKilobytesPerSecond", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeliveryOptimizationBandwidthBusinessHoursLimit", + "Name": "BandwidthBackgroundPercentageHours", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeliveryOptimizationBandwidthBusinessHoursLimit", + "Name": "BandwidthForegroundPercentageHours", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumBackgroundBandwidthPercentage", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumForegroundBandwidthPercentage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeliveryOptimizationBandwidthBusinessHoursLimit", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "BandwidthBeginBusinessHours", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "BandwidthEndBusinessHours", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "BandwidthPercentageDuringBusinessHours", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "BandwidthPercentageOutsideBusinessHours", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeliveryOptimizationGroupIdSource", + "Parameters": [ + { + "CIMType": "String", + "Name": "GroupIdCustom", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GroupIdSourceOption", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeliveryOptimizationMaxCacheSize", + "Parameters": [ + { + "CIMType": "UInt64", + "Name": "MaximumCacheSizeInGigabytes", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumCacheSizePercentage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10", + "Parameters": [ + { + "CIMType": "UInt64", + "Name": "BackgroundDownloadFromHttpDelayInSeconds", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeliveryOptimizationBandwidth", + "Name": "BandwidthMode", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "CacheServerBackgroundDownloadFallbackToHttpDelayInSeconds", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "CacheServerForegroundDownloadFallbackToHttpDelayInSeconds", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "CacheServerHostNames", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeliveryOptimizationMode", + "Option": "Write" + }, + { + "CIMType": "UInt64", + "Name": "ForegroundDownloadFromHttpDelayInSeconds", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeliveryOptimizationGroupIdSource", + "Name": "GroupIdSource", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumCacheAgeInDays", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeliveryOptimizationMaxCacheSize", + "Name": "MaximumCacheSize", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MinimumBatteryPercentageAllowedToUpload", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MinimumDiskSizeAllowedToPeerInGigabytes", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MinimumFileSizeToCacheInMegabytes", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MinimumRamAllowedToPeerInGigabytes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ModifyCacheLocation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RestrictPeerSelectionBy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "VpnPeerCaching", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationDomainJoinPolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "ActiveDirectoryDomainName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ComputerNameStaticPrefix", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ComputerNameSuffixRandomCharCount", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OrganizationalUnit", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationEmailProfilePolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "AccountName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DurationOfEmailToSync", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EmailAddressSource", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EmailSyncSchedule", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HostName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireSsl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SyncCalendar", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SyncContacts", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SyncTasks", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomDomainName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserDomainNameSource", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UsernameAADSource", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UsernameSource", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphBitLockerFixedDrivePolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "EncryptionMethod", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphBitLockerRecoveryOptions", + "Name": "RecoveryOptions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireEncryptionForWriteAccess", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphBitLockerRecoveryOptions", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "BlockDataRecoveryAgent", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableBitLockerAfterRecoveryInformationToStore", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableRecoveryInformationSaveToStore", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HideRecoveryOptions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecoveryInformationToStore", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecoveryKeyUsage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RecoveryPasswordUsage", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphBitLockerRemovableDrivePolicy", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "BlockCrossOrganizationWriteAccess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EncryptionMethod", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireEncryptionForWriteAccess", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphBitLockerSystemDrivePolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "EncryptionMethod", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MinimumPinLength", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrebootRecoveryEnableMessageAndUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrebootRecoveryMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrebootRecoveryUrl", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphBitLockerRecoveryOptions", + "Name": "RecoveryOptions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartupAuthenticationBlockWithoutTpmChip", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartupAuthenticationRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartupAuthenticationTpmKeyUsage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartupAuthenticationTpmPinAndKeyUsage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartupAuthenticationTpmPinUsage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartupAuthenticationTpmUsage", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDefenderDetectedMalwareActions", + "Parameters": [ + { + "CIMType": "String", + "Name": "HighSeverity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LowSeverity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ModerateSeverity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SevereSeverity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsFirewallNetworkProfile", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AuthorizedApplicationRulesFromGroupPolicyMerged", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AuthorizedApplicationRulesFromGroupPolicyNotMerged", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectionSecurityRulesFromGroupPolicyMerged", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectionSecurityRulesFromGroupPolicyNotMerged", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FirewallEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GlobalPortRulesFromGroupPolicyMerged", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GlobalPortRulesFromGroupPolicyNotMerged", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InboundConnectionsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InboundConnectionsRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InboundNotificationsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InboundNotificationsRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IncomingTrafficBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IncomingTrafficRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutboundConnectionsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OutboundConnectionsRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PolicyRulesFromGroupPolicyMerged", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PolicyRulesFromGroupPolicyNotMerged", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecuredPacketExemptionAllowed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecuredPacketExemptionBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StealthModeBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StealthModeRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UnicastResponsesToMulticastBroadcastsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UnicastResponsesToMulticastBroadcastsRequired", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsFirewallRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Action", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeTraversal", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FilePath", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "InterfaceTypes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "LocalAddressRanges", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "LocalPortRanges", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalUserAuthorizations", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PackageFamilyName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProfileTypes", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Protocol", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoteAddressRanges", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemotePortRanges", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ServiceName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TrafficDirection", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementUserRightsSetting", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementUserRightsLocalUserOrGroup[]", + "Name": "LocalUsersOrGroups", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "State", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementUserRightsLocalUserOrGroup", + "Parameters": [ + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SecurityIdentifier", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationEndpointProtectionPolicyWindows10", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "ApplicationGuardAllowCameraMicrophoneRedirection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardAllowFileSaveOnHost", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardAllowPersistence", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardAllowPrintToLocalPrinters", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardAllowPrintToNetworkPrinters", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardAllowPrintToPDF", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardAllowPrintToXPS", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardAllowVirtualGPU", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationGuardBlockClipboardSharing", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationGuardBlockFileTransfer", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardBlockNonEnterpriseContent", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ApplicationGuardCertificateThumbprints", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationGuardEnabledOptions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplicationGuardForceAuditing", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppLockerApplicationControl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BitLockerAllowStandardUserEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BitLockerDisableWarningForOtherDiskEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BitLockerEnableStorageCardEncryptionOnMobile", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BitLockerEncryptDevice", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphbitLockerFixedDrivePolicy", + "Name": "BitLockerFixedDrivePolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BitLockerRecoveryPasswordRotation", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphbitLockerRemovableDrivePolicy", + "Name": "BitLockerRemovableDrivePolicy", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphbitLockerSystemDrivePolicy", + "Name": "BitLockerSystemDrivePolicy", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefenderAdditionalGuardedFolders", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderAdobeReaderLaunchChildProcess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderAdvancedRansomewareProtectionType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowBehaviorMonitoring", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowCloudProtection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowEndUserAccess", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowIntrusionPreventionSystem", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowOnAccessProtection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowRealTimeMonitoring", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowScanArchiveFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowScanDownloads", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowScanNetworkFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowScanRemovableDrivesDuringFullScan", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderAllowScanScriptsLoadedInInternetExplorer", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefenderAttackSurfaceReductionExcludedPaths", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderBlockEndUserAccess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderBlockPersistenceThroughWmiType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderCheckForSignaturesBeforeRunningScan", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderCloudBlockLevel", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefenderCloudExtendedTimeoutInSeconds", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefenderDaysBeforeDeletingQuarantinedMalware", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdefenderDetectedMalwareActions", + "Name": "DefenderDetectedMalwareActions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableBehaviorMonitoring", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableCatchupFullScan", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableCatchupQuickScan", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableCloudProtection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableIntrusionPreventionSystem", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableOnAccessProtection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableRealTimeMonitoring", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableScanArchiveFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableScanDownloads", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableScanNetworkFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableScanRemovableDrivesDuringFullScan", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableScanScriptsLoadedInInternetExplorer", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderEmailContentExecution", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderEmailContentExecutionType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderEnableLowCpuPriority", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderEnableScanIncomingMail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderEnableScanMappedNetworkDrivesDuringFullScan", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderExploitProtectionXml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderExploitProtectionXmlFileName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefenderFileExtensionsToExclude", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefenderFilesAndFoldersToExclude", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefenderGuardedFoldersAllowedAppPaths", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderGuardMyFoldersType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderNetworkProtectionType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderOfficeAppsExecutableContentCreationOrLaunch", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderOfficeAppsExecutableContentCreationOrLaunchType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderOfficeAppsLaunchChildProcess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderOfficeAppsLaunchChildProcessType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderOfficeAppsOtherProcessInjection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderOfficeAppsOtherProcessInjectionType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderOfficeCommunicationAppsLaunchChildProcess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderOfficeMacroCodeAllowWin32Imports", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderOfficeMacroCodeAllowWin32ImportsType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderPotentiallyUnwantedAppAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderPreventCredentialStealingType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderProcessCreation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderProcessCreationType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefenderProcessesToExclude", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScanDirection", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefenderScanMaxCpuPercentage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScanType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScheduledQuickScanTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScheduledScanDay", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScheduledScanTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScriptDownloadedPayloadExecution", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScriptDownloadedPayloadExecutionType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScriptObfuscatedMacroCode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScriptObfuscatedMacroCodeType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterBlockExploitProtectionOverride", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableAccountUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableAppBrowserUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableClearTpmUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableFamilyUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableHardwareUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableHealthUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableNetworkUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableNotificationAreaUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableRansomwareUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableSecureBootUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableTroubleshootingUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableVirusUI", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderSecurityCenterDisableVulnerableTpmFirmwareUpdateUI", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderSecurityCenterHelpEmail", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderSecurityCenterHelpPhone", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderSecurityCenterHelpURL", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderSecurityCenterITContactDisplay", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderSecurityCenterNotificationsFromApp", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderSecurityCenterOrganizationDisplayName", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefenderSignatureUpdateIntervalInHours", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderSubmitSamplesConsentType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderUntrustedExecutable", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderUntrustedExecutableType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderUntrustedUSBProcess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderUntrustedUSBProcessType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceGuardEnableSecureBootWithDMA", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceGuardEnableVirtualizationBasedSecurity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceGuardLaunchSystemGuard", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceGuardLocalSystemAuthorityCredentialGuardSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceGuardSecureBootWithDMA", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DmaGuardDeviceEnumerationPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallBlockStatefulFTP", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FirewallCertificateRevocationListCheckMethod", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "FirewallIdleTimeoutForSecurityAssociationInSeconds", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallIPSecExemptionsAllowDHCP", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallIPSecExemptionsAllowICMP", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallIPSecExemptionsAllowNeighborDiscovery", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallIPSecExemptionsAllowRouterDiscovery", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallIPSecExemptionsNone", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FirewallMergeKeyingModuleSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FirewallPacketQueueingMethod", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FirewallPreSharedKeyEncodingMethod", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsFirewallNetworkProfile", + "Name": "FirewallProfileDomain", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsFirewallNetworkProfile", + "Name": "FirewallProfilePrivate", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsFirewallNetworkProfile", + "Name": "FirewallProfilePublic", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsFirewallRule[]", + "Name": "FirewallRules", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LanManagerAuthenticationLevel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LanManagerWorkstationDisableInsecureGuestLogons", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsAdministratorAccountName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsAdministratorElevationPromptBehavior", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsAllowAnonymousEnumerationOfSAMAccountsAndShares", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsAllowPKU2UAuthenticationRequests", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsAllowRemoteCallsToSecurityAccountsManager", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsAllowRemoteCallsToSecurityAccountsManagerHelperBool", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsAllowSystemToBeShutDownWithoutHavingToLogOn", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsAllowUIAccessApplicationElevation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsAllowUIAccessApplicationsForSecureLocations", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsAllowUndockWithoutHavingToLogon", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsBlockMicrosoftAccounts", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsBlockRemoteLogonWithBlankPassword", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsBlockRemoteOpticalDriveAccess", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsBlockUsersInstallingPrinterDrivers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsClearVirtualMemoryPageFile", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsClientDigitallySignCommunicationsAlways", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsClientSendUnencryptedPasswordToThirdPartySMBServers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsDetectApplicationInstallationsAndPromptForElevation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsDisableAdministratorAccount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsDisableClientDigitallySignCommunicationsIfServerAgrees", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsDisableGuestAccount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsDisableServerDigitallySignCommunicationsAlways", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsDisableServerDigitallySignCommunicationsIfClientAgrees", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsDoNotAllowAnonymousEnumerationOfSAMAccounts", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsDoNotRequireCtrlAltDel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsDoNotStoreLANManagerHashValueOnNextPasswordChange", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsGuestAccountName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsHideLastSignedInUser", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsHideUsernameAtSignIn", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsInformationDisplayedOnLockScreen", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsInformationShownOnLockScreen", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsLogOnMessageText", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsLogOnMessageTitle", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "LocalSecurityOptionsMachineInactivityLimit", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "LocalSecurityOptionsMachineInactivityLimitInMinutes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsOnlyElevateSignedExecutables", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsRestrictAnonymousAccessToNamedPipesAndShares", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsSmartCardRemovalBehavior", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalSecurityOptionsStandardUserElevationPromptBehavior", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsSwitchToSecureDesktopWhenPromptingForElevation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsUseAdminApprovalMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsUseAdminApprovalModeForAdministrators", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocalSecurityOptionsVirtualizeFileAndRegistryWriteFailuresToPerUserLocations", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmartScreenBlockOverrideForFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmartScreenEnableInShell", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsAccessCredentialManagerAsTrustedCaller", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsActAsPartOfTheOperatingSystem", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsAllowAccessFromNetwork", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsBackupData", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsBlockAccessFromNetwork", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsChangeSystemTime", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsCreateGlobalObjects", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsCreatePageFile", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsCreatePermanentSharedObjects", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsCreateSymbolicLinks", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsCreateToken", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsDebugPrograms", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsDelegation", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsDenyLocalLogOn", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsGenerateSecurityAudits", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsImpersonateClient", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsIncreaseSchedulingPriority", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsLoadUnloadDrivers", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsLocalLogOn", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsLockMemory", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsManageAuditingAndSecurityLogs", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsManageVolumes", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsModifyFirmwareEnvironment", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsModifyObjectLabels", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsProfileSingleProcess", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsRemoteDesktopServicesLogOn", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsRemoteShutdown", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsRestoreData", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementUserRightsSetting", + "Name": "UserRightsTakeOwnership", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WindowsDefenderTamperProtection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "XboxServicesAccessoryManagementServiceStartupMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "XboxServicesEnableXboxGameSaveTask", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "XboxServicesLiveAuthManagerServiceStartupMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "XboxServicesLiveGameSaveServiceStartupMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "XboxServicesLiveNetworkingServiceStartupMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "Bluetooth", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BootFromBuiltInNetworkAdapters", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BootFromExternalMedia", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Cameras", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ChangeUefiSettingsPermission", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FrontCamera", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InfraredCamera", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Microphone", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MicrophonesAndSpeakers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NearFieldCommunication", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Radios", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RearCamera", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SdCard", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SimultaneousMultiThreading", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UsbTypeAPort", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "VirtualizationOfCpuAndIO", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WakeOnLAN", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WakeOnPower", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WiFi", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WindowsPlatformBinaryTable", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WirelessWideAreaNetwork", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "AllowDeviceHealthMonitoring", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConfigDeviceHealthMonitoringCustomScope", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ConfigDeviceHealthMonitoringScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationIdentityProtectionPolicyWindows10", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "EnhancedAntiSpoofingForFacialFeaturesEnabled", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PinExpirationInDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PinLowercaseCharactersUsage", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PinMaximumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PinMinimumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PinPreviousBlockCount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PinRecoveryEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PinSpecialCharactersUsage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PinUppercaseCharactersUsage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityDeviceRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UnlockWithBiometricsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseCertificatesForOnPremisesAuthEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseSecurityKeyForSignin", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsHelloForBusinessBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "IntendedPurpose", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateValidityPeriodScale", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "CertificateValidityPeriodValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KeyStorageProvider", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "RenewalThresholdPercentage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectAlternativeNameType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectNameFormat", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsKioskProfile", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphWindowsKioskAppConfiguration", + "Name": "AppConfiguration", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProfileId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProfileName", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphWindowsKioskUser[]", + "Name": "UserAccountsConfiguration", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsKioskAppConfiguration", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AllowAccessToDownloadsFolder", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphWindowsKioskAppBase[]", + "Name": "Apps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisallowDesktopApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ShowTaskBar", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuLayoutXml", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphWindowsKioskUWPApp", + "Name": "UwpApp", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphWindowsKioskWin32App", + "Name": "Win32App", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsKioskAppBase", + "Parameters": [ + { + "CIMType": "String", + "Name": "AppType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutoLaunch", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartLayoutTileSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DesktopApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DesktopApplicationLinkPath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Path", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppUserModelId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ContainedAppId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ClassicAppPath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeKiosk", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EdgeKioskIdleTimeoutMinutes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeKioskType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeNoFirstRun", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsKioskUWPApp", + "Parameters": [ + { + "CIMType": "String", + "Name": "AppId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppUserModelId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ContainedAppId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutoLaunch", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartLayoutTileSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DesktopApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DesktopApplicationLinkPath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Path", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ClassicAppPath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeKiosk", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EdgeKioskIdleTimeoutMinutes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeKioskType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeNoFirstRun", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsKioskWin32App", + "Parameters": [ + { + "CIMType": "String", + "Name": "ClassicAppPath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeKiosk", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EdgeKioskIdleTimeoutMinutes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeKioskType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeNoFirstRun", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutoLaunch", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartLayoutTileSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DesktopApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DesktopApplicationLinkPath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Path", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppUserModelId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ContainedAppId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsKioskUser", + "Parameters": [ + { + "CIMType": "String", + "Name": "GroupName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GroupId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserPrincipalName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsKioskForceUpdateSchedule", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "DayofMonth", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DayofWeek", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Recurrence", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RunImmediatelyIfAfterStartDateTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartDateTime", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationKioskPolicyWindows10", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "EdgeKioskEnablePublicBrowsing", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "KioskBrowserBlockedUrlExceptions", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "KioskBrowserBlockedURLs", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskBrowserDefaultUrl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskBrowserEnableEndSessionButton", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskBrowserEnableHomeButton", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskBrowserEnableNavigationButtons", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "KioskBrowserRestartOnIdleTimeInMinutes", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsKioskProfile[]", + "Name": "KioskProfiles", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsKioskForceUpdateSchedule", + "Name": "WindowsKioskForceUpdateSchedule", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsNetworkIsolationPolicy", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphProxiedDomain1[]", + "Name": "EnterpriseCloudResources", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EnterpriseInternalProxyServers", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphIpRange1[]", + "Name": "EnterpriseIPRanges", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnterpriseIPRangesAreAuthoritative", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EnterpriseNetworkDomainNames", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EnterpriseProxyServers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnterpriseProxyServersAreAuthoritative", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "NeutralDomainResources", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphProxiedDomain1", + "Parameters": [ + { + "CIMType": "String", + "Name": "IpAddressOrFQDN", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Proxy", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphIpRange1", + "Parameters": [ + { + "CIMType": "String", + "Name": "CidrAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LowerAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UpperAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphwindowsNetworkIsolationPolicy", + "Name": "WindowsNetworkIsolationPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphCustomSubjectAlternativeName", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SanType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphExtendedKeyUsage", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ObjectIdentifier", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationPkcsCertificatePolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "CertificateStore", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateTemplateName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificationAuthority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificationAuthorityName", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphcustomSubjectAlternativeName[]", + "Name": "CustomSubjectAlternativeNames", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphextendedKeyUsage[]", + "Name": "ExtendedKeyUsages", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectAlternativeNameFormatString", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectNameFormatString", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateValidityPeriodScale", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "CertificateValidityPeriodValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KeyStorageProvider", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "RenewalThresholdPercentage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectAlternativeNameType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectNameFormat", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphapplistitem", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "appId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "appStoreUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "publisher", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppsBlockClipboardSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppsBlockCopyPaste", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppsBlockYouTube", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "AppsHideList", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "AppsInstallAllowList", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "AppsLaunchBlockList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CameraBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockDataRoaming", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockMessaging", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockVoiceRoaming", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockWiFiTethering", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CompliantAppListType", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "CompliantAppsList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DateAndTimeBlockChanges", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceSharingAllowed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DiagnosticDataBlockSubmission", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FactoryResetBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GoogleAccountBlockAutoSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GooglePlayStoreBlocked", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "KioskModeApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeBlockSleepButton", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeBlockVolumeButtons", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocationServicesBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NfcBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockFingerprintUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockTrustAgents", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinutesOfInactivityBeforeScreenTimeout", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordPreviousPasswordBlockCount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordSignInFailureCountBeforeFactoryReset", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PowerOffBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RequiredPasswordComplexity", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ScreenCaptureBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireVerifyApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageBlockGoogleBackup", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageBlockRemovableStorage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRequireDeviceEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRequireRemovableStorageEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VoiceAssistantBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VoiceDialingBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WebBrowserBlockAutofill", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WebBrowserBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WebBrowserBlockJavaScript", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WebBrowserBlockPopups", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WebBrowserCookieSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WiFiBlocked", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphandroiddeviceowneruserfacingmessage", + "Parameters": [ + { + "CIMType": "String", + "Name": "defaultMessage", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphkeyvaluepair[]", + "Name": "localizedMessages", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphkeyvaluepair", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Value", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphandroiddeviceownerglobalproxy", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "proxyAutoConfigURL", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "excludedHosts", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "host", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "port", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphandroiddeviceownerkioskmodeapppositionitem", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceownerkioskmodehomescreenitem", + "Name": "item", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "position", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphandroiddeviceownerkioskmodehomescreenitem", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "folderIdentifier", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "folderName", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceownerkioskmodefolderitem[]", + "Name": "items", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "className", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "package", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "label", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "link", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphandroiddeviceownerkioskmodemanagedfolder", + "Parameters": [ + { + "CIMType": "String", + "Name": "folderIdentifier", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "folderName", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceownerkioskmodefolderitem[]", + "Name": "items", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphandroiddeviceownerkioskmodefolderitem", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "className", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "package", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "label", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "link", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphandroiddeviceownersystemupdatefreezeperiod", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "endDay", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "endMonth", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "startDay", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "startMonth", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationPolicyAndroidDeviceOwner", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AccountsBlockModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppsAllowInstallFromUnknownSources", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppsAutoUpdatePolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppsDefaultPermissionPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppsRecommendSkippingFirstUseHints", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "AzureAdSharedDeviceDataClearApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlockConfiguration", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlockContactSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CameraBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockWiFiTethering", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CertificateCredentialConfigurationDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CrossProfilePoliciesAllowCopyPaste", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CrossProfilePoliciesAllowDataSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CrossProfilePoliciesShowWorkContactsInPersonalProfile", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DataRoamingBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DateTimeConfigurationBlocked", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceowneruserfacingmessage", + "Name": "DetailedHelpText", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceowneruserfacingmessage", + "Name": "DeviceOwnerLockScreenMessage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnrollmentProfile", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FactoryResetBlocked", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "FactoryResetDeviceAdministratorEmails", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceownerglobalproxy", + "Name": "GlobalProxy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GoogleAccountsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskCustomizationDeviceSettingsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskCustomizationPowerButtonActionsBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskCustomizationStatusBar", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskCustomizationSystemErrorWarnings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskCustomizationSystemNavigation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAppOrderEnabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceownerkioskmodeapppositionitem[]", + "Name": "KioskModeAppPositions", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "KioskModeApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAppsInFolderOrderedByName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeBluetoothConfigurationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeDebugMenuEasyAccessEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeExitCode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeFlashlightConfigurationEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeFolderIcon", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "KioskModeGridHeight", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "KioskModeGridWidth", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeIconSize", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeLockHomeScreen", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceownerkioskmodemanagedfolder[]", + "Name": "KioskModeManagedFolders", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeManagedHomeScreenAutoSignout", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "KioskModeManagedHomeScreenInactiveSignOutDelayInSeconds", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "KioskModeManagedHomeScreenInactiveSignOutNoticeInSeconds", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeManagedHomeScreenPinComplexity", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeManagedHomeScreenPinRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeManagedHomeScreenPinRequiredToResume", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeManagedHomeScreenSignInBackground", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeManagedHomeScreenSignInBrandingLogo", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeManagedHomeScreenSignInEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeManagedSettingsEntryDisabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeMediaVolumeConfigurationEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeScreenOrientation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeScreenSaverConfigurationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeScreenSaverDetectMediaDisabled", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "KioskModeScreenSaverDisplayTimeInSeconds", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeScreenSaverImageUrl", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "KioskModeScreenSaverStartDelayInSeconds", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeShowAppNotificationBadge", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeShowDeviceInfo", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeUseManagedHomeScreenApp", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeVirtualHomeButtonEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeVirtualHomeButtonType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeWallpaperUrl", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "KioskModeWifiAllowedSsids", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeWiFiConfigurationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrophoneForceMute", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftLauncherConfigurationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftLauncherCustomWallpaperAllowUserModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftLauncherCustomWallpaperEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MicrosoftLauncherCustomWallpaperImageUrl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftLauncherDockPresenceAllowUserModification", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MicrosoftLauncherDockPresenceConfiguration", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftLauncherFeedAllowUserModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftLauncherFeedEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MicrosoftLauncherSearchBarPlacementConfiguration", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NetworkEscapeHatchAllowed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NfcBlockOutgoingBeam", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockKeyguard", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PasswordBlockKeyguardFeatures", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumLetterCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumLowerCaseCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumNonLetterCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumNumericCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumSymbolCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumUpperCaseCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinutesOfInactivityBeforeScreenTimeout", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordPreviousPasswordCountToBlock", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequireUnlock", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordSignInFailureCountBeforeFactoryReset", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PersonalProfileAppsAllowInstallFromUnknownSources", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PersonalProfileCameraBlocked", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "PersonalProfilePersonalApplications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PersonalProfilePlayStoreMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PersonalProfileScreenCaptureBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PlayStoreMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ScreenCaptureBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityCommonCriteriaModeEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityDeveloperSettingsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireVerifyApps", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceowneruserfacingmessage", + "Name": "ShortHelpText", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StatusBarBlocked", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "StayOnModes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageAllowUsb", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageBlockExternalMedia", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageBlockUsbFileTransfer", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphandroiddeviceownersystemupdatefreezeperiod[]", + "Name": "SystemUpdateFreezePeriods", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SystemUpdateInstallType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SystemUpdateWindowEndMinutesAfterMidnight", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SystemUpdateWindowStartMinutesAfterMidnight", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SystemWindowsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UsersBlockAdd", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UsersBlockRemove", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VolumeBlockAdjustment", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VpnAlwaysOnLockdownMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "VpnAlwaysOnPackageIdentifier", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WifiBlockEditConfigurations", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WifiBlockEditPolicyDefinedConfigurations", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordMinimumLetterCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordMinimumLowerCaseCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordMinimumNonLetterCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordMinimumNumericCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordMinimumSymbolCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordMinimumUpperCaseCharacters", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordPreviousPasswordCountToBlock", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WorkProfilePasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WorkProfilePasswordRequireUnlock", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WorkProfilePasswordSignInFailureCountBeforeFactoryReset", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationPolicyAndroidOpenSourceProject", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppsBlockInstallFromUnknownSources", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlockConfiguration", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CameraBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FactoryResetBlocked", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinutesOfInactivityBeforeScreenTimeout", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordSignInFailureCountBeforeFactoryReset", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ScreenCaptureBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityAllowDebuggingFeatures", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageBlockExternalMedia", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageBlockUsbFileTransfer", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WifiBlockEditConfigurations", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationPolicyAndroidWorkProfile", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockFaceUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockFingerprintUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockIrisUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "passwordBlockTrustAgents", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordMinutesOfInactivityBeforeScreenTimeout", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordPreviousPasswordBlockCount", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "PasswordSignInFailureCountBeforeFactoryReset", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RequiredPasswordComplexity", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileAllowAppInstallsFromUnknownSources", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WorkProfileDataSharingType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileBlockNotificationsWhileDeviceLocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileBlockAddingAccounts", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileBluetoothEnableContactSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileBlockScreenCapture", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileBlockCrossProfileCallerId", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileBlockCamera", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileBlockCrossProfileContactsSearch", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileBlockCrossProfileCopyPaste", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WorkProfileDefaultAppPermissionPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfilePasswordBlockFaceUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfilePasswordBlockFingerprintUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfilePasswordBlockIrisUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfilePasswordBlockTrustAgents", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordMinNumericCharacters", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordMinNonLetterCharacters", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordMinLetterCharacters", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordMinLowerCaseCharacters", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordMinUpperCaseCharacters", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordMinSymbolCharacters", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordMinutesOfInactivityBeforeScreenTimeout", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordPreviousPasswordBlockCount", + "Option": "Write" + }, + { + "CIMType": "Uint32", + "Name": "WorkProfilePasswordSignInFailureCountBeforeFactoryReset", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WorkProfilePasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WorkProfileRequiredPasswordComplexity", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileRequirePassword", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityRequireVerifyApps", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "VpnAlwaysOnPackageIdentifier", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VpnEnableAlwaysOnLockdownMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileAllowWidgets", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WorkProfileBlockPersonalAppInstallsFromUnknownSources", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmediacontentratingaustralia", + "Parameters": [ + { + "CIMType": "String", + "Name": "movieRating", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tvRating", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmediacontentratingcanada", + "Parameters": [ + { + "CIMType": "String", + "Name": "movieRating", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tvRating", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmediacontentratingfrance", + "Parameters": [ + { + "CIMType": "String", + "Name": "movieRating", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tvRating", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmediacontentratinggermany", + "Parameters": [ + { + "CIMType": "String", + "Name": "movieRating", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tvRating", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmediacontentratingireland", + "Parameters": [ + { + "CIMType": "String", + "Name": "movieRating", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tvRating", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmediacontentratingjapan", + "Parameters": [ + { + "CIMType": "String", + "Name": "movieRating", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tvRating", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmediacontentratingnewzealand", + "Parameters": [ + { + "CIMType": "String", + "Name": "movieRating", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tvRating", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmediacontentratingunitedkingdom", + "Parameters": [ + { + "CIMType": "String", + "Name": "movieRating", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tvRating", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmediacontentratingunitedstates", + "Parameters": [ + { + "CIMType": "String", + "Name": "movieRating", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "tvRating", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphiosnetworkusagerule", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "cellularDataBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "cellularDataBlockWhenRoaming", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "managedApps", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationPolicyIOS", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AccountBlockModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ActivationLockAllowWhenSupervised", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AirDropBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AirDropForceUnmanagedDropTarget", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AirPlayForcePairingPasswordForOutgoingRequests", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AirPrintBlockCredentialsStorage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AirPrintBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AirPrintBlockiBeaconDiscovery", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AirPrintForceTrustedTLS", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppClipsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppleNewsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplePersonalizedAdsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppleWatchBlockPairing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppleWatchForceWristDetection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppRemovalBlocked", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "AppsSingleAppModeList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppStoreBlockAutomaticDownloads", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppStoreBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppStoreBlockInAppPurchases", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppStoreBlockUIAppInstallation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppStoreRequirePassword", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "AppsVisibilityList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppsVisibilityListType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutoFillForceAuthentication", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutoUnlockBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BlockSystemAppRemoval", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlockModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CameraBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockDataRoaming", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockGlobalBackgroundFetchWhileRoaming", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockPerAppDataModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockPersonalHotspot", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockPersonalHotspotModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockPlanModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockVoiceRoaming", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CertificatesBlockUntrustedTlsCertificates", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomAppBlockRemoteScreenObservation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomAppForceUnpromptedScreenObservation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomForceAutomaticallyJoinClasses", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomForceRequestPermissionToLeaveClasses", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomForceUnpromptedAppAndDeviceLock", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CompliantAppListType", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitem[]", + "Name": "CompliantAppsList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConfigurationProfileBlockChanges", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ContactsAllowManagedToUnmanagedWrite", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ContactsAllowUnmanagedToManagedRead", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ContinuousPathKeyboardBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DateAndTimeForceSetAutomatically", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefinitionLookupBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceBlockEnableRestrictions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceBlockEraseContentAndSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceBlockNameModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DiagnosticDataBlockSubmission", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DiagnosticDataBlockSubmissionModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DocumentsBlockManagedDocumentsInUnmanagedApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DocumentsBlockUnmanagedDocumentsInManagedApps", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EmailInDomainSuffixes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnterpriseAppBlockTrust", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnterpriseAppBlockTrustModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnterpriseBookBlockBackup", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnterpriseBookBlockMetadataSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EsimBlockModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FaceTimeBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FilesNetworkDriveAccessBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FilesUsbDriveAccessBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FindMyDeviceInFindMyAppBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FindMyFriendsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FindMyFriendsInFindMyAppBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GameCenterBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GamingBlockGameCenterFriends", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GamingBlockMultiplayer", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HostPairingBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IBooksStoreBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IBooksStoreBlockErotica", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockActivityContinuation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockBackup", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockDocumentSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockManagedAppsSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockPhotoLibrary", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockPhotoStreamSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockSharedPhotoStream", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudPrivateRelayBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudRequireEncryptedBackup", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ITunesBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ITunesBlockExplicitContent", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ITunesBlockMusicService", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ITunesBlockRadio", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KeyboardBlockAutoCorrect", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KeyboardBlockDictation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KeyboardBlockPredictive", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KeyboardBlockShortcuts", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KeyboardBlockSpellCheck", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KeychainBlockCloudSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowAssistiveSpeak", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowAssistiveTouchSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowAutoLock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowColorInversionSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowRingerSwitch", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowScreenRotation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowSleepButton", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowTouchscreen", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowVoiceControlModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowVoiceOverSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowVolumeButtons", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeAllowZoomSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeAppStoreUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeAppType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeBlockAutoLock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeBlockRingerSwitch", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeBlockScreenRotation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeBlockSleepButton", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeBlockTouchscreen", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeBlockVolumeButtons", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeBuiltInAppId", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeEnableVoiceControl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskModeManagedAppId", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeRequireAssistiveTouch", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeRequireColorInversion", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeRequireMonoAudio", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeRequireVoiceOver", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KioskModeRequireZoom", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LockScreenBlockControlCenter", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LockScreenBlockNotificationView", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LockScreenBlockPassbook", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LockScreenBlockTodayView", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedPasteboardRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MediaContentRatingApps", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmediacontentratingaustralia", + "Name": "MediaContentRatingAustralia", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmediacontentratingcanada", + "Name": "MediaContentRatingCanada", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmediacontentratingfrance", + "Name": "MediaContentRatingFrance", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmediacontentratinggermany", + "Name": "MediaContentRatingGermany", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmediacontentratingireland", + "Name": "MediaContentRatingIreland", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmediacontentratingjapan", + "Name": "MediaContentRatingJapan", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmediacontentratingnewzealand", + "Name": "MediaContentRatingNewZealand", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmediacontentratingunitedkingdom", + "Name": "MediaContentRatingUnitedKingdom", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmediacontentratingunitedstates", + "Name": "MediaContentRatingUnitedStates", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MessagesBlocked", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphiosnetworkusagerule[]", + "Name": "NetworkUsageRules", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NfcBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NotificationsBlockSettingsModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OnDeviceOnlyDictationForced", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OnDeviceOnlyTranslationForced", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasscodeBlockFingerprintModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasscodeBlockFingerprintUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasscodeBlockModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasscodeBlockSimple", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasscodeExpirationDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasscodeMinimumCharacterSetCount", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasscodeMinimumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasscodeMinutesOfInactivityBeforeLock", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasscodeMinutesOfInactivityBeforeScreenTimeout", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasscodePreviousPasscodeBlockCount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasscodeRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasscodeRequiredType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasscodeSignInFailureCountBeforeWipe", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockAirDropSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockAutoFill", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockProximityRequests", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PkiBlockOTAUpdates", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PodcastsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrivacyForceLimitAdTracking", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ProximityBlockSetupToNewDevice", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SafariBlockAutofill", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SafariBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SafariBlockJavaScript", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SafariBlockPopups", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SafariCookieSettings", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SafariManagedDomains", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SafariPasswordAutoFillDomains", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SafariRequireFraudWarning", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ScreenCaptureBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SharedDeviceBlockTemporarySessions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiriBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiriBlockedWhenLocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiriBlockUserGeneratedContent", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiriRequireProfanityFilter", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SoftwareUpdatesEnforcedDelayInDays", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SoftwareUpdatesForceDelayed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SpotlightBlockInternetResults", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UnpairedExternalBootToRecoveryAllowed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UsbRestrictedModeBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VoiceDialingBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VpnBlockCreation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WallpaperBlockModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WiFiConnectOnlyToConfiguredNetworks", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WiFiConnectToAllowedNetworksOnlyForced", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WifiPowerOnForced", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphapplistitemMacOS", + "Parameters": [ + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "appId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "appStoreUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "name", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "publisher", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmacosprivacyaccesscontrolitem", + "Parameters": [ + { + "CIMType": "String", + "Name": "accessibility", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "addressBook", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmacosappleeventreceiver[]", + "Name": "appleEventsAllowedReceivers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "blockCamera", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "blockListenEvent", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "blockMicrophone", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "blockScreenCapture", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "calendar", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "codeRequirement", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "displayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "fileProviderPresence", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "identifier", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "identifierType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "mediaLibrary", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "photos", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "postEvent", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "reminders", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "speechRecognition", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "staticCodeValidation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "systemPolicyAllFiles", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "systemPolicyDesktopFolder", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "systemPolicyDocumentsFolder", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "systemPolicyDownloadsFolder", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "systemPolicyNetworkVolumes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "systemPolicyRemovableVolumes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "systemPolicySystemAdminFiles", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphmacosappleeventreceiver", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "allowed", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "codeRequirement", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "identifier", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "identifierType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationPolicyMacOS", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AddingGameCenterFriendsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AirDropBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppleWatchBlockAutoUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CameraBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomAppBlockRemoteScreenObservation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomAppForceUnpromptedScreenObservation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomForceAutomaticallyJoinClasses", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomForceRequestPermissionToLeaveClasses", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClassroomForceUnpromptedAppAndDeviceLock", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CompliantAppListType", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphapplistitemMacOS[]", + "Name": "CompliantAppsList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ContentCachingBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefinitionLookupBlocked", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EmailInDomainSuffixes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EraseContentAndSettingsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GameCenterBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockActivityContinuation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockAddressBook", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockBookmarks", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockCalendar", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockDocumentSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockMail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockNotes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockPhotoLibrary", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudBlockReminders", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudDesktopAndDocumentsBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ICloudPrivateRelayBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ITunesBlockFileSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ITunesBlockMusicService", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KeyboardBlockDictation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "KeychainBlockCloudSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MultiplayerGamingBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockAirDropSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockAutoFill", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockFingerprintUnlock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockProximityRequests", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockSimple", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMaximumAttemptCount", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumCharacterSetCount", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinutesOfInactivityBeforeLock", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinutesOfInactivityBeforeScreenTimeout", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinutesUntilFailedLoginReset", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordPreviousPasswordBlockCount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphmacosprivacyaccesscontrolitem[]", + "Name": "PrivacyAccessControls", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SafariBlockAutofill", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ScreenCaptureBlocked", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SoftwareUpdateMajorOSDeferredInstallDelayInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SoftwareUpdateMinorOSDeferredInstallDelayInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SoftwareUpdateNonOSDeferredInstallDelayInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SoftwareUpdatesEnforcedDelayInDays", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SpotlightBlockInternetResults", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "TouchIdTimeoutInHours", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "UpdateDelayPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WallpaperModificationBlocked", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDefenderDetectedMalwareActions1", + "Parameters": [ + { + "CIMType": "String", + "Name": "HighSeverity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LowSeverity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ModerateSeverity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SevereSeverity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphEdgeHomeButtonConfiguration", + "Parameters": [ + { + "CIMType": "String", + "Name": "HomeButtonCustomURL", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphEdgeSearchEngineBase", + "Parameters": [ + { + "CIMType": "String", + "Name": "EdgeSearchEngineType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeSearchEngineOpenSearchXmlUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindows10NetworkProxyServer", + "Parameters": [ + { + "CIMType": "String", + "Name": "Address", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Exceptions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseForLocalAddresses", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindows10AppsForceUpdateSchedule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Recurrence", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RunImmediatelyIfAfterStartDateTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartDateTime", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationPolicyWindows10", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AccountsBlockAddingNonMicrosoftAccountEmail", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ActivateAppsWithVoice", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AntiTheftModeBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppManagementMSIAllowUserControlOverInstall", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppManagementMSIAlwaysInstallWithElevatedPrivileges", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AppManagementPackageFamilyNamesToLaunchAfterLogOn", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppsAllowTrustedAppsSideloading", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppsBlockWindowsStoreOriginatedApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AuthenticationAllowSecondaryDevice", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AuthenticationPreferredAzureADTenantDomainName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AuthenticationWebSignIn", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BluetoothAllowedServices", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlockAdvertising", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlockDiscoverableMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlockPrePairing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BluetoothBlockPromptedProximalConnections", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CameraBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockDataWhenRoaming", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockVpn", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CellularBlockVpnWhenRoaming", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CellularData", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CertificatesBlockManualRootCertificateInstallation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConfigureTimeZone", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectedDevicesServiceBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CopyPasteBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CortanaBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CryptographyAllowFipsAlgorithmPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DataProtectionBlockDirectMemoryAccess", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderBlockEndUserAccess", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderBlockOnAccessProtection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderCloudBlockLevel", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefenderCloudExtendedTimeout", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefenderCloudExtendedTimeoutInSeconds", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefenderDaysBeforeDeletingQuarantinedMalware", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdefenderDetectedMalwareActions1", + "Name": "DefenderDetectedMalwareActions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableCatchupFullScan", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderDisableCatchupQuickScan", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefenderFileExtensionsToExclude", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefenderFilesAndFoldersToExclude", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderMonitorFileActivity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderPotentiallyUnwantedAppAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderPotentiallyUnwantedAppActionSetting", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefenderProcessesToExclude", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderPromptForSampleSubmission", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderRequireBehaviorMonitoring", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderRequireCloudProtection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderRequireNetworkInspectionSystem", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderRequireRealTimeMonitoring", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderScanArchiveFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderScanDownloads", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderScanIncomingMail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderScanMappedNetworkDrivesDuringFullScan", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefenderScanMaxCpu", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderScanNetworkFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderScanRemovableDrivesDuringFullScan", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderScanScriptsLoadedInInternetExplorer", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScanType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScheduledQuickScanTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderScheduledScanTime", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DefenderScheduleScanEnableLowCpuPriority", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DefenderSignatureUpdateIntervalInHours", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderSubmitSamplesConsentType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefenderSystemScanSchedule", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeveloperUnlockSetting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceManagementBlockFactoryResetOnMobile", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DeviceManagementBlockManualUnenroll", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DiagnosticsDataSubmissionMode", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DisplayAppListWithGdiDPIScalingTurnedOff", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DisplayAppListWithGdiDPIScalingTurnedOn", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeAllowStartPagesModification", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockAccessToAboutFlags", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockAddressBarDropdown", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockAutofill", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockCompatibilityList", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockDeveloperTools", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockEditFavorites", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockExtensions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockFullScreenMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockInPrivateBrowsing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockJavaScript", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockLiveTileDataCollection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockPasswordManager", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockPopups", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockPrelaunch", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockPrinting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockSavingHistory", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockSearchEngineCustomization", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockSearchSuggestions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockSendingDoNotTrackHeader", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockSendingIntranetTrafficToInternetExplorer", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockSideloadingExtensions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockTabPreloading", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeBlockWebContentOnNewTabPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeClearBrowsingDataOnExit", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeCookiePolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeDisableFirstRunPage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeEnterpriseModeSiteListLocation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeFavoritesBarVisibility", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeFavoritesListLocation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeFirstRunUrl", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphedgeHomeButtonConfiguration", + "Name": "EdgeHomeButtonConfiguration", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeHomeButtonConfigurationEnabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EdgeHomepageUrls", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeKioskModeRestriction", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EdgeKioskResetAfterIdleTimeInMinutes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeNewTabPageURL", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeOpensWith", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgePreventCertificateErrorOverride", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EdgeRequiredExtensionPackageFamilyNames", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeRequireSmartScreen", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphedgeSearchEngineBase", + "Name": "EdgeSearchEngine", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeSendIntranetTrafficToInternetExplorer", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeShowMessageWhenOpeningInternetExplorerSites", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EdgeSyncFavoritesWithInternetExplorer", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EdgeTelemetryForMicrosoft365Analytics", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableAutomaticRedeployment", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EnergySaverOnBatteryThresholdPercentage", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EnergySaverPluggedInThresholdPercentage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnterpriseCloudPrintDiscoveryEndPoint", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EnterpriseCloudPrintDiscoveryMaxLimit", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnterpriseCloudPrintMopriaDiscoveryResourceIdentifier", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnterpriseCloudPrintOAuthAuthority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnterpriseCloudPrintOAuthClientIdentifier", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnterpriseCloudPrintResourceIdentifier", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExperienceBlockDeviceDiscovery", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExperienceBlockErrorDialogWhenNoSIM", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExperienceBlockTaskSwitcher", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExperienceDoNotSyncBrowserSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FindMyFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "GameDvrBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InkWorkspaceAccess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InkWorkspaceAccessState", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InkWorkspaceBlockSuggestedApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InternetSharingBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LocationServicesBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LockScreenActivateAppsWithVoice", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LockScreenAllowTimeoutConfiguration", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LockScreenBlockActionCenterNotifications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LockScreenBlockCortana", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LockScreenBlockToastNotifications", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "LockScreenTimeoutInSeconds", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "LogonBlockFastUserSwitching", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MessagingBlockMMS", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MessagingBlockRichCommunicationServices", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MessagingBlockSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftAccountBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftAccountBlockSettingsSync", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MicrosoftAccountSignInAssistantSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NetworkProxyApplySettingsDeviceWide", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkProxyAutomaticConfigurationUrl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NetworkProxyDisableAutoDetect", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindows10NetworkProxyServer", + "Name": "NetworkProxyServer", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NfcBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OneDriveDisableFileSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordBlockSimple", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordExpirationDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumAgeInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumCharacterSetCount", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinimumLength", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordMinutesOfInactivityBeforeScreenTimeout", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordPreviousPasswordBlockCount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRequired", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PasswordRequiredType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PasswordRequireWhenResumeFromIdleState", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PasswordSignInFailureCountBeforeFactoryReset", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PersonalizationDesktopImageUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PersonalizationLockScreenImageUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PowerButtonActionOnBattery", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PowerButtonActionPluggedIn", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PowerHybridSleepOnBattery", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PowerHybridSleepPluggedIn", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PowerLidCloseActionOnBattery", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PowerLidCloseActionPluggedIn", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PowerSleepButtonActionOnBattery", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PowerSleepButtonActionPluggedIn", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrinterBlockAddition", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrinterDefaultName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PrinterNames", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrivacyAdvertisingId", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrivacyAutoAcceptPairingAndConsentPrompts", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrivacyBlockActivityFeed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrivacyBlockInputPersonalization", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrivacyBlockPublishUserActivities", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PrivacyDisableLaunchExperience", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ResetProtectionModeBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SafeSearchFilter", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ScreenCaptureBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchBlockDiacritics", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchBlockWebResults", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchDisableAutoLanguageDetection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchDisableIndexerBackoff", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchDisableIndexingEncryptedItems", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchDisableIndexingRemovableDrive", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchDisableLocation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchDisableUseLocation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchEnableAutomaticIndexSizeManangement", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SearchEnableRemoteQueries", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SecurityBlockAzureADJoinedDevicesAutoEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockAccountsPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockAddProvisioningPackage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockAppsPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockChangeLanguage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockChangePowerSleep", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockChangeRegion", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockChangeSystemTime", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockDevicesPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockEaseOfAccessPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockEditDeviceName", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockGamingPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockNetworkInternetPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockPersonalizationPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockPrivacyPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockRemoveProvisioningPackage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockSettingsApp", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockSystemPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockTimeLanguagePage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockUpdateSecurityPage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SharedUserAppDataAllowed", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SmartScreenAppInstallControl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmartScreenBlockPromptOverride", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmartScreenBlockPromptOverrideForFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SmartScreenEnableAppInstallControl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartBlockUnpinningAppsFromTaskbar", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuAppListVisibility", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideChangeAccountSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideFrequentlyUsedApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideHibernate", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideLock", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHidePowerButton", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideRecentJumpLists", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideRecentlyAddedApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideRestartOptions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideShutDown", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideSignOut", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideSleep", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideSwitchAccount", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StartMenuHideUserTile", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuLayoutEdgeAssetsXml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuLayoutXml", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderDocuments", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderDownloads", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderFileExplorer", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderHomeGroup", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderMusic", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderNetwork", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderPersonalFolder", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderPictures", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StartMenuPinnedFolderVideos", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageBlockRemovableStorage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRequireMobileDeviceEncryption", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRestrictAppDataToSystemVolume", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StorageRestrictAppInstallToSystemVolume", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SystemTelemetryProxyServer", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TaskManagerBlockEndTask", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TenantLockdownRequireNetworkDuringOutOfBoxExperience", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UninstallBuiltInApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UsbBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VoiceRecordingBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WebRtcBlockLocalhostIpAddress", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WiFiBlockAutomaticConnectHotspots", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WiFiBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WiFiBlockManualConfiguration", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "WiFiScanInterval", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindows10AppsForceUpdateSchedule", + "Name": "Windows10AppsForceUpdateSchedule", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsSpotlightBlockConsumerSpecificFeatures", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsSpotlightBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsSpotlightBlockOnActionCenter", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsSpotlightBlockTailoredExperiences", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsSpotlightBlockThirdPartyNotifications", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsSpotlightBlockWelcomeExperience", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsSpotlightBlockWindowsTips", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WindowsSpotlightConfigureOnLockScreen", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsStoreBlockAutoUpdate", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsStoreBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WindowsStoreEnablePrivateStoreOnly", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WirelessDisplayBlockProjectionToThisDevice", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WirelessDisplayBlockUserInputFromReceiver", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WirelessDisplayRequirePinForPairing", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationScepCertificatePolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "CertificateStore", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HashAlgorithm", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KeySize", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "KeyUsage", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ScepServerUrls", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectAlternativeNameFormatString", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectNameFormatString", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphcustomSubjectAlternativeName[]", + "Name": "CustomSubjectAlternativeNames", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphextendedKeyUsage[]", + "Name": "ExtendedKeyUsages", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateValidityPeriodScale", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "CertificateValidityPeriodValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KeyStorageProvider", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "RenewalThresholdPercentage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectAlternativeNameType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectNameFormat", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RootCertificateDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RootCertificateId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationSecureAssessmentPolicyWindows10", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AllowPrinting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowScreenCapture", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowTextSuggestion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AssessmentAppUserModelId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConfigurationAccount", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConfigurationAccountType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LaunchUri", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalGuestAccountName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphSharedPCAccountManagerPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "AccountDeletionPolicy", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "CacheAccountsAboveDiskFreePercentage", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "InactiveThresholdDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "RemoveAccountsBelowDiskFreePercentage", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphsharedPCAccountManagerPolicy", + "Name": "AccountManagerPolicy", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedAccounts", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowLocalStorage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableAccountManager", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableEduPolicies", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisablePowerPolicies", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableSignInOnResume", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FastFirstSignIn", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "IdleTimeBeforeSleepInSeconds", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskAppDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "KioskAppUserModelId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocalStorage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaintenanceStartTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SetAccountManager", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SetEduPolicies", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SetPowerPolicies", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SignInOnResume", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationTrustedCertificatePolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "CertFileName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DestinationStore", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TrustedRootCertificate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindows10AssociatedApps", + "Parameters": [ + { + "CIMType": "String", + "Name": "AppType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Identifier", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphCryptographySuite", + "Parameters": [ + { + "CIMType": "String", + "Name": "AuthenticationTransformConstants", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CipherTransformConstants", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DhGroup", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EncryptionMethod", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IntegrityCheckMethod", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PfsGroup", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphVpnDnsRule", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AutoTrigger", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Persistent", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyServerUri", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Servers", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindows10VpnProxyServer", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "BypassProxyServerForLocalAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Address", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AutomaticConfigurationScriptUrl", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Port", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutomaticallyDetectProxySettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphVpnRoute", + "Parameters": [ + { + "CIMType": "String", + "Name": "DestinationPrefix", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PrefixSize", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphVpnTrafficRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "AppId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AppType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Claims", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphIPv4Range[]", + "Name": "LocalAddressRanges", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphNumberRange[]", + "Name": "LocalPortRanges", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Protocols", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphIPv4Range[]", + "Name": "RemoteAddressRanges", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphNumberRange[]", + "Name": "RemotePortRanges", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoutingPolicyType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "VpnTrafficDirection", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphIPv4Range", + "Parameters": [ + { + "CIMType": "String", + "Name": "LowerAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UpperAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CidrAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphNumberRange", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "LowerNumber", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "UpperNumber", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphVpnServer", + "Parameters": [ + { + "CIMType": "String", + "Name": "Address", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsDefaultServer", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationVpnPolicyWindows10", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphwindows10AssociatedApps[]", + "Name": "AssociatedApps", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AuthenticationMethod", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConnectionType", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphcryptographySuite", + "Name": "CryptographySuite", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphvpnDnsRule[]", + "Name": "DnsRules", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DnsSuffixes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EapXml", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableAlwaysOn", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableConditionalAccess", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableDeviceTunnel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableDnsRegistration", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSingleSignOnWithAlternateCertificate", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableSplitTunneling", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MicrosoftTunnelSiteId", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OnlyAssociatedAppsCanUseConnection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProfileTarget", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindows10VpnProxyServer", + "Name": "ProxyServer", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RememberUserCredentials", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphvpnRoute[]", + "Name": "Routes", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphextendedKeyUsage", + "Name": "SingleSignOnEku", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SingleSignOnIssuerHash", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphvpnTrafficRule[]", + "Name": "TrafficRules", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TrustedNetworkDomains", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WindowsInformationProtectionDomain", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConnectionName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomXml", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphvpnServer[]", + "Name": "ServerCollection", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationWindowsTeamPolicyWindows10", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AzureOperationalInsightsBlockTelemetry", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AzureOperationalInsightsWorkspaceId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AzureOperationalInsightsWorkspaceKey", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectAppBlockAutoLaunch", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MaintenanceWindowBlocked", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaintenanceWindowDurationInHours", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaintenanceWindowStartTime", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MiracastBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MiracastChannel", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MiracastRequirePin", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockMyMeetingsAndFiles", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockSessionResume", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SettingsBlockSigninSuggestions", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SettingsDefaultVolume", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SettingsScreenTimeoutInMinutes", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SettingsSessionTimeoutInMinutes", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SettingsSleepTimeoutInMinutes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WelcomeScreenBackgroundImageUrl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WelcomeScreenBlockAutomaticWakeUp", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WelcomeScreenMeetingInformation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "SupportsScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceConfigurationWiredNetworkPolicyWindows10", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "AuthenticationBlockPeriodInMinutes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AuthenticationMethod", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "AuthenticationPeriodInSeconds", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "AuthenticationRetryDelayPeriodInSeconds", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AuthenticationType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CacheCredentials", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableUserPromptForServerValidation", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EapolStartPeriodInSeconds", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EapType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enforce8021X", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ForceFIPSCompliance", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InnerAuthenticationProtocolForEAPTTLS", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumAuthenticationFailures", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaximumEAPOLStartMessages", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OuterIdentityPrivacyTemporaryValue", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PerformServerValidation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RequireCryptographicBinding", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SecondaryAuthenticationMethod", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TrustedServerCertificateNames", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RootCertificatesForServerValidationIds", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IdentityCertificateForClientAuthenticationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SecondaryIdentityCertificateForClientAuthenticationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RootCertificateForClientValidationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SecondaryRootCertificateForClientValidationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceEnrollmentLimitRestriction", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Limit", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_DeviceEnrollmentPlatformRestriction", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "PlatformBlocked", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PersonalDeviceEnrollmentBlocked", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMinimumVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OsMaximumVersion", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BlockedManufacturers", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BlockedSkus", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceEnrollmentPlatformRestriction", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceEnrollmentPlatformRestriction", + "Name": "AndroidForWorkRestriction", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceEnrollmentPlatformRestriction", + "Name": "AndroidRestriction", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceEnrollmentPlatformRestriction", + "Name": "IosRestriction", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceEnrollmentPlatformRestriction", + "Name": "MacOSRestriction", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceEnrollmentPlatformRestriction", + "Name": "MacRestriction", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceEnrollmentPlatformRestriction", + "Name": "WindowsHomeSkuRestriction", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceEnrollmentPlatformRestriction", + "Name": "WindowsMobileRestriction", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceEnrollmentPlatformRestriction", + "Name": "WindowsRestriction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceEnrollmentConfigurationType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneDeviceEnrollmentStatusPageWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowDeviceResetOnInstallFailure", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowDeviceUseOnInstallFailure", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowLogCollectionOnInstallFailure", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowNonBlockingAppInstallation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BlockDeviceSetupRetryByUser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomErrorMessage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableUserStatusTrackingAfterFirstUser", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "InstallProgressTimeoutInMinutes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "InstallQualityUpdates", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SelectedMobileAppIds", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SelectedMobileAppNames", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ShowInstallationProgress", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TrackInstallProgressForAutopilotOnly", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneEndpointDetectionAndResponsePolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SampleSharing", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConfigurationType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConfigurationBlob", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneExploitProtectionPolicyWindows10SettingCatalog", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExploitProtectionSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "disallowexploitprotectionoverride", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_DeviceManagementConfigurationPolicyItems", + "Parameters": [ + { + "CIMType": "String", + "Name": "dataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "payloadId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "displayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "itemType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "guidedDeploymentTags", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntunePolicySets", + "Parameters": [ + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "GuidedDeploymentTags", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RoleScopeTags", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyItems[]", + "Name": "Items", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneRoleAssignment", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "ResourceScopes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ResourceScopesDisplayNames", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ScopeType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Members", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MembersDisplayNames", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoleDefinition", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoleDefinitionDisplayName", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneRoleDefinition", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "IsBuiltIn", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "allowedResourceActions", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "notAllowedResourceActions", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "roleScopeTagIds", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneSettingCatalogASRRulesPolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AttackSurfaceReductionOnlyExclusions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockAbuseOfExploitedVulnerableSignedDrivers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockAdobeReaderFromCreatingChildProcesses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockAllOfficeApplicationsFromCreatingChildProcesses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockCredentialStealingFromWindowsLocalSecurityAuthoritySubsystem", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockExecutableContentFromEmailClientAndWebmail", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockExecutableFilesRunningUnlessTheyMeetPrevalenceAgeTrustedListCriterion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockExecutionOfPotentiallyObfuscatedScripts", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockJavaScriptOrVBScriptFromLaunchingDownloadedExecutableContent", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockOfficeApplicationsFromCreatingExecutableContent", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockOfficeApplicationsFromInjectingCodeIntoOtherProcesses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockOfficeCommunicationAppFromCreatingChildProcesses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockPersistenceThroughWMIEventSubscription", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockProcessCreationsFromPSExecAndWMICommands", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockUntrustedUnsignedProcessesThatRunFromUSB", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockWebShellCreationForServers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockWin32APICallsFromOfficeMacros", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UseAdvancedProtectionAgainstRansomware", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ControlledFolderAccessProtectedFolders", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ControlledFolderAccessAllowedApplications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnableControlledFolderAccess", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementConfigurationPolicyTemplateReference", + "Parameters": [ + { + "CIMType": "String", + "Name": "TemplateDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TemplateDisplayVersion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TemplateFamily", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TemplateId", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementConfigurationSetting", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingInstance", + "Name": "SettingInstance", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingInstance", + "Parameters": [ + { + "CIMType": "String", + "Name": "SettingDefinitionId", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingInstanceTemplateReference", + "Name": "SettingInstanceTemplateReference", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationChoiceSettingValue[]", + "Name": "ChoiceSettingCollectionValue", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationChoiceSettingValue", + "Name": "ChoiceSettingValue", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationGroupSettingValue[]", + "Name": "GroupSettingCollectionValue", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationGroupSettingValue", + "Name": "GroupSettingValue", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSimpleSettingValue[]", + "Name": "SimpleSettingCollectionValue", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSimpleSettingValue", + "Name": "SimpleSettingValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingInstanceTemplateReference", + "Parameters": [ + { + "CIMType": "String", + "Name": "SettingInstanceTemplateId", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementConfigurationChoiceSettingValue", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingInstance[]", + "Name": "Children", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Value", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingValueTemplateReference", + "Name": "SettingValueTemplateReference", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingValueTemplateReference", + "Parameters": [ + { + "CIMType": "String", + "Name": "settingValueTemplateId", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "useTemplateDefault", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementConfigurationGroupSettingValue", + "Parameters": [ + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingInstance[]", + "Name": "Children", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingValueTemplateReference", + "Name": "SettingValueTemplateReference", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Value", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphDeviceManagementConfigurationSimpleSettingValue", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "IntValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StringValue", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ValueState", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingValueTemplateReference", + "Name": "SettingValueTemplateReference", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphDeviceManagementConfigurationSettingInstance[]", + "Name": "Children", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneSettingCatalogCustomPolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Platforms", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Technologies", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementConfigurationPolicyTemplateReference", + "Name": "TemplateReference", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphdeviceManagementConfigurationSetting[]", + "Name": "Settings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWifiConfigurationPolicyAndroidDeviceAdministrator", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectAutomatically", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectWhenNetworkNameIsHidden", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ssid", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WiFiSecurityType", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectAutomatically", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectWhenNetworkNameIsHidden", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreSharedKey", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PreSharedKeyIsSet", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyAutomaticConfigurationUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyExclusionList", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyManualAddress", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ProxyManualPort", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxySettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ssid", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WiFiSecurityType", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectAutomatically", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectWhenNetworkNameIsHidden", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ssid", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WiFiSecurityType", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWifiConfigurationPolicyAndroidForWork", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectAutomatically", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectWhenNetworkNameIsHidden", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ssid", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WiFiSecurityType", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWifiConfigurationPolicyAndroidOpenSourceProject", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectAutomatically", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectWhenNetworkNameIsHidden", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreSharedKey", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PreSharedKeyIsSet", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ssid", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WiFiSecurityType", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWifiConfigurationPolicyIOS", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectAutomatically", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectWhenNetworkNameIsHidden", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableMacAddressRandomization", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreSharedKey", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyAutomaticConfigurationUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyManualAddress", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ProxyManualPort", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxySettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ssid", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WiFiSecurityType", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWifiConfigurationPolicyMacOS", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectAutomatically", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectWhenNetworkNameIsHidden", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreSharedKey", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyAutomaticConfigurationUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyManualAddress", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ProxyManualPort", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxySettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ssid", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WiFiSecurityType", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWifiConfigurationPolicyWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectAutomatically", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectToPreferredNetwork", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConnectWhenNetworkNameIsHidden", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ForceFIPSCompliance", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MeteredConnectionLimit", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreSharedKey", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyAutomaticConfigurationUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxyManualAddress", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ProxyManualPort", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProxySetting", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ssid", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WifiSecurityType", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsEnrollmentStatusScreenSettings", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AllowDeviceUseBeforeProfileAndAppInstallComplete", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowDeviceUseOnInstallFailure", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowLogCollectionOnInstallFailure", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BlockDeviceSetupRetryByUser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomErrorMessage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HideInstallationProgress", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "InstallProgressTimeoutInMinutes", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphOutOfBoxExperienceSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "DeviceUsageType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HideEscapeLink", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HideEULA", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HidePrivacySettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SkipKeyboardSelectionPage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "HybridAzureADJoinSkipConnectivityCheck", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceNameTemplate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "EnableWhiteGlove", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsEnrollmentStatusScreenSettings", + "Name": "EnrollmentStatusScreenSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExtractHardwareHash", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Language", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ManagementServiceAppId", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphoutOfBoxExperienceSettings", + "Name": "OutOfBoxExperienceSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsEnrollmentStatusScreenSettings1", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "AllowDeviceUseBeforeProfileAndAppInstallComplete", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowDeviceUseOnInstallFailure", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowLogCollectionOnInstallFailure", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BlockDeviceSetupRetryByUser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomErrorMessage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HideInstallationProgress", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "InstallProgressTimeoutInMinutes", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphOutOfBoxExperienceSettings1", + "Parameters": [ + { + "CIMType": "String", + "Name": "DeviceUsageType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HideEscapeLink", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HideEULA", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HidePrivacySettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SkipKeyboardSelectionPage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWindowsAutopilotDeploymentProfileAzureADJoined", + "Parameters": [ + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceNameTemplate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeviceType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "EnableWhiteGlove", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsEnrollmentStatusScreenSettings1", + "Name": "EnrollmentStatusScreenSettings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExtractHardwareHash", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Language", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ManagementServiceAppId", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphoutOfBoxExperienceSettings1", + "Name": "OutOfBoxExperienceSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolledPolicyAssignments", + "Parameters": [ + { + "CIMType": "String", + "Name": "dataType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "deviceAndAppManagementAssignmentFilterId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "groupDisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "collectionId", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsInformationProtectionDataRecoveryCertificate", + "Parameters": [ + { + "CIMType": "String", + "Name": "Certificate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExpirationDateTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectName", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsInformationProtectionResourceCollection", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Resources", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsInformationProtectionIPRangeCollection", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphIpRange[]", + "Name": "Ranges", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphIpRange", + "Parameters": [ + { + "CIMType": "String", + "Name": "CidrAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LowerAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UpperAddress", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsInformationProtectionProxiedDomainCollection", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphProxiedDomain[]", + "Name": "ProxiedDomains", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphProxiedDomain", + "Parameters": [ + { + "CIMType": "String", + "Name": "IpAddressOrFQDN", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Proxy", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsInformationProtectionApp", + "Parameters": [ + { + "CIMType": "Boolean", + "Name": "Denied", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ProductName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PublisherName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BinaryName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BinaryVersionHigh", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BinaryVersionLow", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AzureRightsManagementServicesAllowed", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionDataRecoveryCertificate", + "Name": "DataRecoveryCertificate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnforcementLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnterpriseDomain", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionResourceCollection[]", + "Name": "EnterpriseInternalProxyServers", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionIPRangeCollection[]", + "Name": "EnterpriseIPRanges", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnterpriseIPRangesAreAuthoritative", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionResourceCollection[]", + "Name": "EnterpriseNetworkDomainNames", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionResourceCollection[]", + "Name": "EnterpriseProtectedDomainNames", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionProxiedDomainCollection[]", + "Name": "EnterpriseProxiedDomains", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionResourceCollection[]", + "Name": "EnterpriseProxyServers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnterpriseProxyServersAreAuthoritative", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionApp[]", + "Name": "ExemptApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IconsVisible", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IndexingEncryptedStoresOrItemsBlocked", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionResourceCollection[]", + "Name": "NeutralDomainResources", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionApp[]", + "Name": "ProtectedApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ProtectionUnderLockConfigRequired", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RevokeOnUnenrollDisabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RightsManagementServicesTemplateId", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsInformationProtectionResourceCollection[]", + "Name": "SmbAutoEncryptedFileExtensions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolledPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsUpdateRolloutSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "OfferEndDateTimeInUTC", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "OfferIntervalInDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OfferStartDateTimeInUTC", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FeatureUpdateVersion", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsUpdateRolloutSettings", + "Name": "RolloutSettings", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_MicrosoftGraphWindowsUpdateInstallScheduleType", + "Parameters": [ + { + "CIMType": "String", + "Name": "ActiveHoursEnd", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ActiveHoursStart", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ScheduledInstallDay", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ScheduledInstallTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "odataType", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10", + "Parameters": [ + { + "CIMType": "String", + "Name": "Id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowWindows11Upgrade", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AutomaticUpdateMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AutoRestartNotificationDismissal", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BusinessReadyUpdatesOnly", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DeadlineForFeatureUpdatesInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DeadlineForQualityUpdatesInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "DeadlineGracePeriodInDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DeliveryOptimizationMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DriversExcluded", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EngagedRestartDeadlineInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EngagedRestartSnoozeScheduleInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "EngagedRestartTransitionScheduleInDays", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "FeatureUpdatesDeferralPeriodInDays", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FeatureUpdatesPaused", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FeatureUpdatesPauseExpiryDateTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FeatureUpdatesPauseStartDate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FeatureUpdatesRollbackStartDateTime", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "FeatureUpdatesRollbackWindowInDays", + "Option": "Write" + }, + { + "CIMType": "MSFT_MicrosoftGraphwindowsUpdateInstallScheduleType", + "Name": "InstallationSchedule", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftUpdateServiceAllowed", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PostponeRebootUntilAfterDeadline", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrereleaseFeatures", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "QualityUpdatesDeferralPeriodInDays", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "QualityUpdatesPaused", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "QualityUpdatesPauseExpiryDateTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "QualityUpdatesPauseStartDate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "QualityUpdatesRollbackStartDateTime", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ScheduleImminentRestartWarningInMinutes", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ScheduleRestartWarningInHours", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SkipChecksBeforeRestart", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UpdateNotificationLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UpdateWeeks", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserPauseAccess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UserWindowsUpdateScanAccess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_DeviceManagementConfigurationPolicyAssignments[]", + "Name": "Assignments", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_M365DSCRuleEvaluation", + "Parameters": [ + { + "CIMType": "String", + "Name": "ResourceName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "RuleDefinition", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "AfterRuleCountQuery", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_O365AdminAuditLogConfig", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "UnifiedAuditLogIngestionEnabled", + "Option": "Required" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_O365Group", + "Parameters": [ + { + "CIMType": "string", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "MailNickName", + "Option": "Key" + }, + { + "CIMType": "string[]", + "Name": "ManagedBy", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "Members", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_O365OrgCustomizationSetting", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_O365OrgSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AppsAndServicesIsAppAndServicesTrialEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AppsAndServicesIsOfficeStoreEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "CortanaEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DynamicsCustomerVoiceIsInOrgFormsPhishingScanEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DynamicsCustomerVoiceIsRecordIdentityByDefaultEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DynamicsCustomerVoiceIsRestrictedSurveyAccessEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FormsIsBingImageSearchEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FormsIsExternalSendFormEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FormsIsExternalShareCollaborationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FormsIsExternalShareResultEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FormsIsExternalShareTemplateEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FormsIsInOrgFormsPhishingScanEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "FormsIsRecordIdentityByDefaultEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "M365WebEnableUsersToOpenFilesFrom3PStorage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MicrosoftVivaBriefingEmail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VivaInsightsWebExperience", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VivaInsightsDigestEmail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VivaInsightsOutlookAddInAndInlineSuggestions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VivaInsightsScheduleSendSuggestions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PlannerAllowCalendarSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ToDoIsExternalJoinEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ToDoIsExternalShareEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ToDoIsPushNotificationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AdminCenterReportDisplayConcealedNames", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InstallationOptionsUpdateChannel", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "InstallationOptionsAppsForWindows", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "InstallationOptionsAppsForMac", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_O365SearchAndIntelligenceConfigurations", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "ItemInsightsIsEnabledInOrganization", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ItemInsightsDisabledForGroup", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PersonInsightsIsEnabledInOrganization", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PersonInsightsDisabledForGroup", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_ODSettings", + "Parameters": [ + { + "CIMType": "string", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "uint32", + "Name": "OneDriveStorageQuota", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "OrphanedPersonalSitesRetentionPeriod", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OneDriveForGuestsEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NotifyOwnersWhenInvitationsAccepted", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NotificationsInOneDriveForBusinessEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ODBMembersCanShare", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ODBAccessRequests", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BlockMacSync", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableReportProblemDialog", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TenantRestrictionEnabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DomainGuids", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludedFileExtensions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GrooveBlockOption", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_PlannerBucket", + "Parameters": [ + { + "CIMType": "string", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "PlanId", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "BucketId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_PlannerPlan", + "Parameters": [ + { + "CIMType": "string", + "Name": "Title", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "OwnerGroup", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_PlannerTaskAttachment", + "Parameters": [ + { + "CIMType": "String", + "Name": "Alias", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Uri", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Type", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_PlannerTaskChecklistItem", + "Parameters": [ + { + "CIMType": "String", + "Name": "Title", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Completed", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_PlannerTask", + "Parameters": [ + { + "CIMType": "string", + "Name": "PlanId", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Title", + "Option": "Key" + }, + { + "CIMType": "string[]", + "Name": "Categories", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "AssignedUsers", + "Option": "Write" + }, + { + "CIMType": "MSFT_PlannerTaskAttachment[]", + "Name": "Attachments", + "Option": "Write" + }, + { + "CIMType": "MSFT_PlannerTaskChecklistItem[]", + "Name": "Checklist", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Notes", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Bucket", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "TaskId", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "StartDateTime", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "DueDateTime", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PercentComplete", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ConversationThreadId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_PPPowerAppsEnvironment", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Location", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "EnvironmentSKU", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_PPTenantRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "TenantName", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "Direction", + "Option": "Required" + } + ] + }, + { + "ClassName": "MSFT_PPTenantIsolationSettings", + "Parameters": [ + { + "CIMType": "string", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_PPTenantRule[]", + "Name": "Rules", + "Option": "Write" + }, + { + "CIMType": "MSFT_PPTenantRule[]", + "Name": "RulesToInclude", + "Option": "Write" + }, + { + "CIMType": "MSFT_PPTenantRule[]", + "Name": "RulesToExclude", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_PPTenantSettings", + "Parameters": [ + { + "CIMType": "string", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "boolean", + "Name": "WalkMeOptOut", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableNPSCommentsReachout", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableNewsletterSendout", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableEnvironmentCreationByNonAdminUsers", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisablePortalsCreationByNonAdminUsers", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableSurveyFeedback", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableTrialEnvironmentCreationByNonAdminUsers", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableCapacityAllocationByEnvironmentAdmins", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableSupportTicketsVisibleByAllUsers", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableDocsSearch", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableCommunitySearch", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableBingVideoSearch", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableShareWithEveryone", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "EnableGuestsToMake", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "ShareWithColleaguesUserLimit", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCAuditConfigurationPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Workload", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCAutoSensitivityLabelPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplySensitivityLabel", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeSender", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeSenderException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeSenderMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeSenderMemberOfException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Mode", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OneDriveLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddOneDriveLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveOneDriveLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddOneDriveLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveOneDriveLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OneDriveLocationException", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SharePointLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SharePointLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddSharePointLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveSharePointLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddSharePointLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveSharePointLocation", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCHeaderPattern", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Required" + }, + { + "CIMType": "String[]", + "Name": "Values", + "Option": "Required" + } + ] + }, + { + "ClassName": "MSFT_SCDLPSensitiveInformation", + "Parameters": [ + { + "CIMType": "String", + "Name": "name", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "maxconfidence", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "minconfidence", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "classifiertype", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "mincount", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "maxcount", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCDLPLabel", + "Parameters": [ + { + "CIMType": "String", + "Name": "name", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "id", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "type", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCDLPContainsSensitiveInformationGroup", + "Parameters": [ + { + "CIMType": "MSFT_SCDLPSensitiveInformation[]", + "Name": "SensitiveInformation", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCDLPLabel[]", + "Name": "Labels", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "Operator", + "Option": "Required" + } + ] + }, + { + "ClassName": "MSFT_SCDLPContainsSensitiveInformation", + "Parameters": [ + { + "CIMType": "MSFT_SCDLPSensitiveInformation[]", + "Name": "SensitiveInformation", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCDLPContainsSensitiveInformationGroup[]", + "Name": "Groups", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Operator", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCAutoSensitivityLabelRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Policy", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "AccessScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AnyOfRecipientAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AnyOfRecipientAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCDLPContainsSensitiveInformation", + "Name": "ContentContainsSensitiveInformation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ContentExtensionMatchesWords", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Disabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DocumentIsPasswordProtected", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DocumentIsUnsupported", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfAccessScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfAnyOfRecipientAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfAnyOfRecipientAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCDLPContainsSensitiveInformation", + "Name": "ExceptIfContentContainsSensitiveInformation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfContentExtensionMatchesWords", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfDocumentIsPasswordProtected", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfDocumentIsUnsupported", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFrom", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfFromAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfFromAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFromMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfHeaderMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfProcessingLimitExceeded", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderIPRanges", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExceptIfSubjectMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FromAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FromAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCHeaderPattern", + "Name": "HeaderMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ProcessingLimitExceeded", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ReportSeverityLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RuleErrorAction", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SenderDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SenderIPRanges", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SubjectMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Workload", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCCaseHoldPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Case", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PublicFolderLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SharePointLocation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCCaseHoldRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Policy", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ContentMatchQuery", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Disabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCComplianceCase", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Status", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCComplianceSearch", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Case", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowNotFoundExchangeLocationsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ContentMatchQuery", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeLocationExclusion", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "HoldNames", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IncludeUserAppContent", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Language", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PublicFolderLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SharePointLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SharePointLocationExclusion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCComplianceSearchAction", + "Parameters": [ + { + "CIMType": "String", + "Name": "Action", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "SearchName", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "FileTypeExclusionsForUnindexedItems", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableDedupe", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IncludeCredential", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IncludeSharePointDocumentVersions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PurgeType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RetryOnError", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ActionScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCFilePlanProperty", + "Parameters": [ + { + "CIMType": "String", + "Name": "FilePlanPropertyDepartment", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FilePlanPropertyAuthority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FilePlanPropertyCategory", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FilePlanPropertyCitation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FilePlanPropertyReferenceId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "FilePlanPropertySubCategory", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCComplianceTag", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EventType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsRecordLabel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Notes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Regulatory", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCFilePlanProperty", + "Name": "FilePlanProperty", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ReviewerEmail", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RetentionDuration", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RetentionAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RetentionType", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCDeviceConditionalAccessPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCDeviceConfigurationPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCDLPCompliancePolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EndpointDlpLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "EndpointDlpLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OnPremisesScannerDlpLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OnPremisesScannerDlpLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PowerBIDlpLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PowerBIDlpLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ThirdPartyAppDlpLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ThirdPartyAppDlpLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeSenderMemberOf", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeSenderMemberOfException", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Mode", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OneDriveLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OneDriveLocationException", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SharePointLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SharePointLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TeamsLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TeamsLocationException", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCDLPComplianceRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Policy", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "AccessScope", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "BlockAccess", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockAccessScope", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCDLPContainsSensitiveInformation", + "Name": "ContentContainsSensitiveInformation", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCDLPContainsSensitiveInformation", + "Name": "ExceptIfContentContainsSensitiveInformation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ContentPropertyContainsWords", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Disabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "GenerateAlert", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "GenerateIncidentReport", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "IncidentReportContent", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "NotifyAllowOverride", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotifyEmailCustomText", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotifyPolicyTipCustomText", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "NotifyUser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ReportSeverityLevel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RuleErrorAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfRecipientAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AnyOfRecipientAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RemoveRMSTemplate", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "StopPolicyProcessing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DocumentIsUnsupported", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfDocumentIsUnsupported", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "HasSenderOverride", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfHasSenderOverride", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ProcessingLimitExceeded", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfProcessingLimitExceeded", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DocumentIsPasswordProtected", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ExceptIfDocumentIsPasswordProtected", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "MessageTypeMatches", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "FromScope", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFromScope", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SubjectContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SubjectMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SubjectOrBodyContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SubjectOrBodyMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ContentCharacterSetContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DocumentNameMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DocumentNameMatchesWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfRecipientAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfAnyOfRecipientAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfContentCharacterSetContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfContentPropertyContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfDocumentNameMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfDocumentNameMatchesWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFromAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfFromAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "FromAddressContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "FromAddressMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfMessageTypeMatches", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfRecipientDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderDomainIs", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSenderIPRanges", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSentTo", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSubjectContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSubjectMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSubjectOrBodyContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfSubjectOrBodyMatchesPatterns", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DocumentContainsWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SentToMemberOf", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ContentIsNotLabeled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SetHeader", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ContentExtensionMatchesWords", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExceptIfContentExtensionMatchesWords", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCFilePlanPropertyAuthority", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCFilePlanPropertyCategory", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCFilePlanPropertyCitation", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "CitationUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CitationJurisdiction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCFilePlanPropertyDepartment", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCFilePlanPropertyReferenceId", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCFilePlanPropertySubCategory", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Category", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCLabelSetting", + "Parameters": [ + { + "CIMType": "String", + "Name": "Key", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Value", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCLabelPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCLabelSetting[]", + "Name": "AdvancedSettings", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ModernGroupLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ModernGroupLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Labels", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddExchangeLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddModernGroupLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddModernGroupLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AddLabels", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveExchangeLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveModernGroupLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveModernGroupLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "RemoveLabels", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCProtectionAlert", + "Parameters": [ + { + "CIMType": "String[]", + "Name": "AlertBy", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AlertFor", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AggregationType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Category", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Disabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Filter", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "NotificationCulture", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NotificationEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "NotifyUserOnFilterMatch", + "Option": "Write" + }, + { + "CIMType": "DateTime", + "Name": "NotifyUserSuppressionExpiryDate", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "NotifyUserThrottleThreshold", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "NotifyUserThrottleWindow", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "NotifyUser", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Operation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PrivacyManagementScopedSensitiveInformationTypes", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PrivacyManagementScopedSensitiveInformationTypesForCounting", + "Option": "Write" + }, + { + "CIMType": "UInt64", + "Name": "PrivacyManagementScopedSensitiveInformationTypesThreshold", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Severity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ThreatType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Threshold", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "TimeWindow", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "VolumeThreshold", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCRetentionCompliancePolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DynamicScopeLocation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExchangeLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ModernGroupLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ModernGroupLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OneDriveLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OneDriveLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PublicFolderLocation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RestrictiveRetention", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SharePointLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SharePointLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SkypeLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "SkypeLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TeamsChannelLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TeamsChannelLocationException", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TeamsChatLocation", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "TeamsChatLocationException", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCRetentionComplianceRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Policy", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExpirationDateOption", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ExcludedItemClasses", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ContentMatchQuery", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RetentionComplianceAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RetentionDuration", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RetentionDurationDisplayHint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCRetentionEventType", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCSecurityFilter", + "Parameters": [ + { + "CIMType": "String", + "Name": "FilterName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Action", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Users", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Filters", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Region", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCLabelLocaleSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "localeKey", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCLabelSetting[]", + "Name": "LabelSettings", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCSensitivityLabel", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCLabelSetting[]", + "Name": "AdvancedSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Write" + }, + { + "CIMType": "MSFT_SCLabelLocaleSettings[]", + "Name": "LocaleSettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ParentId", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Tooltip", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyContentMarkingFooterAlignment", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplyContentMarkingFooterEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyContentMarkingFooterFontColor", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "ApplyContentMarkingFooterFontSize", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "ApplyContentMarkingFooterMargin", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyContentMarkingFooterText", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyContentMarkingHeaderAlignment", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplyContentMarkingHeaderEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyContentMarkingHeaderFontColor", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "ApplyContentMarkingHeaderFontSize", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "ApplyContentMarkingHeaderMargin", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyContentMarkingHeaderText", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ApplyWaterMarkingEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyWaterMarkingFontColor", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "ApplyWaterMarkingFontSize", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyWaterMarkingLayout", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplyWaterMarkingText", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "ContentType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EncryptionContentExpiredOnDateInDaysOrNever", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EncryptionDoNotForward", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EncryptionEncryptOnly", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EncryptionEnabled", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "EncryptionOfflineAccessDays", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EncryptionPromptUser", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EncryptionProtectionType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EncryptionRightsDefinitions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EncryptionRightsUrl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiteAndGroupProtectionAllowAccessToGuestUsers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiteAndGroupProtectionAllowEmailFromGuestUsers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiteAndGroupProtectionAllowFullAccess", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiteAndGroupProtectionAllowLimitedAccess", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiteAndGroupProtectionBlockAccess", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SiteAndGroupProtectionEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SiteAndGroupProtectionPrivacy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SiteAndGroupExternalSharingControlType", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCSupervisoryReviewPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Reviewers", + "Option": "Required" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SCSupervisoryReviewRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Policy", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Condition", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SamplingRate", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOAccessControlSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "boolean", + "Name": "DisplayStartASiteOption", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "StartASiteFormUrl", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "IPAddressEnforcement", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "IPAddressAllowList", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "IPAddressWACTokenLifetime", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisallowInfectedFileDownload", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ExternalServicesEnabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "EmailAttestationRequired", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "EmailAttestationReAuthDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ConditionalAccessPolicy", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOApp", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Path", + "Option": "Key" + }, + { + "CIMType": "boolean", + "Name": "Publish", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "Overwrite", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOBrowserIdleSignout", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SignOutAfter", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WarnAfter", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOHomeSite", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Url", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOHubSite", + "Parameters": [ + { + "CIMType": "string", + "Name": "Url", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Title", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "LogoUrl", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "RequiresJoinApproval", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "AllowedToJoin", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "SiteDesignId", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOOrgAssetsLibrary", + "Parameters": [ + { + "CIMType": "String", + "Name": "LibraryUrl", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "CdnType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ThumbnailUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOPropertyBag", + "Parameters": [ + { + "CIMType": "String", + "Name": "Url", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Key", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Value", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOSearchManagedProperty", + "Parameters": [ + { + "CIMType": "string", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Type", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "Searchable", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "FullTextIndex", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "FullTextContext", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "Queryable", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "Retrievable", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowMultipleValues", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Refinable", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Sortable", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "Safe", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "Aliases", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "TokenNormalization", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "CompleteMatching", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "LanguageNeutralTokenization", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "FinerQueryTokenization", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "MappedCrawledProperties", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "CompanyNameExtraction", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOSearchResultSource", + "Parameters": [ + { + "CIMType": "string", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Protocol", + "Option": "Required" + }, + { + "CIMType": "string", + "Name": "SourceURL", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Type", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "QueryTransform", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ShowPartialSearch", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "UseAutoDiscover", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOSharingSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "SharingCapability", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "MySiteSharingCapability", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ShowEveryoneClaim", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ShowAllUsersClaim", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ShowEveryoneExceptExternalUsersClaim", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ProvisionSharedWithEveryoneFolder", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "EnableGuestSignInAcceleration", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "BccExternalSharingInvitations", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "BccExternalSharingInvitationsList", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "RequireAnonymousLinksExpireInDays", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "SharingAllowedDomainList", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "SharingBlockedDomainList", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "SharingDomainRestrictionMode", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "DefaultSharingLinkType", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "PreventExternalUsersFromResharing", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ShowPeoplePickerSuggestionsForGuestUsers", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "FileAnonymousLinkType", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "FolderAnonymousLinkType", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "NotifyOwnersWhenItemsReshared", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "DefaultLinkPermission", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "RequireAcceptingAccountMatchInvitedAccount", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ExternalUserExpirationRequired", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "ExternalUserExpireInDays", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOSite", + "Parameters": [ + { + "CIMType": "string", + "Name": "Url", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Title", + "Option": "Required" + }, + { + "CIMType": "string", + "Name": "Owner", + "Option": "Required" + }, + { + "CIMType": "uint32", + "Name": "TimeZoneId", + "Option": "Required" + }, + { + "CIMType": "string", + "Name": "Template", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "HubUrl", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DisableFlows", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "SharingCapability", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "StorageMaximumLevel", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "StorageWarningLevel", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowSelfServiceUpgrade", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "CommentsOnSitePagesDisabled", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "DefaultLinkPermission", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "DefaultSharingLinkType", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "DisableAppViews", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "DisableCompanyWideSharingLinks", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "LocaleId", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "DenyAddAndCustomizePages", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "RestrictedToRegion", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "SharingAllowedDomainList", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "SharingBlockedDomainList", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "SharingDomainRestrictionMode", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ShowPeoplePickerSuggestionsForGuestUsers", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "AnonymousLinkExpirationInDays", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "SocialBarOnSitePagesDisabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "OverrideTenantAnonymousLinkExpirationPolicy", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOSiteAuditSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "Url", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AuditFlags", + "Option": "Required" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOSiteDesign", + "Parameters": [ + { + "CIMType": "string", + "Name": "Title", + "Option": "Key" + }, + { + "CIMType": "string[]", + "Name": "SiteScriptNames", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "WebTemplate", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsDefault", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "PreviewImageAltText", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "PreviewImageUrl", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "Version", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOSiteDesignRights", + "Parameters": [ + { + "CIMType": "string", + "Name": "SiteDesignTitle", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Rights", + "Option": "Key" + }, + { + "CIMType": "string[]", + "Name": "UserPrincipals", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOSiteGroup", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Url", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Owner", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "PermissionLevels", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOSiteScript", + "Parameters": [ + { + "CIMType": "string", + "Name": "Title", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Content", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOStorageEntity", + "Parameters": [ + { + "CIMType": "string", + "Name": "Key", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "EntityScope", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Value", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Comment", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "SiteUrl", + "Option": "Required" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOTenantCdnEnabled", + "Parameters": [ + { + "CIMType": "String", + "Name": "CdnType", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "Enable", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOTenantCDNPolicy", + "Parameters": [ + { + "CIMType": "string", + "Name": "CDNType", + "Option": "Key" + }, + { + "CIMType": "string[]", + "Name": "ExcludeRestrictedSiteClassifications", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "IncludeFileExtensions", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOTenantSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "uint32", + "Name": "MinCompatibilityLevel", + "Option": "Write" + }, + { + "CIMType": "uint32", + "Name": "MaxCompatibilityLevel", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "SearchResolveExactEmailOrUPN", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "OfficeClientADALDisabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "LegacyAuthProtocolsEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SignInAccelerationDomain", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "UsePersistentCookiesForExplorerView", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "UserVoiceForFeedbackEnabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "PublicCdnEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PublicCdnAllowedFileTypes", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "UseFindPeopleInPeoplePicker", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "NotificationsInSharePointEnabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "OwnerAnonymousNotification", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "ApplyAppEnforcedRestrictionsToAdHocRecipients", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "FilePickerExternalImageSearchEnabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "HideDefaultThemes", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "HideSyncButtonOnTeamSite", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "MarkNewFilesSensitiveByDefault", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "DisabledWebPartIds", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "SocialBarOnSitePagesDisabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "CommentsOnSitePagesDisabled", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "EnableAIPIntegration", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOThemePaletteProperty", + "Parameters": [ + { + "CIMType": "String", + "Name": "Property", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Value", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOTheme", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "boolean", + "Name": "IsInverted", + "Option": "Write" + }, + { + "CIMType": "MSFT_SPOThemePaletteProperty[]", + "Name": "Palette", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "CertificatePassword", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificatePath", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOUserProfilePropertyInstance", + "Parameters": [ + { + "CIMType": "String", + "Name": "Key", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Value", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_SPOUserProfileProperty", + "Parameters": [ + { + "CIMType": "String", + "Name": "UserName", + "Option": "Key" + }, + { + "CIMType": "MSFT_SPOUserProfilePropertyInstance[]", + "Name": "Properties", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "ApplicationSecret", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsAppPermissionPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GlobalCatalogAppsType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrivateCatalogAppsType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultCatalogAppsType", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "GlobalCatalogApps", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PrivateCatalogApps", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DefaultCatalogApps", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsAppSetupPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AppPresetList", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AppPresetMeetingList", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PinnedAppBarApps", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "PinnedMessageBarApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowUserPinning", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowSideLoading", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsAudioConferencingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowTollFreeDialin", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MeetingInvitePhoneNumbers", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsCallHoldPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AudioFileId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsCallingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowPrivateCalling", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowVoicemail", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCallGroups", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowDelegation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCallForwardingToUser", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCallForwardingToPhone", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowCallRedirect", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowSIPDevicesCalling", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowWebPSTNCalling", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PreventTollBypass", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BusyOnBusyEnabledType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "CallRecordingExpirationDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MusicOnHoldEnabledType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SafeTransferEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCloudRecordingForCalls", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowTranscriptionforCalling", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LiveCaptionsEnabledTypeForCalling", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AutoAnswerEnabledType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SpamFilteringEnabledType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsCallParkPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowCallPark", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "UInt64", + "Name": "ParkTimeoutSeconds", + "Option": "Write" + }, + { + "CIMType": "UInt64", + "Name": "PickupRangeEnd", + "Option": "Write" + }, + { + "CIMType": "UInt64", + "Name": "PickupRangeStart", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsCallQueue", + "Parameters": [ + { + "CIMType": "String", + "Name": "Name", + "Option": "Key" + }, + { + "CIMType": "UInt16", + "Name": "AgentAlertTime", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowOptOut", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "DistributionLists", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseDefaultMusicOnHold", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WelcomeMusicAudioFileId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MusicOnHoldAudioFileId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowActionTarget", + "Option": "Write" + }, + { + "CIMType": "UInt16", + "Name": "OverflowThreshold", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutAction", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutActionTarget", + "Option": "Write" + }, + { + "CIMType": "UInt16", + "Name": "TimeoutThreshold", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoutingMethod", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "PresenceBasedRouting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ConferenceMode", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "Users", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LanguageId", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OboResourceAccountIds", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowDisconnectTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowDisconnectAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowRedirectPersonTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowRedirectPersonAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowRedirectVoiceAppTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowRedirectVoiceAppAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowRedirectPhoneNumberTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowRedirectPhoneNumberAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowRedirectVoicemailTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowRedirectVoicemailAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowSharedVoicemailTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OverflowSharedVoicemailAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableOverflowSharedVoicemailTranscription", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutDisconnectTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutDisconnectAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutRedirectPersonTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutRedirectPersonAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutRedirectVoiceAppTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutRedirectVoiceAppAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutRedirectPhoneNumberTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutRedirectPhoneNumberAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutRedirectVoicemailTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutRedirectVoicemailAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutSharedVoicemailTextToSpeechPrompt", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TimeoutSharedVoicemailAudioFilePrompt", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableTimeoutSharedVoicemailTranscription", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ChannelId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ChannelUserObjectId", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AuthorizedUsers", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsChannel", + "Parameters": [ + { + "CIMType": "string", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "TeamName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "GroupID", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "NewDisplayName", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsChannelsPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowChannelSharingToExternalUser", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowOrgWideTeamCreation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnablePrivateTeamDiscovery", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowPrivateChannelCreation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowSharedChannelCreation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowUserToParticipateInExternalSharedChannel", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsChannelTab", + "Parameters": [ + { + "CIMType": "String", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "TeamName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "ChannelName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "TeamId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsApp", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "SortOrderIndex", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WebSiteUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ContentUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RemoveUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EntityId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsClientConfiguration", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "boolean", + "Name": "AllowBox", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowDropBox", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowEmailIntoChannel", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowGoogleDrive", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowGuestUser", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowOrganizationTab", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowResourceAccountSendMessage", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowScopedPeopleSearchandAccess", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowShareFile", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowSkypeBusinessInterop", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowEgnyte", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ContentPin", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ResourceAccountContentAccess", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "RestrictedSenderList", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsComplianceRecordingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "ComplianceRecordingApplications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableComplianceRecordingAudioNotificationForCalls", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "Enabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "WarnUserOnRemoval", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsCortanaPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "CortanaVoiceInvocationMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsDialInConferencingTenantSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowPSTNOnlyMeetingsByDefault", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutomaticallyMigrateUserMeetings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutomaticallyReplaceAcpProvider", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AutomaticallySendEmailsToUsers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableDialOutJoinConfirmation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableEntryExitNotifications", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EntryExitAnnouncementsType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaskPstnNumbersType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "PinLength", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsEmergencyCallingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnhancedEmergencyServiceDisclaimer", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalLocationLookupMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotificationDialOutNumber", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotificationGroup", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NotificationMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsEmergencyNumber", + "Parameters": [ + { + "CIMType": "String", + "Name": "EmergencyDialString", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EmergencyDialMask", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OnlinePSTNUsage", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsEmergencyCallRoutingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_TeamsEmergencyNumber[]", + "Name": "EmergencyNumbers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowEnhancedEmergencyServices", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsEnhancedEncryptionPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "CallingEndtoEndEncryptionEnabledType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MeetingEndToEndEncryption", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsEventsPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowEmailEditing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowEventIntegrations", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowWebinars", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowTownhalls", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedQuestionTypesInRegistrationForm", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedTownhallTypesForRecordingPublish", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedWebinarTypesForRecordingPublish", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EventAccessType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TownhallChatExperience", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "UseMicrosoftECDN", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsFederationConfiguration", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowFederatedUsers", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "AllowedDomains", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "BlockedDomains", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowPublicUsers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowTeamsConsumer", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowTeamsConsumerInbound", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "TreatDiscoveredPartnersAsUnverified", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "SharedSipAddressSpace", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "RestrictTeamsConsumerToExternalUserProfiles", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsFeedbackPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "UserInitiatedMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ReceiveSurveysMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowScreenshotCollection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowEmailCollection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowLogCollection", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableFeatureSuggestions", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsFilesPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "NativeFileEntryPoints", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SPChannelFilesTab", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsGroupPolicyAssignment", + "Parameters": [ + { + "CIMType": "string", + "Name": "GroupDisplayName", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "GroupId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PolicyType", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "PolicyName", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsGuestCallingConfiguration", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowPrivateCalling", + "Option": "Required" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsGuestMeetingConfiguration", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "boolean", + "Name": "AllowIPVideo", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "LiveCaptionsEnabledType", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ScreenSharingMode", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowMeetNow", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowTranscription", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsGuestMessagingConfiguration", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowUserEditMessage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowUserDeleteMessage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowUserChat", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowUserDeleteChat", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "GiphyRatingType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMemes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowStickers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowGiphy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowImmersiveReader", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsIPPhonePolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "AllowBetterTogether", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowHomeScreen", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowHotDesking", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "UInt64", + "Name": "HotDeskingIdleTimeoutInMinutes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SearchOnCommonAreaPhoneMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SignInMode", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsMeetingBroadcastConfiguration", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "SupportURL", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowSdnProviderForBroadcastMeeting", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SdnProviderName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SdnLicenseId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SdnApiTemplateUrl", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SdnApiToken", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsMeetingBroadcastPolicy", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowBroadcastScheduling", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowBroadcastTranscription", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BroadcastAttendeeVisibilityMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BroadcastRecordingMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsMeetingConfiguration", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "LogoURL", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LegalURL", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "HelpURL", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CustomFooterText", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableAnonymousJoin", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableQoS", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ClientAudioPort", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ClientAudioPortRange", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ClientVideoPort", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ClientVideoPortRange", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ClientAppSharingPort", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ClientMediaPortRangeEnabled", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "ClientAppSharingPortRange", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsMeetingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowChannelMeetingScheduling", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMeetNow", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowPrivateMeetNow", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MeetingChatEnabledType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LiveCaptionsEnabledType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowIPAudio", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowIPVideo", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowEngagementReport", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IPAudioMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IPVideoMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowAnonymousUsersToDialOut", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowAnonymousUsersToStartMeeting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowPrivateMeetingScheduling", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AutoAdmittedUsers", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowPSTNUsersToBypassLobby", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCloudRecording", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowRecordingStorageOutsideRegion", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DesignatedPresenterRoleMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowOutlookAddIn", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowPowerPointSharing", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowParticipantGiveRequestControl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowExternalParticipantGiveRequestControl", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowSharedNotes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowWhiteboard", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowTranscription", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MediaBitRateKb", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ScreenSharingMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "VideoFiltersMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowOrganizersToOverrideLobbySettings", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PreferredMeetingProviderForIslandsMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowNDIStreaming", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowUserToJoinExternalMeeting", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EnrollUserOverride", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoomAttributeUserOverride", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "StreamingAttendeeMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsCameraFarEndPTZMode", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMeetingReactions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "WhoCanRegister", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowAnnotations", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowAnonymousUsersToJoinMeeting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMeetingCoach", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMeetingRegistration", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowNetworkConfigurationSettingsLookup", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowWatermarkForCameraVideo", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowWatermarkForScreenSharing", + "Option": "Write" + }, + { + "CIMType": "SInt32", + "Name": "NewMeetingRecordingExpirationDays", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowCartCaptionsScheduling", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowDocumentCollaboration", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowedStreamingMediaInput", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "BlockedAnonymousJoinClientTypes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ChannelRecordingDownload", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExplicitRecordingConsent", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ForceStreamingAttendeeMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "InfoShownInReportMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LiveInterpretationEnabledType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LiveStreamingMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MeetingInviteLanguages", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "QnAEngagementMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "RoomPeopleNameUserOverride", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SpeakerAttributionMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsMessagingPolicy", + "Parameters": [ + { + "CIMType": "string", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "boolean", + "Name": "AllowCommunicationComplianceEndUserReporting", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowFluidCollaborate", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowSecurityEndUserReporting", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowGiphy", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowMemes", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowOwnerDeleteMessage", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowUserEditMessage", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowSmartCompose", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowSmartReply", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowStickers", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowUrlPreviews", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowUserChat", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowUserDeleteMessage", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowUserTranslation", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowImmersiveReader", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowRemoveUser", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowPriorityMessages", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowUserDeleteChat", + "Option": "Write" + }, + { + "CIMType": "boolean", + "Name": "AllowVideoMessages", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "GiphyRatingType", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ReadReceiptsEnabledType", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "ChannelsInChatListEnabledType", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "AudioMessageEnabledType", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Tenant", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsMobilityPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IPAudioMobileMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "IPVideoMobileMode", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MobileDialerPreference", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsNetworkRoamingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowIPVideo", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "UInt64", + "Name": "MediaBitRateKb", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsOnlineVoicemailPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "EnableEditingCallAnswerRulesSetting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableTranscription", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableTranscriptionProfanityMasking", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableTranscriptionTranslation", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "MaximumRecordingLength", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PrimarySystemPromptLanguage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SecondarySystemPromptLanguage", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ShareData", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsOnlineVoicemailUserSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "CallAnswerRule", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultGreetingPromptOverwrite", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "DefaultOofGreetingPromptOverwrite", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OofGreetingEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OofGreetingFollowAutomaticRepliesEnabled", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OofGreetingFollowCalendarEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "PromptLanguage", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ShareData", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TransferTarget", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "VoicemailEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsOnlineVoiceUser", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "LocationID", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TelephoneNumber", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsOrgWideAppSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "IsSideloadedAppsInteractionEnabled", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsPstnUsage", + "Parameters": [ + { + "CIMType": "String", + "Name": "Usage", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsShiftsPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "UInt64", + "Name": "AccessGracePeriodMinutes", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AccessType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableScheduleOwnerPermissions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableShiftPresence", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ShiftNoticeFrequency", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ShiftNoticeMessageCustom", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ShiftNoticeMessageType", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsTeam", + "Parameters": [ + { + "CIMType": "string", + "Name": "DisplayName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "GroupID", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "MailNickName", + "Option": "Write" + }, + { + "CIMType": "string[]", + "Name": "Owner", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Visibility", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowAddRemoveApps", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowGiphy", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "GiphyContentRating", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowStickersAndMemes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCustomMemes", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowUserEditMessages", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowUserDeleteMessages", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowOwnerDeleteMessages", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowDeleteChannels", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCreateUpdateRemoveConnectors", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCreateUpdateRemoveTabs", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowTeamMentions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowChannelMentions", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowGuestCreateUpdateChannels", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowGuestDeleteChannels", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCreateUpdateChannels", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ShowInTeamsSearchAndSuggestions", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsTemplatesPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "HiddenTemplates", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsVoiceNormalizationRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Pattern", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Translation", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsInternalExtension", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsTenantDialPlan", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "MSFT_TeamsVoiceNormalizationRule[]", + "Name": "NormalizationRules", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalAccessPrefix", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "OptimizeDeviceDialing", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SimpleName", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsTenantNetworkRegion", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "CentralSite", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsTenantNetworkSite", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EmergencyCallingPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "EmergencyCallRoutingPolicy", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "EnableLocationBasedRouting", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "LocationPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkRegionID", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkRoamingPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SiteAddress", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsTenantNetworkSubnet", + "Parameters": [ + { + "CIMType": "UInt32", + "Name": "MaskBits", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NetworkSiteID", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsTenantTrustedIPAddress", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "MaskBits", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsTranslationRule", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Pattern", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Translation", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsUnassignedNumberTreatment", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Pattern", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Target", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TargetType", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "TreatmentPriority", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsUpdateManagementPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowManagedUpdates", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowPreview", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "AllowPublicPreview", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "UpdateDayOfWeek", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UpdateTime", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UpdateTimeOfDay", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UseNewTeamsClient", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsUpgradeConfiguration", + "Parameters": [ + { + "CIMType": "String", + "Name": "IsSingleInstance", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "DownloadTeams", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "SfBMeetingJoinUx", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsUpgradePolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "Users", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "MigrateMeetingsToTeams", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsUser", + "Parameters": [ + { + "CIMType": "string", + "Name": "TeamName", + "Option": "Key" + }, + { + "CIMType": "string", + "Name": "User", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Role", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsUserCallingSettings", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "GroupNotificationOverride", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CallGroupOrder", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "CallGroupTargets", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsUnansweredEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UnansweredDelay", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UnansweredTarget", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "UnansweredTargetType", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "IsForwardingEnabled", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ForwardingType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ForwardingTargetType", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ForwardingTarget", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsUserPolicyAssignment", + "Parameters": [ + { + "CIMType": "string", + "Name": "User", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "CallingLineIdentity", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ExternalAccessPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OnlineVoicemailPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "OnlineVoiceRoutingPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsAppPermissionPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsAppSetupPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsAudioConferencingPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsCallHoldPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsCallingPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsCallParkPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsChannelsPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsEmergencyCallingPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsEmergencyCallRoutingPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsEnhancedEncryptionPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsEventsPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsMeetingBroadcastPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsMeetingPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsMessagingPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsMobilityPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsUpdateManagementPolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TeamsUpgradePolicy", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantDialPlan", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsVdiPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "DisableAudioVideoInCallsAndMeetings", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "DisableCallsAndMeetings", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsVoiceRoute", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "NumberPattern", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OnlinePstnGatewayList", + "Option": "Write" + }, + { + "CIMType": "String[]", + "Name": "OnlinePstnUsages", + "Option": "Write" + }, + { + "CIMType": "UInt32", + "Name": "Priority", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsVoiceRoutingPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "String[]", + "Name": "OnlinePstnUsages", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + }, + { + "ClassName": "MSFT_TeamsWorkloadPolicy", + "Parameters": [ + { + "CIMType": "String", + "Name": "Identity", + "Option": "Key" + }, + { + "CIMType": "Boolean", + "Name": "AllowCalling", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowCallingPinned", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMeeting", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMeetingPinned", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMessaging", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "AllowMessagingPinned", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "Description", + "Option": "Write" + }, + { + "CIMType": "string", + "Name": "Ensure", + "Option": "Write" + }, + { + "CIMType": "MSFT_Credential", + "Name": "Credential", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "ApplicationId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "TenantId", + "Option": "Write" + }, + { + "CIMType": "String", + "Name": "CertificateThumbprint", + "Option": "Write" + }, + { + "CIMType": "Boolean", + "Name": "ManagedIdentity", + "Option": "Write" + } + ] + } +] diff --git a/README.md b/README.md index 0108add004..4ca478af56 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,11 @@ This is the branch containing the latest release. No contributions should be mad [![AzureCloud - Full-Circle - TEAMS](https://github.com/microsoft/Microsoft365DSC/actions/workflows/AzureCloud%20-%20Full-Circle%20-%20TEAMS.yml/badge.svg)](https://github.com/microsoft/Microsoft365DSC/actions/workflows/AzureCloud%20-%20Full-Circle%20-%20TEAMS.yml) -[![AzureCloud - Integration](https://github.com/microsoft/Microsoft365DSC/actions/workflows/AzureCloud%20-%20Integration.yml/badge.svg)](https://github.com/microsoft/Microsoft365DSC/actions/workflows/AzureCloud%20-%20Integration.yml) +[![Global - Integration - AAD](https://github.com/microsoft/Microsoft365DSC/actions/workflows/Global%20-%20Integration%20-%20AAD.yml/badge.svg)](https://github.com/microsoft/Microsoft365DSC/actions/workflows/Global%20-%20Integration%20-%20AAD.yml) + +[![Global - Integration - EXO](https://github.com/microsoft/Microsoft365DSC/actions/workflows/Global%20-%20Integration%20-%20EXO.yml/badge.svg)](https://github.com/microsoft/Microsoft365DSC/actions/workflows/Global%20-%20Integration%20-%20EXO.yml) + +[![Global - Integration - INTUNE](https://github.com/microsoft/Microsoft365DSC/actions/workflows/Global%20-%20Integration%20-%20INTUNE.yml/badge.svg)](https://github.com/microsoft/Microsoft365DSC/actions/workflows/Global%20-%20Integration%20-%20INTUNE.yml) [![Unit Tests](https://github.com/microsoft/Microsoft365DSC/actions/workflows/Unit%20Tests.yml/badge.svg)](https://github.com/microsoft/Microsoft365DSC/actions/workflows/Unit%20Tests.yml) diff --git a/ResourceGenerator/Module.Template.psm1 b/ResourceGenerator/Module.Template.psm1 index 1c1a8b5afd..541e34e93c 100644 --- a/ResourceGenerator/Module.Template.psm1 +++ b/ResourceGenerator/Module.Template.psm1 @@ -258,7 +258,7 @@ function Test-TargetResource $CurrentValues = Get-TargetResource @PSBoundParameters $ValuesToCheck = ([Hashtable]$PSBoundParameters).clone() - if ($CurrentValues.Ensure -ne $PSBoundParameters.Ensure) + if ($CurrentValues.Ensure -ne $Ensure) { Write-Verbose -Message "Test-TargetResource returned $false" return $false diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.AAD.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.AAD.Create.Tests.ps1 index 088923b9ee..918571ce7a 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.AAD.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.AAD.Create.Tests.ps1 @@ -25,7 +25,17 @@ MembershipRule = "(user.country -eq `"Canada`")" MembershipRuleProcessingState = 'On' MembershipType = 'Dynamic' - Ensure = 'Present' + ScopedRoleMembers = @( + MSFT_MicrosoftGraphScopedRoleMembership + { + RoleName = 'User Administrator' + RoleMemberInfo = MSFT_MicrosoftGraphMember + { + Identity = "admin@$Domain" + Type = "User" + } + } + ) Credential = $Credscredential } AADApplication 'AADApp1' diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 index 7f5f58570e..b1b1aca5d5 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.EXO.Create.Tests.ps1 @@ -344,7 +344,7 @@ } EXOMailTips 'OrgWideMailTips' { - Organization = $Domain + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $True MailTipsGroupMetricsEnabled = $True MailTipsLargeAudienceThreshold = 100 diff --git a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 index d524887a3e..5177e01c66 100644 --- a/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 +++ b/Tests/Integration/Microsoft365DSC/M365DSCIntegration.INTUNE.Create.Tests.ps1 @@ -1914,6 +1914,7 @@ DeviceEnrollmentConfigurationType = "platformRestrictions"; DisplayName = "All users and all devices"; Ensure = "Present"; + Identity = "3868d43e-873e-4416-8fd1-fc3d67c7c15c_DefaultPlatformRestrictions"; IosRestriction = MSFT_DeviceEnrollmentPlatformRestriction{ platformBlocked = $False personalDeviceEnrollmentBlocked = $False diff --git a/Tests/QA/Microsoft365DSC.SettingsJson.Tests.ps1 b/Tests/QA/Microsoft365DSC.SettingsJson.Tests.ps1 index 0802afe87a..7a21fd4b45 100644 --- a/Tests/QA/Microsoft365DSC.SettingsJson.Tests.ps1 +++ b/Tests/QA/Microsoft365DSC.SettingsJson.Tests.ps1 @@ -69,6 +69,7 @@ Describe -Name 'Successfully validate all used permissions in Settings.json file 'ChannelMember.ReadWrite.All' ) } + if ($settings.ResourceName -like 'AADAuthenticationMethod*' -or $settings.ResourceName -eq 'AADAuthenticationStrengthPolicy') { $allowedPermissions = @( @@ -76,6 +77,13 @@ Describe -Name 'Successfully validate all used permissions in Settings.json file ) } + if ($settings.ResourceName -eq 'O365OrgSettings') + { + $allowedPermissions = @( + 'Application.ReadWrite.All' + ) + } + foreach ($permission in $settings.permissions.graph.application.read) { $ObjectGuid = [System.Guid]::empty diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADAdministrativeUnit.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADAdministrativeUnit.Tests.ps1 index d9766a734b..99a2807bec 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADAdministrativeUnit.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADAdministrativeUnit.Tests.ps1 @@ -151,7 +151,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { It 'Should return Values from the Get method' { (Get-TargetResource @testParams).Ensure | Should -Be 'Present' } - + It 'Should return false from the Test method' { Test-TargetResource @testParams | Should -Be $false } @@ -161,6 +161,39 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Should -Invoke -CommandName Invoke-MgGraphRequest -Exactly 1 } } + + Context -Name 'The AU exists and values are already in desired state - without ID/Ensure' -Fixture { + BeforeAll { + $testParams = @{ + Description = 'FakeStringValue2' + DisplayName = 'FakeStringValue2' + Credential = $Credential + } + + Mock -CommandName Get-MgBetaDirectoryAdministrativeUnit -MockWith { + return @{ + Description = 'FakeStringValue2' + DisplayName = 'FakeStringValue2' + Id = 'FakeStringValue2' + } + } + Mock -CommandName Get-MgBetaDirectoryAdministrativeUnitMember -MockWith { + return $null + } + Mock -CommandName Get-MgBetaDirectoryAdministrativeUnitScopedRoleMember -MockWith { + return $null + } + } + + It 'Should return Values from the Get method' { + (Get-TargetResource @testParams).Ensure | Should -Be 'Present' + } + + It 'Should return true from the Test method' { + Test-TargetResource @testParams | Should -Be $true + } + } + Context -Name 'The AU Exists and Values are already in the desired state' -Fixture { BeforeAll { $testParams = @{ diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMailTips.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMailTips.Tests.ps1 index f7a8f5cb63..e266eba092 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMailTips.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMailTips.Tests.ps1 @@ -40,7 +40,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Context -Name 'MailTips are Disabled and should be Enabled' -Fixture { BeforeAll { $testParams = @{ - Organization = 'contoso.onmicrosoft.com' + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $True Ensure = 'Present' Credential = $Credential @@ -73,7 +73,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Context -Name 'MailTipsGroupMetricsEnabled are Disabled and should be Enabled' -Fixture { BeforeAll { $testParams = @{ - Organization = 'contoso.onmicrosoft.com' + IsSingleInstance = 'Yes' MailTipsGroupMetricsEnabled = $True Ensure = 'Present' Credential = $Credential @@ -106,7 +106,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Context -Name 'MailTipsLargeAudienceThreshold are 25 and should be 50' -Fixture { BeforeAll { $testParams = @{ - Organization = 'contoso.onmicrosoft.com' + IsSingleInstance = 'Yes' MailTipsLargeAudienceThreshold = 50 Ensure = 'Present' Credential = $Credential @@ -139,7 +139,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Context -Name 'MailTipsMailboxSourcedTipsEnabled are Disabled and should be Enabled' -Fixture { BeforeAll { $testParams = @{ - Organization = 'contoso.onmicrosoft.com' + IsSingleInstance = 'Yes' MailTipsMailboxSourcedTipsEnabled = $True Ensure = 'Present' Credential = $Credential @@ -168,7 +168,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Context -Name 'MailTipsExternalRecipientsTipsEnabled are Disabled and should be Enabled' -Fixture { BeforeAll { $testParams = @{ - Organization = 'contoso.onmicrosoft.com' + IsSingleInstance = 'Yes' MailTipsExternalRecipientsTipsEnabled = $True Ensure = 'Present' Credential = $Credential @@ -201,7 +201,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Context -Name 'MailTips are Enabled and should be Enabled' -Fixture { BeforeAll { $testParams = @{ - Organization = 'contoso.onmicrosoft.com' + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $True MailTipsLargeAudienceThreshold = 10 MailTipsMailboxSourcedTipsEnabled = $True @@ -234,7 +234,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Context -Name 'Organization Configuration is null' -Fixture { BeforeAll { $testParams = @{ - Organization = 'contoso.onmicrosoft.com' + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $True Ensure = 'Present' Credential = $Credential @@ -260,7 +260,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Mock -CommandName Get-OrganizationConfig -MockWith { return @{ - Organization = 'contoso.onmicrosoft.com' + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $True MailTipsGroupMetricsEnabled = $True MailTipsLargeAudienceThreshold = $True diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceCompliancePolicyWindows10.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceCompliancePolicyWindows10.Tests.ps1 index 5c6c0edd05..3d12155ebd 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceCompliancePolicyWindows10.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceCompliancePolicyWindows10.Tests.ps1 @@ -45,6 +45,11 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { } Mock -CommandName Remove-MgBetaDeviceManagementDeviceCompliancePolicy -MockWith { + } + + Mock -CommandName Get-MgBetaDeviceManagementDeviceCompliancePolicyAssignment -MockWith { + + return @() } Mock -CommandName Update-DeviceConfigurationPolicyAssignment -MockWith { } @@ -459,7 +464,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { } It 'Should Reverse Engineer resource from the Export method' { - $result = Export-TargetResource @testParams + $result = Export-TargetResource @testParams -Verbose $result | Should -Not -BeNullOrEmpty } } diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceEnrollmentPlatformRestriction.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceEnrollmentPlatformRestriction.Tests.ps1 index 7859f4063d..0c69c176de 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceEnrollmentPlatformRestriction.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceEnrollmentPlatformRestriction.Tests.ps1 @@ -68,6 +68,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Ensure = 'Present' DeviceEnrollmentConfigurationType = 'singlePlatformRestriction' Credential = $Credential + Priority = 1 IosRestriction = (New-CimInstance -ClassName MSFT_DeviceEnrollmentPlatformRestriction -Property @{ platformBlocked = $False personalDeviceEnrollmentBlocked = $False @@ -77,6 +78,24 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Mock -CommandName Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration -MockWith { return $null } + + Mock -CommandName New-MgBetaDeviceManagementDeviceEnrollmentConfiguration -MockWith { + return @{ + AdditionalProperties = @{ + '@odata.type' = '#microsoft.graph.deviceEnrollmentPlatformRestrictionConfiguration' + PlatformRestriction = @{ + PersonalDeviceEnrollmentBlocked = $False + PlatformBlocked = $False + } + platformType = 'ios' + } + id = '12345-12345-12345-12345-12345_SinglePlatformRestriction' + DeviceEnrollmentConfigurationType = 'singlePlatformRestriction' + Description = '' + DisplayName = 'My DSC Restriction' + Priority = 1 + } + } } It 'Should return absent from the Get method' { @@ -102,6 +121,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Ensure = 'Present' DeviceEnrollmentConfigurationType = 'singlePlatformRestriction' Credential = $Credential + Priority = 1 IosRestriction = (New-CimInstance -ClassName MSFT_DeviceEnrollmentPlatformRestriction -Property @{ platformBlocked = $False personalDeviceEnrollmentBlocked = $False @@ -122,6 +142,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { DeviceEnrollmentConfigurationType = 'singlePlatformRestriction' Description = '' DisplayName = 'My DSC Restriction' + Priority = 1 } } } @@ -140,7 +161,8 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Ensure = 'Present' DeviceEnrollmentConfigurationType = 'singlePlatformRestriction' Credential = $Credential - iOSRestriction = (New-CimInstance -ClassName MSFT_DeviceEnrollmentPlatformRestriction -Property @{ + Priority = 1 + IosRestriction = (New-CimInstance -ClassName MSFT_DeviceEnrollmentPlatformRestriction -Property @{ platformBlocked = $False personalDeviceEnrollmentBlocked = $False } -ClientOnly) @@ -160,6 +182,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { DeviceEnrollmentConfigurationType = 'singlePlatformRestriction' Description = '' DisplayName = 'My DSC Restriction' + Priority = 1 } } } @@ -178,7 +201,8 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Ensure = 'Absent' DeviceEnrollmentConfigurationType = 'singlePlatformRestriction' Credential = $Credential - iOSRestriction = (New-CimInstance -ClassName MSFT_DeviceEnrollmentPlatformRestriction -Property @{ + Priority = 1 + IosRestriction = (New-CimInstance -ClassName MSFT_DeviceEnrollmentPlatformRestriction -Property @{ platformBlocked = $False personalDeviceEnrollmentBlocked = $False } -ClientOnly) @@ -198,6 +222,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { DeviceEnrollmentConfigurationType = 'singlePlatformRestriction' Description = '' DisplayName = 'My DSC Restriction' + Priority = 1 } } } @@ -238,6 +263,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { DeviceEnrollmentConfigurationType = 'singlePlatformRestriction' Description = '' DisplayName = 'My DSC Restriction' + Priority = 1 } } } diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceEnrollmentStatusPageWindows10.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceEnrollmentStatusPageWindows10.Tests.ps1 index f2cd9a0bf8..fff5f3b7ea 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceEnrollmentStatusPageWindows10.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceEnrollmentStatusPageWindows10.Tests.ps1 @@ -24,20 +24,27 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { $secpasswd = ConvertTo-SecureString 'f@kepassword1' -AsPlainText -Force $Credential = New-Object System.Management.Automation.PSCredential ('tenantadmin@mydomain.com', $secpasswd) - Mock -CommandName Confirm-M365DSCDependencies -MockWith { - } + Mock -CommandName Confirm-M365DSCDependencies -MockWith {} - Mock -CommandName Get-PSSession -MockWith { - } + Mock -CommandName Get-PSSession -MockWith {} - Mock -CommandName Remove-PSSession -MockWith { - } + Mock -CommandName Remove-PSSession -MockWith {} - Mock -CommandName Update-MgBetaDeviceManagementDeviceEnrollmentConfiguration -MockWith { - } + Mock -CommandName Update-MgBetaDeviceManagementDeviceEnrollmentConfiguration -MockWith {} - Mock -CommandName Remove-MgBetaDeviceManagementDeviceEnrollmentConfiguration -MockWith { - } + Mock -CommandName Remove-MgBetaDeviceManagementDeviceEnrollmentConfiguration -MockWith {} + + Mock -CommandName Get-MgBetaDeviceAppManagementMobileApp -MockWith { + return @{ + DisplayName = 'FakeStringValue' + } + } -ParameterFilter { $MobileAppId } + + Mock -CommandName Get-MgBetaDeviceAppManagementMobileApp -MockWith { + return @{ + Id = 'FakeGuidValue' + } + } -ParameterFilter { $Filter} Mock -CommandName New-M365DSCConnection -MockWith { return 'Credentials' @@ -47,11 +54,9 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { return @() } - Mock -CommandName Update-DeviceConfigurationPolicyAssignment -MockWith { - } + Mock -CommandName Update-DeviceConfigurationPolicyAssignment -MockWith {} - Mock Update-DeviceEnrollmentConfigurationPriority { - } + Mock Update-DeviceEnrollmentConfigurationPriority {} # Mock Write-Host to hide output during the tests Mock -CommandName Write-Host -MockWith { @@ -137,7 +142,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { disableUserStatusTrackingAfterFirstUser = $True installQualityUpdates = $True showInstallationProgress = $True - selectedMobileAppIds = @('FakeStringValue') + selectedMobileAppIds = @('FakeGuidValue') blockDeviceSetupRetryByUser = $True allowDeviceUseOnInstallFailure = $True customErrorMessage = 'FakeStringValue' @@ -163,6 +168,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { Should -Invoke -CommandName Remove-MgBetaDeviceManagementDeviceEnrollmentConfiguration -Exactly 1 } } + Context -Name 'The IntuneDeviceEnrollmentStatusPageWindows10 Exists and Values are already in the desired state' -Fixture { BeforeAll { $testParams = @{ @@ -178,7 +184,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { DisableUserStatusTrackingAfterFirstUser = $True InstallProgressTimeoutInMinutes = 25 InstallQualityUpdates = $True - SelectedMobileAppIds = @('FakeStringValue') + SelectedMobileAppIds = @('FakeGuidValue') ShowInstallationProgress = $True TrackInstallProgressForAutopilotOnly = $True Ensure = 'Present' @@ -196,7 +202,59 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { disableUserStatusTrackingAfterFirstUser = $True installQualityUpdates = $True showInstallationProgress = $True - selectedMobileAppIds = @('FakeStringValue') + selectedMobileAppIds = @('FakeGuidValue') + blockDeviceSetupRetryByUser = $True + allowDeviceUseOnInstallFailure = $True + customErrorMessage = 'FakeStringValue' + allowNonBlockingAppInstallation = $True + allowLogCollectionOnInstallFailure = $True + allowDeviceResetOnInstallFailure = $True + installProgressTimeoutInMinutes = 25 + } + Priority = 25 + } + } + } + + It 'Should return true from the Test method' { + Test-TargetResource @testParams | Should -Be $true + } + } + + Context -Name 'The IntuneDeviceEnrollmentStatusPageWindows10 Exists and Values are already in the desired state, using SelectedMobileAppNames' -Fixture { + BeforeAll { + $testParams = @{ + Id = 'FakeStringValue' + DisplayName = 'FakeStringValue' + Description = 'FakeStringValue' + AllowDeviceResetOnInstallFailure = $True + AllowDeviceUseOnInstallFailure = $True + AllowLogCollectionOnInstallFailure = $True + AllowNonBlockingAppInstallation = $True + BlockDeviceSetupRetryByUser = $True + CustomErrorMessage = 'FakeStringValue' + DisableUserStatusTrackingAfterFirstUser = $True + InstallProgressTimeoutInMinutes = 25 + InstallQualityUpdates = $True + SelectedMobileAppNames = @('FakeStringValue') + ShowInstallationProgress = $True + TrackInstallProgressForAutopilotOnly = $True + Ensure = 'Present' + Credential = $Credential + } + + Mock -CommandName Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration -MockWith { + return @{ + Id = 'FakeStringValue' + DisplayName = 'FakeStringValue' + Description = 'FakeStringValue' + AdditionalProperties = @{ + trackInstallProgressForAutopilotOnly = $True + '@odata.type' = '#microsoft.graph.windows10EnrollmentCompletionPageConfiguration' + disableUserStatusTrackingAfterFirstUser = $True + installQualityUpdates = $True + showInstallationProgress = $True + selectedMobileAppIds = @('FakeGuidValue') blockDeviceSetupRetryByUser = $True allowDeviceUseOnInstallFailure = $True customErrorMessage = 'FakeStringValue' @@ -231,7 +289,60 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { DisableUserStatusTrackingAfterFirstUser = $True InstallProgressTimeoutInMinutes = 25 InstallQualityUpdates = $True - SelectedMobileAppIds = @('FakeStringValue') + SelectedMobileAppIds = @('FakeGuidValue') + ShowInstallationProgress = $True + TrackInstallProgressForAutopilotOnly = $True + Ensure = 'Present' + Credential = $Credential + } + + Mock -CommandName Get-MgBetaDeviceManagementDeviceEnrollmentConfiguration -MockWith { + return @{ + Id = 'FakeStringValue' + DisplayName = 'FakeStringValue' + Description = 'FakeStringValue' + AdditionalProperties = @{ + installProgressTimeoutInMinutes = 7 + customErrorMessage = 'FakeStringValue' + trackInstallProgressForAutopilotOnly = $False + selectedMobileAppIds = @('FakeGuidValue') + showInstallationProgress = $False + } + Priority = 7 + } + } + } + + It 'Should return Values from the Get method' { + (Get-TargetResource @testParams).Ensure | Should -Be 'Present' + } + + It 'Should return false from the Test method' { + Test-TargetResource @testParams | Should -Be $false + } + + It 'Should call the Set method' { + Set-TargetResource @testParams + Should -Invoke -CommandName Update-MgBetaDeviceManagementDeviceEnrollmentConfiguration -Exactly 1 + } + } + + Context -Name 'The IntuneDeviceEnrollmentStatusPageWindows10 exists and values are NOT in the desired state, using SelectedMobileAppNames' -Fixture { + BeforeAll { + $testParams = @{ + Id = 'FakeStringValue' + DisplayName = 'FakeStringValue' + Description = 'FakeStringValue' + AllowDeviceResetOnInstallFailure = $True + AllowDeviceUseOnInstallFailure = $True + AllowLogCollectionOnInstallFailure = $True + AllowNonBlockingAppInstallation = $True + BlockDeviceSetupRetryByUser = $True + CustomErrorMessage = 'FakeStringValue' + DisableUserStatusTrackingAfterFirstUser = $True + InstallProgressTimeoutInMinutes = 25 + InstallQualityUpdates = $True + SelectedMobileAppNames = @('FakeStringValue') ShowInstallationProgress = $True TrackInstallProgressForAutopilotOnly = $True Ensure = 'Present' @@ -247,7 +358,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { installProgressTimeoutInMinutes = 7 customErrorMessage = 'FakeStringValue' trackInstallProgressForAutopilotOnly = $False - selectedMobileAppIds = @('FakeStringValue') + selectedMobileAppIds = @('FakeGuidValue') showInstallationProgress = $False } Priority = 7 @@ -288,7 +399,7 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { disableUserStatusTrackingAfterFirstUser = $True installQualityUpdates = $True showInstallationProgress = $True - selectedMobileAppIds = @('FakeStringValue') + selectedMobileAppIds = @('FakeGuidValue') blockDeviceSetupRetryByUser = $True allowDeviceUseOnInstallFailure = $True customErrorMessage = 'FakeStringValue' diff --git a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.SPOAccessControlSettings.Tests.ps1 b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.SPOAccessControlSettings.Tests.ps1 index 345d7f8f16..18c49a5985 100644 --- a/Tests/Unit/Microsoft365DSC/Microsoft365DSC.SPOAccessControlSettings.Tests.ps1 +++ b/Tests/Unit/Microsoft365DSC/Microsoft365DSC.SPOAccessControlSettings.Tests.ps1 @@ -48,8 +48,6 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { IPAddressEnforcement = $false #IPAddressAllowList = "" #would generate an error while writing this resource IPAddressWACTokenLifetime = 15 - CommentsOnSitePagesDisabled = $false - SocialBarOnSitePagesDisabled = $false DisallowInfectedFileDownload = $false ExternalServicesEnabled = $true EmailAttestationRequired = $false @@ -63,8 +61,6 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { IPAddressEnforcement = $false #IPAddressAllowList = "" #would generate an error while writing this resource IPAddressWACTokenLifetime = 15 - CommentsOnSitePagesDisabled = $false - SocialBarOnSitePagesDisabled = $false DisallowInfectedFileDownload = $false ExternalServicesEnabled = $true EmailAttestationRequired = $false @@ -79,8 +75,6 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { IPAddressEnforcement = $false #IPAddressAllowList = "" #would generate an error while writing this resource IPAddressWACTokenLifetime = 20 - CommentsOnSitePagesDisabled = $true - SocialBarOnSitePagesDisabled = $false DisallowInfectedFileDownload = $false ExternalServicesEnabled = $true EmailAttestationRequired = $false @@ -113,8 +107,6 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture { IPAddressEnforcement = $false #IPAddressAllowList = "" #would generate an error while writing this resource IPAddressWACTokenLifetime = 15 - CommentsOnSitePagesDisabled = $false - SocialBarOnSitePagesDisabled = $false DisallowInfectedFileDownload = $false ExternalServicesEnabled = $true EmailAttestationRequired = $false diff --git a/Tests/Unit/Stubs/Microsoft365.psm1 b/Tests/Unit/Stubs/Microsoft365.psm1 index 72f1b9c480..9b38a147eb 100644 --- a/Tests/Unit/Stubs/Microsoft365.psm1 +++ b/Tests/Unit/Stubs/Microsoft365.psm1 @@ -42614,7 +42614,7 @@ function Get-MgBetaDeviceManagementDeviceCategory $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementDeviceCompliancePolicy +function Get-MgBetaDeviceManagementDeviceConfiguration { [CmdletBinding()] param( @@ -42638,6 +42638,10 @@ function Get-MgBetaDeviceManagementDeviceCompliancePolicy [PSObject] $HttpPipelinePrepend, + [Parameter()] + [System.String] + $DeviceConfigurationId, + [Parameter()] [System.Int32] $Skip, @@ -42684,14 +42688,10 @@ function Get-MgBetaDeviceManagementDeviceCompliancePolicy [Parameter()] [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $DeviceCompliancePolicyId + $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementDeviceCompliancePolicyAssignment +function Get-MgBetaDeviceManagementDeviceConfigurationAssignment { [CmdletBinding()] param( @@ -42715,6 +42715,10 @@ function Get-MgBetaDeviceManagementDeviceCompliancePolicyAssignment [PSObject] $HttpPipelinePrepend, + [Parameter()] + [System.String] + $DeviceConfigurationId, + [Parameter()] [System.Int32] $Skip, @@ -42728,16 +42732,16 @@ function Get-MgBetaDeviceManagementDeviceCompliancePolicyAssignment $CountVariable, [Parameter()] - [System.String] - $DeviceCompliancePolicyAssignmentId, + [System.Uri] + $Proxy, [Parameter()] [System.String[]] $Sort, [Parameter()] - [System.Uri] - $Proxy, + [System.String] + $DeviceConfigurationAssignmentId, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -42765,14 +42769,10 @@ function Get-MgBetaDeviceManagementDeviceCompliancePolicyAssignment [Parameter()] [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.String] - $DeviceCompliancePolicyId + $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementDeviceConfiguration +function Get-MgBetaDeviceManagementGroupPolicyConfiguration { [CmdletBinding()] param( @@ -42796,10 +42796,6 @@ function Get-MgBetaDeviceManagementDeviceConfiguration [PSObject] $HttpPipelinePrepend, - [Parameter()] - [System.String] - $DeviceConfigurationId, - [Parameter()] [System.Int32] $Skip, @@ -42836,6 +42832,10 @@ function Get-MgBetaDeviceManagementDeviceConfiguration [System.String] $Search, + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + [Parameter()] [System.Management.Automation.SwitchParameter] $Break, @@ -42849,7 +42849,7 @@ function Get-MgBetaDeviceManagementDeviceConfiguration $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementDeviceConfigurationAssignment +function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment { [CmdletBinding()] param( @@ -42865,6 +42865,10 @@ function Get-MgBetaDeviceManagementDeviceConfigurationAssignment [System.Management.Automation.SwitchParameter] $ProxyUseDefaultCredentials, + [Parameter()] + [System.String] + $GroupPolicyConfigurationAssignmentId, + [Parameter()] [System.Int32] $PageSize, @@ -42873,10 +42877,6 @@ function Get-MgBetaDeviceManagementDeviceConfigurationAssignment [PSObject] $HttpPipelinePrepend, - [Parameter()] - [System.String] - $DeviceConfigurationId, - [Parameter()] [System.Int32] $Skip, @@ -42897,10 +42897,6 @@ function Get-MgBetaDeviceManagementDeviceConfigurationAssignment [System.String[]] $Sort, - [Parameter()] - [System.String] - $DeviceConfigurationAssignmentId, - [Parameter()] [System.Management.Automation.SwitchParameter] $All, @@ -42917,6 +42913,10 @@ function Get-MgBetaDeviceManagementDeviceConfigurationAssignment [System.String] $Search, + [Parameter()] + [System.String] + $GroupPolicyConfigurationId, + [Parameter()] [System.Management.Automation.SwitchParameter] $Break, @@ -42930,7 +42930,7 @@ function Get-MgBetaDeviceManagementDeviceConfigurationAssignment $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementGroupPolicyConfiguration +function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue { [CmdletBinding()] param( @@ -42954,6 +42954,10 @@ function Get-MgBetaDeviceManagementGroupPolicyConfiguration [PSObject] $HttpPipelinePrepend, + [Parameter()] + [System.String] + $GroupPolicyDefinitionValueId, + [Parameter()] [System.Int32] $Skip, @@ -43007,13 +43011,25 @@ function Get-MgBetaDeviceManagementGroupPolicyConfiguration $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment +function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValueDefinition { [CmdletBinding()] param( [Parameter()] - [System.String[]] - $Property, + [PSObject] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.String] + $GroupPolicyDefinitionValueId, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, [Parameter()] [PSObject] @@ -43025,7 +43041,36 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment [Parameter()] [System.String] - $GroupPolicyConfigurationAssignmentId, + $GroupPolicyConfigurationId, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $HttpPipelineAppend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break + ) +} +function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresentationValue +{ + [CmdletBinding()] + param( + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [PSObject] + $InputObject, [Parameter()] [System.Int32] @@ -43035,6 +43080,10 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment [PSObject] $HttpPipelinePrepend, + [Parameter()] + [System.String] + $GroupPolicyDefinitionValueId, + [Parameter()] [System.Int32] $Skip, @@ -43047,6 +43096,10 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment [System.String] $CountVariable, + [Parameter()] + [System.String[]] + $ExpandProperty, + [Parameter()] [System.Uri] $Proxy, @@ -43080,15 +43133,19 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationAssignment $Break, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.String] + $GroupPolicyPresentationValueId, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, [Parameter()] [PSObject] $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue +function Get-MgBetaDeviceManagementIntent { [CmdletBinding()] param( @@ -43101,8 +43158,8 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue $InputObject, [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, + [System.String] + $DeviceManagementIntentId, [Parameter()] [System.Int32] @@ -43112,10 +43169,6 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue [PSObject] $HttpPipelinePrepend, - [Parameter()] - [System.String] - $GroupPolicyDefinitionValueId, - [Parameter()] [System.Int32] $Skip, @@ -43152,10 +43205,6 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue [System.String] $Search, - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - [Parameter()] [System.Management.Automation.SwitchParameter] $Break, @@ -43164,61 +43213,16 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValue [System.String[]] $ExpandProperty, - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValueDefinition -{ - [CmdletBinding()] - param( - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String] - $GroupPolicyDefinitionValueId, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [PSObject] - $InputObject, - [Parameter()] [System.Management.Automation.SwitchParameter] $ProxyUseDefaultCredentials, - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.String[]] - $Property, - [Parameter()] [PSObject] - $HttpPipelineAppend, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break + $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresentationValue +function Get-MgBetaDeviceManagementIntentAssignment { [CmdletBinding()] param( @@ -43230,6 +43234,10 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresen [PSObject] $InputObject, + [Parameter()] + [System.String] + $DeviceManagementIntentAssignmentId, + [Parameter()] [System.Int32] $PageSize, @@ -43240,23 +43248,19 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresen [Parameter()] [System.String] - $GroupPolicyDefinitionValueId, + $CountVariable, [Parameter()] [System.Int32] $Skip, - [Parameter()] - [System.Int32] - $Top, - [Parameter()] [System.String] - $CountVariable, + $DeviceManagementIntentId, [Parameter()] - [System.String[]] - $ExpandProperty, + [System.Int32] + $Top, [Parameter()] [System.Uri] @@ -43282,17 +43286,13 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresen [System.String] $Search, - [Parameter()] - [System.String] - $GroupPolicyConfigurationId, - [Parameter()] [System.Management.Automation.SwitchParameter] $Break, [Parameter()] - [System.String] - $GroupPolicyPresentationValueId, + [System.String[]] + $ExpandProperty, [Parameter()] [System.Management.Automation.SwitchParameter] @@ -43303,10 +43303,14 @@ function Get-MgBetaDeviceManagementGroupPolicyConfigurationDefinitionValuePresen $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementIntent +function Get-MgBetaDeviceManagementIntentSetting { [CmdletBinding()] param( + [Parameter()] + [System.String] + $DeviceManagementSettingInstanceId, + [Parameter()] [System.String[]] $Property, @@ -43380,7 +43384,7 @@ function Get-MgBetaDeviceManagementIntent $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementIntentAssignment +function Get-MgBetaDeviceManagementTemplate { [CmdletBinding()] param( @@ -43392,9 +43396,13 @@ function Get-MgBetaDeviceManagementIntentAssignment [PSObject] $InputObject, + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + [Parameter()] [System.String] - $DeviceManagementIntentAssignmentId, + $DeviceManagementTemplateId, [Parameter()] [System.Int32] @@ -43404,22 +43412,18 @@ function Get-MgBetaDeviceManagementIntentAssignment [PSObject] $HttpPipelinePrepend, - [Parameter()] - [System.String] - $CountVariable, - [Parameter()] [System.Int32] $Skip, - [Parameter()] - [System.String] - $DeviceManagementIntentId, - [Parameter()] [System.Int32] $Top, + [Parameter()] + [System.String] + $CountVariable, + [Parameter()] [System.Uri] $Proxy, @@ -43452,23 +43456,15 @@ function Get-MgBetaDeviceManagementIntentAssignment [System.String[]] $ExpandProperty, - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - [Parameter()] [PSObject] $HttpPipelineAppend ) } -function Get-MgBetaDeviceManagementIntentSetting +function Get-MgBetaDeviceManagementTemplateCategory { [CmdletBinding()] param( - [Parameter()] - [System.String] - $DeviceManagementSettingInstanceId, - [Parameter()] [System.String[]] $Property, @@ -43477,171 +43473,17 @@ function Get-MgBetaDeviceManagementIntentSetting [PSObject] $InputObject, + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + [Parameter()] [System.String] - $DeviceManagementIntentId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementTemplate -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementTemplateId, - - [Parameter()] - [System.Int32] - $PageSize, - - [Parameter()] - [PSObject] - $HttpPipelinePrepend, - - [Parameter()] - [System.Int32] - $Skip, - - [Parameter()] - [System.Int32] - $Top, - - [Parameter()] - [System.String] - $CountVariable, - - [Parameter()] - [System.Uri] - $Proxy, - - [Parameter()] - [System.String[]] - $Sort, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $All, - - [Parameter()] - [System.String] - $Filter, - - [Parameter()] - [System.Management.Automation.PSCredential] - $ProxyCredential, - - [Parameter()] - [System.String] - $Search, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $Break, - - [Parameter()] - [System.String[]] - $ExpandProperty, - - [Parameter()] - [PSObject] - $HttpPipelineAppend - ) -} -function Get-MgBetaDeviceManagementTemplateCategory -{ - [CmdletBinding()] - param( - [Parameter()] - [System.String[]] - $Property, - - [Parameter()] - [PSObject] - $InputObject, - - [Parameter()] - [System.Management.Automation.SwitchParameter] - $ProxyUseDefaultCredentials, - - [Parameter()] - [System.String] - $DeviceManagementTemplateSettingCategoryId, - - [Parameter()] - [System.String] - $DeviceManagementTemplateId, + $DeviceManagementTemplateSettingCategoryId, + + [Parameter()] + [System.String] + $DeviceManagementTemplateId, [Parameter()] [System.Int32] @@ -81125,6 +80967,495 @@ function Update-MgBetaDeviceAppManagementPolicySetAssignment $Confirm ) } +#endregion + +#region MgBetaDeviceAppManagementMobileApp +function Get-MgBetaDeviceAppManagementMobileApp +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String[]] + $ExpandProperty, + + [Parameter()] + [System.String[]] + $Property, + + [Parameter()] + [System.String] + $Filter, + + [Parameter()] + [System.String] + $Search, + + [Parameter()] + [System.Int32] + $Skip, + + [Parameter()] + [System.String[]] + $Sort, + + [Parameter()] + [System.Int32] + $Top, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials, + + [Parameter()] + [System.Int32] + $PageSize, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $All, + + [Parameter()] + [System.String] + $CountVariable + ) +} + +function New-MgBetaDeviceAppManagementMobileApp +{ + [CmdletBinding()] + param + ( + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $Assignments, + + [Parameter()] + [PSObject[]] + $Categories, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.Int32] + $DependentAppCount, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Developer, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $InformationUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFeatured, + + [Parameter()] + [PSObject] + $LargeIcon, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String] + $PrivacyInformationUrl, + + [Parameter()] + [System.String] + $Publisher, + + [Parameter()] + [PSObject] + $PublishingState, + + [Parameter()] + [PSObject[]] + $Relationships, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Int32] + $SupersededAppCount, + + [Parameter()] + [System.Int32] + $SupersedingAppCount, + + [Parameter()] + [System.Int32] + $UploadState, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials + ) +} + +function Remove-MgBetaDeviceAppManagementMobileApp +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials + ) +} + +function Set-MgBetaDeviceAppManagementMobileApp +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $MobileAppAssignments, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $PassThru, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials + ) +} + +function Update-MgBetaDeviceAppManagementMobileApp +{ + [CmdletBinding()] + param + ( + [Parameter()] + [System.String] + $MobileAppId, + + [Parameter()] + [PSObject] + $InputObject, + + [Parameter()] + [PSObject] + $BodyParameter, + + [Parameter()] + [System.String] + $ResponseHeadersVariable, + + [Parameter()] + [System.Collections.Hashtable] + $AdditionalProperties, + + [Parameter()] + [PSObject[]] + $Assignments, + + [Parameter()] + [PSObject[]] + $Categories, + + [Parameter()] + [System.DateTime] + $CreatedDateTime, + + [Parameter()] + [System.Int32] + $DependentAppCount, + + [Parameter()] + [System.String] + $Description, + + [Parameter()] + [System.String] + $Developer, + + [Parameter()] + [System.String] + $DisplayName, + + [Parameter()] + [System.String] + $Id, + + [Parameter()] + [System.String] + $InformationUrl, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsAssigned, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $IsFeatured, + + [Parameter()] + [PSObject] + $LargeIcon, + + [Parameter()] + [System.DateTime] + $LastModifiedDateTime, + + [Parameter()] + [System.String] + $Notes, + + [Parameter()] + [System.String] + $Owner, + + [Parameter()] + [System.String] + $PrivacyInformationUrl, + + [Parameter()] + [System.String] + $Publisher, + + [Parameter()] + [PSObject] + $PublishingState, + + [Parameter()] + [PSObject[]] + $Relationships, + + [Parameter()] + [System.String[]] + $RoleScopeTagIds, + + [Parameter()] + [System.Int32] + $SupersededAppCount, + + [Parameter()] + [System.Int32] + $SupersedingAppCount, + + [Parameter()] + [System.Int32] + $UploadState, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $Break, + + [Parameter()] + [System.Collections.IDictionary] + $Headers, + + [Parameter()] + [PSObject[]] + $HttpPipelineAppend, + + [Parameter()] + [PSObject[]] + $HttpPipelinePrepend, + + [Parameter()] + [System.Uri] + $Proxy, + + [Parameter()] + [System.Management.Automation.PSCredential] + $ProxyCredential, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + $ProxyUseDefaultCredentials + ) +} #endregion diff --git a/docs/docs/blog/april-2024-major-release.md b/docs/docs/blog/april-2024-major-release.md new file mode 100644 index 0000000000..0c1da540c1 --- /dev/null +++ b/docs/docs/blog/april-2024-major-release.md @@ -0,0 +1,57 @@ +# Microsoft365DSC – April 2024 Major Release (version 1.24.403.1) + +As defined by our [Breaking Changes Policy](https://microsoft365dsc.com/concepts/breaking-changes/), twice a year we allow for breaking changes to be deployed as part of a release. Our next major release, scheduled to go out on April 3rd 2024, will include several breaking changes and will be labeled version 1.24.403.1. This article provides details on the breaking changes and other important updates that will be included as part of our April 2024 Major release. + +## EXOMailTips ([#4117](https://github.com/microsoft/Microsoft365DSC/issues/4117)) + +We are removing the Organization parameter from the resource and adding the IsSingleInstance parameter as the primary key for it. This is to make sure we align the logic of this resource with the logic of other resources that are tenant-wide components, which means that there can only ever be a single instance of it across the tenant. The remediation here involves checking existing configuration to see if it contains the EXOMailTips instance and to replace the Organization parameter by the new IsSingleInstance one. E.g., + +From: +```powershell +EXOMailTips Tips +{ + ... + Organization = "contoso.com" +} +``` + +To: +```powershell +EXOMailTips Tips +{ + ... + IsSingleInstance = 'yes' +} +``` + +## EXOTransportRule ([#4136](https://github.com/microsoft/Microsoft365DSC/issues/4136)) + +The Priority parameter used to be defined as a string data type. With this breaking change we are changing the data type to be an Integer. Remediation involves checking existing configuration files that include EXOTransportRule definitions and to make sure the parameters are numbers instead of string. This normally involves removing the double quotes around the value. E.g., + +From: +```powershell +EXOTransportRule MyRule +{ + ... + Priority = "2" +} +``` + +To: +```powershell +EXOTransportRule MyRule +{ + ... + Priority = 2 +} +``` + +## SPOAccessControlSettings & SPOTenantSettings ([3576](https://github.com/microsoft/Microsoft365DSC/issues/3576)) + +These resources were both defining the same CommentsOnSitePagesDisabled parameter. This change ensures that the property is only defined in one resource, in occurence SPOTenantSettings. We've also move the SocialBarOnSitePagesDisabled parameter out of the SPOAccessControlSettings resource and into the SPOTenantSettings for consistency. In addition to these 2 changes, we've also removed the ConditionalAccessPolicy property from the SPOTenantSettings since it already existed in the SPOAccessControlSettings resource. To remediate to these breaking changes, users should: + +* 1 - Check their configuration for SPOAccessControlSettings. If an instance is found: + * a) Remove the CommentsOnSitePagesDisabled property from it, and make sure it is defined as part of the SPOTenantSettings resource instead. + * b) Remove the SocialBarOnSitePagesDisabled property from it, and make sure it is defined as part of the SPOTenantSettings resource instead. +* 2 - Check their configuration for SPOTenantSettings. If an instance is found: + * a) Remove the ConditionalAccessPolicy property and instead make sure it is only defined at the SPOAccessControlSettings resource level. diff --git a/docs/docs/blog/index.md b/docs/docs/blog/index.md index 5568236bcc..bc6846ac5e 100644 --- a/docs/docs/blog/index.md +++ b/docs/docs/blog/index.md @@ -1,5 +1,7 @@ # Blog Posts + +* [April 2024 Major Release](https://microsoft365dsc.com/blog/april-2024-major-release/index.html) * [October 2023 Major Release](https://microsoft365dsc.com/blog/october-2023-major-release/index.html) * [April 2023 Major Release](https://microsoft365dsc.com/blog/april-2023-major-release/index.html) * [October 2022 Major Release](https://microsoft365dsc.com/blog/october-2022-major-release/index.html) diff --git a/docs/docs/resources/azure-ad/AADAdministrativeUnit.md b/docs/docs/resources/azure-ad/AADAdministrativeUnit.md index db08e51a4e..e08125ddde 100644 --- a/docs/docs/resources/azure-ad/AADAdministrativeUnit.md +++ b/docs/docs/resources/azure-ad/AADAdministrativeUnit.md @@ -88,7 +88,7 @@ Configuration Example ) Import-DscResource -ModuleName Microsoft365DSC - + $Domain = $Credscredential.Username.Split('@')[1] node localhost { AADAdministrativeUnit 'TestUnit' @@ -98,7 +98,17 @@ Configuration Example MembershipRule = "(user.country -eq `"Canada`")" MembershipRuleProcessingState = 'On' MembershipType = 'Dynamic' - Ensure = 'Present' + ScopedRoleMembers = @( + MSFT_MicrosoftGraphScopedRoleMembership + { + RoleName = 'User Administrator' + RoleMemberInfo = MSFT_MicrosoftGraphMember + { + Identity = "admin@$Domain" + Type = "User" + } + } + ) Credential = $Credscredential } } @@ -121,16 +131,28 @@ Configuration Example ) Import-DscResource -ModuleName Microsoft365DSC - + $Domain = $Credscredential.Username.Split('@')[1] node localhost { AADAdministrativeUnit 'TestUnit' { DisplayName = 'Test-Unit' + Description = 'Test Description Updated' # Updated Property + Visibility = 'HiddenMembership' # Updated Property MembershipRule = "(user.country -eq `"US`")" # Updated Property MembershipRuleProcessingState = 'On' MembershipType = 'Dynamic' - Ensure = 'Present' + ScopedRoleMembers = @( + MSFT_MicrosoftGraphScopedRoleMembership + { + RoleName = 'User Administrator' + RoleMemberInfo = MSFT_MicrosoftGraphMember + { + Identity = "AdeleV@$Domain" # Updated Property + Type = "User" + } + } + ) Credential = $Credscredential } } @@ -153,7 +175,7 @@ Configuration Example ) Import-DscResource -ModuleName Microsoft365DSC - + $Domain = $Credscredential.Username.Split('@')[1] node localhost { AADAdministrativeUnit 'TestUnit' diff --git a/docs/docs/resources/exchange/EXOMailTips.md b/docs/docs/resources/exchange/EXOMailTips.md index 7c46aa87cd..579a4437c6 100644 --- a/docs/docs/resources/exchange/EXOMailTips.md +++ b/docs/docs/resources/exchange/EXOMailTips.md @@ -4,7 +4,7 @@ | Parameter | Attribute | DataType | Description | Allowed Values | | --- | --- | --- | --- | --- | -| **Organization** | Key | String | Specify the name of your organization. | | +| **IsSingleInstance** | Key | String | Only valid value is 'Yes'. | `Yes` | | **MailTipsAllTipsEnabled** | Write | Boolean | Specifies whether MailTips are enabled. | | | **MailTipsGroupMetricsEnabled** | Write | Boolean | Specifies whether MailTips that rely on group metrics data are enabled. | | | **MailTipsLargeAudienceThreshold** | Write | UInt32 | Specifies what a large audience is. | | @@ -59,7 +59,7 @@ Configuration Example { EXOMailTips 'OrgWideMailTips' { - Organization = $Domain + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $True MailTipsGroupMetricsEnabled = $True MailTipsLargeAudienceThreshold = 100 @@ -92,7 +92,7 @@ Configuration Example { EXOMailTips 'OrgWideMailTips' { - Organization = $Domain + IsSingleInstance = 'Yes' MailTipsAllTipsEnabled = $True MailTipsGroupMetricsEnabled = $False # Updated Property MailTipsLargeAudienceThreshold = 100 @@ -125,9 +125,9 @@ Configuration Example { EXOMailTips 'OrgWideMailTips' { - Organization = $Domain - Ensure = "Absent" - Credential = $Credscredential + IsSingleInstance = 'Yes' + Ensure = "Absent" + Credential = $Credscredential } } } diff --git a/docs/docs/resources/exchange/EXOTransportRule.md b/docs/docs/resources/exchange/EXOTransportRule.md index 3625f100b5..fc53660e78 100644 --- a/docs/docs/resources/exchange/EXOTransportRule.md +++ b/docs/docs/resources/exchange/EXOTransportRule.md @@ -131,7 +131,7 @@ | **ModerateMessageByUser** | Write | StringArray[] | The ModerateMessageByUser parameter specifies an action that forwards messages for approval to the specified users. | | | **NotifySender** | Write | String | DEPRECATED | `NotifyOnly`, `RejectMessage`, `RejectUnlessFalsePositiveOverride`, `RejectUnlessSilentOverride`, `RejectUnlessExplicitOverride` | | **PrependSubject** | Write | String | The PrependSubject parameter specifies an action that adds text to add to the beginning of the Subject field of messages. | | -| **Priority** | Write | String | The Priority parameter specifies a priority value for the rule that determines the order of rule processing. | | +| **Priority** | Write | UInt32 | The Priority parameter specifies a priority value for the rule that determines the order of rule processing. | | | **Quarantine** | Write | Boolean | The Quarantine parameter specifies an action that quarantines messages. | | | **RecipientADAttributeContainsWords** | Write | StringArray[] | The RecipientADAttributeContainsWords parameter specifies a condition that looks for words in the Active Directory attributes of recipients. | | | **RecipientADAttributeMatchesPatterns** | Write | StringArray[] | The RecipientADAttributeMatchesPatterns parameter specifies a condition that looks for text patterns in the Active Directory attributes of recipients by using regular expressions. | | diff --git a/docs/docs/resources/intune/IntuneAntivirusPolicyWindows10SettingCatalog.md b/docs/docs/resources/intune/IntuneAntivirusPolicyWindows10SettingCatalog.md index fdcb52315a..992afcc8ed 100644 --- a/docs/docs/resources/intune/IntuneAntivirusPolicyWindows10SettingCatalog.md +++ b/docs/docs/resources/intune/IntuneAntivirusPolicyWindows10SettingCatalog.md @@ -29,11 +29,13 @@ | **allowarchivescanning** | Write | String | Allows or disallows scanning of archives. (0: disable feature. 1: enable feature) | `0`, `1` | | **allowbehaviormonitoring** | Write | String | Allows or disallows Windows Defender Behavior Monitoring functionality. (0: disable feature. 1: enable feature) | `0`, `1` | | **allowcloudprotection** | Write | String | To best protect your PC, Windows Defender will send information to Microsoft about any problems it finds. Microsoft will analyze that information, learn more about problems affecting you and other customers, and offer improved solutions. (0: disable feature. 1: enable feature) | `0`, `1` | -| **allowemailscanning** | Write | String | Allows or disallows scanning of email. (0: disable feature. 1: enable feature) | `0`, `1` | +| **allowdatagramprocessingonwinserver** | Write | String | Allows or disallows Network Protection to enable datagram processing on Windows Server. (0: disable feature. 1: enable feature) | `0`, `1` | +| **allowemailscanning** | Write | String | Allows or disallows scanning of email. (0: disable feature. 1: enable feature) | `0`, `1` | | **allowfullscanonmappednetworkdrives** | Write | String | Allows or disallows a full scan of mapped network drives. (0: disable feature. 1: enable feature) | `0`, `1` | | **allowfullscanremovabledrivescanning** | Write | String | Allows or disallows a full scan of removable drives. During a quick scan, removable drives may still be scanned. (0: disable feature. 1: enable feature) | `0`, `1` | | **allowintrusionpreventionsystem** | Write | String | https://github.com/MicrosoftDocs/memdocs/issues/2250 (0: disable feature. 1: enable feature) | `0`, `1` | | **allowioavprotection** | Write | String | Allows or disallows Windows Defender IOAVP Protection functionality. (0: disable feature. 1: enable feature) | `0`, `1` | +| **allownetworkprotectiondownlevel** | Write | String | Allows or disallows Network Protection to be configured into block or audit mode on windows downlevel of RS3. (0: disable feature. 1: enable feature) | `0`, `1` | | **allowrealtimemonitoring** | Write | String | Allows or disallows Windows Defender real-time Monitoring functionality. (0: disable feature. 1: enable feature) | `0`, `1` | | **allowscanningnetworkfiles** | Write | String | Allows or disallows a scanning of network files. (0: disable feature. 1: enable feature) | `0`, `1` | | **allowscriptscanning** | Write | String | Allows or disallows Windows Defender Script Scanning functionality. (0: disable feature. 1: enable feature) | `0`, `1` | @@ -45,6 +47,8 @@ | **daystoretaincleanedmalware** | Write | SInt32 | Time period (in days) that quarantine items will be stored on the system. | | | **disablecatchupfullscan** | Write | String | This policy setting allows you to configure catch-up scans for scheduled full scans. (1: disabled, 0: enabled) | `0`, `1` | | **disablecatchupquickscan** | Write | String | This policy setting allows you to configure catch-up scans for scheduled quick scans. (1: disabled, 0: enabled) | `0`, `1` | +| **disablednsovertcpparsing** | Write | String | Disables or enables DNS over TCP Parsing for Network Protection. (0: enable feature. 1: disable feature) | `0`, `1` | +| **disablehttpparsing** | Write | String | Disables or enables HTTP Parsing for Network Protection. (0: enable feature. 1: disable feature) | `0`, `1` | | **enablelowcpupriority** | Write | String | This policy setting allows you to enable or disable low CPU priority for scheduled scans. (0: disable feature. 1: enable feature) | `0`, `1` | | **enablenetworkprotection** | Write | String | This policy allows you to turn on network protection (block/audit) or off. (0: disabled, 1: block mode, 2: audit mode) | `0`, `1`, `2` | | **excludedextensions** | Write | StringArray[] | Allows an administrator to specify a list of file type extensions to ignore during a scan. | | diff --git a/docs/docs/resources/intune/IntuneDeviceEnrollmentPlatformRestriction.md b/docs/docs/resources/intune/IntuneDeviceEnrollmentPlatformRestriction.md index cce07b5e29..7d1ed04b99 100644 --- a/docs/docs/resources/intune/IntuneDeviceEnrollmentPlatformRestriction.md +++ b/docs/docs/resources/intune/IntuneDeviceEnrollmentPlatformRestriction.md @@ -4,21 +4,21 @@ | Parameter | Attribute | DataType | Description | Allowed Values | | --- | --- | --- | --- | --- | -| **Identity** | Write | String | Identity of the device enrollment platform restriction. | | +| **Identity** | Key | String | Identity of the device enrollment platform restriction. | | | **DisplayName** | Key | String | Display name of the device enrollment platform restriction. | | | **Description** | Write | String | Description of the device enrollment platform restriction. | | -| **DeviceEnrollmentConfigurationType** | Write | String | Support for Enrollment Configuration Type Inherited from deviceEnrollmentConfiguration. | `singlePlatformRestriction`, `platformRestrictions` | +| **AndroidForWorkRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Android for work restrictions based on platform, platform operating system version, and device ownership. | | +| **AndroidRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Android restrictions based on platform, platform operating system version, and device ownership. | | | **IosRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Ios restrictions based on platform, platform operating system version, and device ownership. | | -| **WindowsRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Windows restrictions based on platform, platform operating system version, and device ownership. | | -| **WindowsHomeSkuRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Windows home Sku restrictions based on platform, platform operating system version, and device ownership. | | -| **WindowsMobileRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Windows Mobile restrictions based on platform, platform operating system version, and device ownership. | | -| **AndroidRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Android Device Administrator restrictions based on platform, platform operating system version, and device ownership. | | -| **AndroidForWorkRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Android Enterprise restrictions based on platform, platform operating system version, and device ownership. | | +| **MacOSRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Mac restrictions based on platform, platform operating system version, and device ownership. | | | **MacRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Mac restrictions based on platform, platform operating system version, and device ownership. | | -| **MacOSRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Mac OS restrictions based on platform, platform operating system version, and device ownership. | | +| **WindowsHomeSkuRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Windows Home Sku restrictions based on platform, platform operating system version, and device ownership. | | +| **WindowsMobileRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Windows mobile restrictions based on platform, platform operating system version, and device ownership. | | +| **WindowsRestriction** | Write | MSFT_DeviceEnrollmentPlatformRestriction | Windows restrictions based on platform, platform operating system version, and device ownership. | | +| **DeviceEnrollmentConfigurationType** | Write | String | Support for Enrollment Configuration Type | `platformRestrictions`, `singlePlatformRestriction` | +| **Priority** | Write | UInt32 | Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value. | | | **Assignments** | Write | MSFT_DeviceManagementConfigurationPolicyAssignments[] | Assignments of the policy. | | -| **Priority** | Write | UInt32 | Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value. Inherited from deviceEnrollmentConfiguration. | | -| **Ensure** | Write | String | Present ensures the restriction exists, absent ensures it is removed. | `Present`, `Absent` | +| **Ensure** | Write | String | Present ensures the policy exists, absent ensures it is removed. | `Present`, `Absent` | | **Credential** | Write | PSCredential | Credentials of the Intune Admin | | | **ApplicationId** | Write | String | Id of the Azure Active Directory application to authenticate with. | | | **TenantId** | Write | String | Name of the Azure Active Directory tenant used for authentication. Format contoso.onmicrosoft.com | | @@ -57,6 +57,11 @@ This resource configures the Intune device platform enrollment restrictions. +**Be aware**: To deploy a Android platform restriction policy, two individual configurations must exist: + +* The first one contains the key for `AndroidRestriction` +* The second one contains the key for `AndroidForWorkRestriction` + ## Permissions ### Microsoft Graph @@ -121,6 +126,7 @@ Configuration Example DeviceEnrollmentConfigurationType = "platformRestrictions"; DisplayName = "All users and all devices"; Ensure = "Present"; + Identity = "3868d43e-873e-4416-8fd1-fc3d67c7c15c_DefaultPlatformRestrictions"; IosRestriction = MSFT_DeviceEnrollmentPlatformRestriction{ platformBlocked = $False personalDeviceEnrollmentBlocked = $False @@ -185,6 +191,7 @@ Configuration Example Description = "This is the default Device Type Restriction applied with the lowest priority to all users regardless of group membership."; DeviceEnrollmentConfigurationType = "platformRestrictions"; DisplayName = "All users and all devices"; + Identity = "3868d43e-873e-4416-8fd1-fc3d67c7c15c_DefaultPlatformRestrictions"; Ensure = "Present"; IosRestriction = MSFT_DeviceEnrollmentPlatformRestriction{ platformBlocked = $True # Updated Property @@ -234,8 +241,18 @@ Configuration Example IntuneDeviceEnrollmentPlatformRestriction 'DeviceEnrollmentPlatformRestriction' { Credential = $Credscredential - DisplayName = "All users and all devices"; + DisplayName = "Removed Policy"; Ensure = "Absent"; + Assignments = @(); + Description = "This is a single platform restriction policy."; + DeviceEnrollmentConfigurationType = "singlePlatformRestriction"; + Identity = "d59e4c28-b6b2-48ad-a6f0-a2132300b99d_SinglePlatformRestriction"; + IosRestriction = MSFT_DeviceEnrollmentPlatformRestriction{ + PlatformBlocked = $True + PersonalDeviceEnrollmentBlocked = $False + }; + Priority = 1; + TenantId = $OrganizationName; } } } diff --git a/docs/docs/resources/intune/IntuneDeviceEnrollmentStatusPageWindows10.md b/docs/docs/resources/intune/IntuneDeviceEnrollmentStatusPageWindows10.md index bd27183f40..9326663d9b 100644 --- a/docs/docs/resources/intune/IntuneDeviceEnrollmentStatusPageWindows10.md +++ b/docs/docs/resources/intune/IntuneDeviceEnrollmentStatusPageWindows10.md @@ -16,7 +16,8 @@ | **DisableUserStatusTrackingAfterFirstUser** | Write | Boolean | Only show installation progress for first user post enrollment | | | **InstallProgressTimeoutInMinutes** | Write | UInt32 | Set installation progress timeout in minutes | | | **InstallQualityUpdates** | Write | Boolean | Allows quality updates installation during OOBE | | -| **SelectedMobileAppIds** | Write | StringArray[] | Selected applications to track the installation status | | +| **SelectedMobileAppIds** | Write | StringArray[] | Ids of selected applications to track the installation status. When this parameter is used, SelectedMobileAppNames is ignored | | +| **SelectedMobileAppNames** | Write | StringArray[] | Names of selected applications to track the installation status. This parameter is ignored when SelectedMobileAppIds is also specified | | | **ShowInstallationProgress** | Write | Boolean | Show or hide installation progress to user | | | **TrackInstallProgressForAutopilotOnly** | Write | Boolean | Only show installation progress for Autopilot enrollment scenarios | | | **Priority** | Write | UInt32 | Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value. | | @@ -57,21 +58,21 @@ To authenticate with the Microsoft Graph API, this resource required the followi - **Read** - - DeviceManagementConfiguration.Read.All, DeviceManagementServiceConfig.Read.All + - DeviceManagementConfiguration.Read.All, DeviceManagementServiceConfig.Read.All, DeviceManagementApps.Read.All - **Update** - - DeviceManagementConfiguration.ReadWrite.All, DeviceManagementServiceConfig.ReadWrite.All + - DeviceManagementConfiguration.ReadWrite.All, DeviceManagementServiceConfig.ReadWrite.All, DeviceManagementApps.Read.All #### Application permissions - **Read** - - DeviceManagementConfiguration.Read.All, DeviceManagementServiceConfig.Read.All + - DeviceManagementConfiguration.Read.All, DeviceManagementServiceConfig.Read.All, DeviceManagementApps.Read.All - **Update** - - DeviceManagementConfiguration.ReadWrite.All, DeviceManagementServiceConfig.ReadWrite.All + - DeviceManagementConfiguration.ReadWrite.All, DeviceManagementServiceConfig.ReadWrite.All, DeviceManagementApps.Read.All ## Examples diff --git a/docs/docs/resources/office365/O365OrgSettings.md b/docs/docs/resources/office365/O365OrgSettings.md index 4f3ddf2b1f..c279b168ee 100644 --- a/docs/docs/resources/office365/O365OrgSettings.md +++ b/docs/docs/resources/office365/O365OrgSettings.md @@ -53,7 +53,7 @@ To authenticate with the Microsoft Graph API, this resource required the followi - **Read** - - Application.Read.All, ReportSettings.Read.All, OrgSettings-Microsoft365Install.Read.All, OrgSettings-Forms.Read.All, OrgSettings-Todo.Read.All, OrgSettings-AppsAndServices.Read.All, OrgSettings-DynamicsVoice.Read.All + - Application.ReadWrite.All, ReportSettings.Read.All, OrgSettings-Microsoft365Install.Read.All, OrgSettings-Forms.Read.All, OrgSettings-Todo.Read.All, OrgSettings-AppsAndServices.Read.All, OrgSettings-DynamicsVoice.Read.All - **Update** @@ -63,7 +63,7 @@ To authenticate with the Microsoft Graph API, this resource required the followi - **Read** - - Application.Read.All, ReportSettings.Read.All, OrgSettings-Microsoft365Install.Read.All, OrgSettings-Forms.Read.All, OrgSettings-Todo.Read.All, OrgSettings-AppsAndServices.Read.All, OrgSettings-DynamicsVoice.Read.All, Tasks.Read.All + - Application.ReadWrite.All, ReportSettings.Read.All, OrgSettings-Microsoft365Install.Read.All, OrgSettings-Forms.Read.All, OrgSettings-Todo.Read.All, OrgSettings-AppsAndServices.Read.All, OrgSettings-DynamicsVoice.Read.All, Tasks.Read.All - **Update** diff --git a/docs/docs/resources/sharepoint/SPOAccessControlSettings.md b/docs/docs/resources/sharepoint/SPOAccessControlSettings.md index 70fc31156c..0cb58239af 100644 --- a/docs/docs/resources/sharepoint/SPOAccessControlSettings.md +++ b/docs/docs/resources/sharepoint/SPOAccessControlSettings.md @@ -10,8 +10,6 @@ | **IPAddressEnforcement** | Write | Boolean | Allows access from network locations that are defined by an administrator. | | | **IPAddressAllowList** | Write | String | Configures multiple IP addresses or IP address ranges (IPv4 or IPv6). Use commas to separate multiple IP addresses or IP address ranges. | | | **IPAddressWACTokenLifetime** | Write | UInt32 | Office webapps TokenLifeTime in minutes | | -| **CommentsOnSitePagesDisabled** | Write | Boolean | When this feature is set to true, comments on site pages will be disabled | | -| **SocialBarOnSitePagesDisabled** | Write | Boolean | Disables or enables the Social Bar. It will give users the ability to like a page, see the number of views, likes, and comments on a page, and see the people who have liked a page. | | | **DisallowInfectedFileDownload** | Write | Boolean | Prevents the Download button from being displayed on the Virus Found warning page. | | | **ExternalServicesEnabled** | Write | Boolean | Enables external services for a tenant. External services are defined as services that are not in the Office 365 datacenters. | | | **EmailAttestationRequired** | Write | Boolean | Sets email attestation to required | | @@ -111,8 +109,6 @@ Configuration Example StartASiteFormUrl = "https://contoso.sharepoint.com" IPAddressEnforcement = $false IPAddressWACTokenLifetime = 15 - CommentsOnSitePagesDisabled = $false - SocialBarOnSitePagesDisabled = $false DisallowInfectedFileDownload = $false ExternalServicesEnabled = $true EmailAttestationRequired = $false diff --git a/docs/docs/resources/sharepoint/SPOTenantSettings.md b/docs/docs/resources/sharepoint/SPOTenantSettings.md index 3673bb83b0..d856b02e10 100644 --- a/docs/docs/resources/sharepoint/SPOTenantSettings.md +++ b/docs/docs/resources/sharepoint/SPOTenantSettings.md @@ -23,9 +23,10 @@ | **HideDefaultThemes** | Write | Boolean | Defines if the default themes are visible or hidden | | | **HideSyncButtonOnTeamSite** | Write | Boolean | To enable or disable Sync button on Team sites | | | **MarkNewFilesSensitiveByDefault** | Write | String | Allow or block external sharing until at least one Office DLP policy scans the content of the file. | `AllowExternalSharing`, `BlockExternalSharing` | -| **ConditionalAccessPolicy** | Write | String | Allow or Block Conditional Access Policy on the SharePoint Tenant | `AllowFullAccess`, `AllowLimitedAccess`, `BlockAccess` | | **DisabledWebPartIds** | Write | StringArray[] | Provide GUID for the Web Parts that are to be disabled on the Sharepoint Site | | +| **SocialBarOnSitePagesDisabled** | Write | Boolean | Disables or enables the Social Bar. It will give users the ability to like a page, see the number of views, likes, and comments on a page, and see the people who have liked a page. | | | **CommentsOnSitePagesDisabled** | Write | Boolean | Set to false to enable a comment section on all site pages, users who have access to the pages can leave comments. Set to true to disable this feature. | | +| **EnableAIPIntegration** | Write | Boolean | Boolean indicating if Azure Information Protection (AIP) should be enabled on the tenant. | | | **Ensure** | Write | String | Only accepted value is 'Present'. | `Present`, `Absent` | | **Credential** | Write | PSCredential | Credentials of the account to authenticate with. | | | **ApplicationId** | Write | String | Id of the Azure Active Directory application to authenticate with. | | @@ -115,25 +116,27 @@ Configuration Example { SPOTenantSettings 'ConfigureTenantSettings' { - IsSingleInstance = "Yes" + IsSingleInstance = 'Yes' MinCompatibilityLevel = 16 MaxCompatibilityLevel = 16 SearchResolveExactEmailOrUPN = $false OfficeClientADALDisabled = $false LegacyAuthProtocolsEnabled = $true - SignInAccelerationDomain = "" + SignInAccelerationDomain = '' UsePersistentCookiesForExplorerView = $false UserVoiceForFeedbackEnabled = $true PublicCdnEnabled = $false - PublicCdnAllowedFileTypes = "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF" + PublicCdnAllowedFileTypes = 'CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF' UseFindPeopleInPeoplePicker = $false NotificationsInSharePointEnabled = $true OwnerAnonymousNotification = $true ApplyAppEnforcedRestrictionsToAdHocRecipients = $true FilePickerExternalImageSearchEnabled = $true HideDefaultThemes = $false - MarkNewFilesSensitiveByDefault = "AllowExternalSharing" - Ensure = "Present" + MarkNewFilesSensitiveByDefault = 'AllowExternalSharing' + CommentsOnSitePagesDisabled = $false + SocialBarOnSitePagesDisabled = $false + Ensure = 'Present' Credential = $Credscredential } } diff --git a/docs/docs/resources/teams/TeamsUpdateManagementPolicy.md b/docs/docs/resources/teams/TeamsUpdateManagementPolicy.md index fd57817eee..44684092c4 100644 --- a/docs/docs/resources/teams/TeamsUpdateManagementPolicy.md +++ b/docs/docs/resources/teams/TeamsUpdateManagementPolicy.md @@ -12,7 +12,7 @@ | **UpdateDayOfWeek** | Write | UInt32 | Determines the day of week to perform the updates. Value shoud be between 0 and 6. | | | **UpdateTime** | Write | String | Determines the time of day to perform the updates. Must be a valid HH:MM format string with leading 0. For instance 08:30. | | | **UpdateTimeOfDay** | Write | String | Determines the time of day to perform the updates. Accepts a DateTime as string. Only the time will be considered. | | -| **UseNewTeamsClient** | Write | String | Determines whether or not users will use the new Teams client. | `NewTeamsAsDefault`, `UserChoice`, `MicrosoftChoice`, `AdminDisabled` | +| **UseNewTeamsClient** | Write | String | Determines whether or not users will use the new Teams client. | `NewTeamsAsDefault`, `UserChoice`, `MicrosoftChoice`, `AdminDisabled`, `NewTeamsOnly` | | **Ensure** | Write | String | Present ensures the policy exists, absent ensures it is removed. | `Present`, `Absent` | | **Credential** | Write | PSCredential | Credentials of the Teams Admin | | | **ApplicationId** | Write | String | Id of the Azure Active Directory application to authenticate with. | | diff --git a/docs/docs/user-guide/get-started/authentication-and-permissions.md b/docs/docs/user-guide/get-started/authentication-and-permissions.md index 77ce686d01..8da7494698 100644 --- a/docs/docs/user-guide/get-started/authentication-and-permissions.md +++ b/docs/docs/user-guide/get-started/authentication-and-permissions.md @@ -140,13 +140,13 @@ Executing the cmdlet will prompt you to authenticate using an administrator acco As mentioned earlier in this article, there is also the possibility to use Application permissions or custom service principal to authenticate against Microsoft 365. This custom service principal can be created and configured manually, but Microsoft365DSC also offers the Update-M365DSCAzureAdApplication cmdlet. With this cmdlet, you can create the custom service application, grant the correct permissions, provide admin consent and create credentials (secret or certificate). ```PowerShell -Update-M365DSCAzureAdApplication -ApplicationName 'Microsoft365DSC' -Permissions @(@{Api='SharePoint';PermissionName='Sites.FullControl.All'}) -AdminConsent -Type Secret +Update-M365DSCAzureAdApplication -ApplicationName 'Microsoft365DSC' -Permissions @(@{Api='SharePoint';PermissionName='Sites.FullControl.All'}) -AdminConsent -Type Secret -Credential (Get-Credential) ``` or ```PowerShell -Update-M365DSCAzureAdApplication -ApplicationName 'Microsoft365DSC' -Permissions @(@{Api='SharePoint';PermissionName='Sites.FullControl.All'}) -AdminConsent -Type Certificate -CreateSelfSignedCertificate -CertificatePath c:\Temp\M365DSC.cer +Update-M365DSCAzureAdApplication -ApplicationName 'Microsoft365DSC' -Permissions @(@{Api='SharePoint';PermissionName='Sites.FullControl.All'}) -AdminConsent -Type Certificate -CreateSelfSignedCertificate -CertificatePath c:\Temp\M365DSC.cer -Credential (Get-Credential) ``` ## SharePoint PnP PowerShell Permissions
    $($drift.CimInstanceKey) = '$($drift.CIMInstanceValue)'
    $($drift.ParameterName)$valueForSource