IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10¶
Parameters¶
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| AdvancedThreatProtectionAutoPopulateOnboardingBlob | Write | Boolean | Auto populate onboarding blob programmatically from Advanced Threat protection service | |
| AdvancedThreatProtectionOffboardingBlob | Write | String | Windows Defender AdvancedThreatProtection Offboarding Blob. | |
| AdvancedThreatProtectionOffboardingFilename | Write | String | Name of the file from which AdvancedThreatProtectionOffboardingBlob was obtained. | |
| AdvancedThreatProtectionOnboardingBlob | Write | String | Windows Defender AdvancedThreatProtection Onboarding Blob. | |
| AdvancedThreatProtectionOnboardingFilename | Write | String | Name of the file from which AdvancedThreatProtectionOnboardingBlob was obtained. | |
| AllowSampleSharing | Write | Boolean | Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule | |
| EnableExpeditedTelemetryReporting | Write | Boolean | Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency. | |
| Description | Write | String | Admin provided description of the Device Configuration. | |
| DeviceManagementApplicabilityRuleDeviceMode | Write | MSFT_DeviceManagementApplicabilityRuleDeviceMode | The device mode applicability rule for this Policy. | |
| DeviceManagementApplicabilityRuleOsEdition | Write | MSFT_DeviceManagementApplicabilityRuleOsEdition | The OS edition applicability for this Policy. | |
| DeviceManagementApplicabilityRuleOsVersion | Write | MSFT_DeviceManagementApplicabilityRuleOsVersion | The OS version applicability rule for this Policy. | |
| DisplayName | Key | String | Admin provided name of the device configuration. | |
| Id | Write | String | The unique identifier for an entity. Read-only. | |
| RoleScopeTagIds | Write | String[] | List of Scope Tags for this Entity instance. | |
| Assignments | Write | MSFT_DeviceManagementConfigurationPolicyAssignments[] | Represents the assignment to the Intune policy. | |
| Ensure | Write | String | Present ensures the policy exists, absent ensures it is removed. | Present, Absent |
| Credential | Write | PSCredential | Credentials of the Admin | |
| ApplicationId | Write | String | Id of the Azure Active Directory application to authenticate with. | |
| TenantId | Write | String | Id of the Azure Active Directory tenant used for authentication. | |
| ApplicationSecret | Write | PSCredential | Secret of the Azure Active Directory tenant used for authentication. | |
| CertificateThumbprint | Write | String | Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication. | |
| CertificatePassword | Write | PSCredential | Username can be made up to anything but password will be used for CertificatePassword | |
| CertificatePath | Write | String | Path to certificate used in service principal usually a PFX file. | |
| ManagedIdentity | Write | Boolean | Managed ID being used for authentication. | |
| AccessTokens | Write | String[] | Access token used for authentication. |
Embedded Instances¶
MSFT_DeviceManagementApplicabilityRuleDeviceMode¶
Parameters¶
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Name | Required | String | Name for object | |
| DeviceMode | Write | String | Applicability rule for device mode | standardConfiguration, sModeConfiguration |
| RuleType | Write | String | Applicability Rule type | include, exclude |
MSFT_DeviceManagementApplicabilityRuleOsEdition¶
Parameters¶
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Name | Write | String | Name for object | |
| OsEditionTypes | Write | String[] | Applicability rule OS edition type | |
| RuleType | Write | String | Applicability Rule type | include, exclude |
MSFT_DeviceManagementApplicabilityRuleOsVersion¶
Parameters¶
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Name | Write | String | Name for object | |
| MinOSVersion | Write | String | Min OS version for Applicability Rule | |
| MaxOSVersion | Write | String | Max OS version for Applicability Rule | |
| RuleType | Write | String | Applicability Rule type | include, exclude |
MSFT_DeviceManagementConfigurationPolicyAssignments¶
Parameters¶
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| dataType | Required | String | The type of the target assignment. | #microsoft.graph.cloudPcManagementGroupAssignmentTarget, #microsoft.graph.groupAssignmentTarget, #microsoft.graph.allLicensedUsersAssignmentTarget, #microsoft.graph.allDevicesAssignmentTarget, #microsoft.graph.exclusionGroupAssignmentTarget, #microsoft.graph.configurationManagerCollectionAssignmentTarget |
| deviceAndAppManagementAssignmentFilterType | Write | String | The type of filter of the target assignment i.e. Exclude or Include. Possible values are:none, include, exclude. | none, include, exclude |
| deviceAndAppManagementAssignmentFilterId | Write | String | The Id of the filter for the target assignment. | |
| deviceAndAppManagementAssignmentFilterDisplayName | Write | String | The display name of the filter for the target assignment. | |
| groupId | Write | String | The group Id that is the target of the assignment. | |
| groupDisplayName | Write | String | The group Display Name that is the target of the assignment. | |
| collectionId | Write | String | The collection Id that is the target of the assignment.(ConfigMgr) |
Description¶
Intune Device Configuration Defender For Endpoint Onboarding Policy for Windows10
Permissions¶
Graph¶
To authenticate with the Graph API, this resource requires the following permissions:
Delegated permissions¶
- Read
-
GroupMember.Read.All, DeviceManagementConfiguration.Read.All, DeviceManagementRBAC.Read.All
-
Update
- GroupMember.Read.All, DeviceManagementConfiguration.ReadWrite.All, DeviceManagementRBAC.Read.All
Application permissions¶
- Read
-
GroupMember.Read.All, DeviceManagementConfiguration.Read.All, DeviceManagementRBAC.Read.All
-
Update
- GroupMember.Read.All, DeviceManagementConfiguration.ReadWrite.All, DeviceManagementRBAC.Read.All
Examples¶
Example 1¶
This example is used to test new resources and showcase the usage of new resources being worked on. It is not meant to use as a production baseline.
Configuration Example
{
param
(
[Parameter()]
[System.String]
$ApplicationId,
[Parameter()]
[System.String]
$TenantId,
[Parameter()]
[System.String]
$CertificateThumbprint
)
Import-DscResource -ModuleName Microsoft365DSC
Node localhost
{
IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10 'IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10-Example'
{
AdvancedThreatProtectionAutoPopulateOnboardingBlob = $false;
AdvancedThreatProtectionOffboardingBlob = "<offboarding-blob>";
AdvancedThreatProtectionOffboardingFilename = "WindowsDefenderATP.offboarding";
AdvancedThreatProtectionOnboardingBlob = "<onboarding-blob>";
AdvancedThreatProtectionOnboardingFilename = "WindowsDefenderATP.onboarding";
AllowSampleSharing = $true;
Assignments = @(
MSFT_DeviceManagementConfigurationPolicyAssignments{
dataType = '#microsoft.graph.groupAssignmentTarget'
deviceAndAppManagementAssignmentFilterType = 'none'
groupDisplayName = 'Corporate Windows Devices'
}
);
Description = "Onboards corporate Windows endpoints to Microsoft Defender for Endpoint";
DeviceManagementApplicabilityRuleDeviceMode = MSFT_DeviceManagementApplicabilityRuleDeviceMode{
Name = "Standard configuration devices only"
DeviceMode = "standardConfiguration"
RuleType = "include"
};
DeviceManagementApplicabilityRuleOsEdition = MSFT_DeviceManagementApplicabilityRuleOsEdition{
Name = "Enterprise and Professional editions only"
OsEditionTypes = @("windows10Enterprise", "windows10Professional")
RuleType = "include"
};
DeviceManagementApplicabilityRuleOsVersion = MSFT_DeviceManagementApplicabilityRuleOsVersion{
Name = "Windows 10 22H2 or later"
MinOSVersion = "10.0.19045.0"
MaxOSVersion = "10.0.26100.9999"
RuleType = "include"
};
DisplayName = "MDE onboarding Legacy";
EnableExpeditedTelemetryReporting = $true;
Ensure = "Present";
RoleScopeTagIds = @("0");
ApplicationId = $ApplicationId;
TenantId = $TenantId;
CertificateThumbprint = $CertificateThumbprint;
}
}
}
Example 2¶
This example is used to test new resources and showcase the usage of new resources being worked on. It is not meant to use as a production baseline.
Configuration Example
{
param
(
[Parameter()]
[System.String]
$ApplicationId,
[Parameter()]
[System.String]
$TenantId,
[Parameter()]
[System.String]
$CertificateThumbprint
)
Import-DscResource -ModuleName Microsoft365DSC
Node localhost
{
IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10 'IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10-Example'
{
AdvancedThreatProtectionAutoPopulateOnboardingBlob = $true; # Updated Property
AdvancedThreatProtectionOffboardingBlob = "<offboarding-blob>";
AdvancedThreatProtectionOffboardingFilename = "WindowsDefenderATP.offboarding";
AdvancedThreatProtectionOnboardingFilename = "WindowsDefenderATP.onboarding";
AllowSampleSharing = $true;
Assignments = @(
MSFT_DeviceManagementConfigurationPolicyAssignments{
dataType = '#microsoft.graph.groupAssignmentTarget'
deviceAndAppManagementAssignmentFilterType = 'none'
groupDisplayName = 'Corporate Windows Devices'
}
);
Description = "Onboards corporate Windows endpoints to Microsoft Defender for Endpoint";
DeviceManagementApplicabilityRuleDeviceMode = MSFT_DeviceManagementApplicabilityRuleDeviceMode{
Name = "Standard configuration devices only"
DeviceMode = "standardConfiguration"
RuleType = "include"
};
DeviceManagementApplicabilityRuleOsEdition = MSFT_DeviceManagementApplicabilityRuleOsEdition{
Name = "Enterprise and Professional editions only"
OsEditionTypes = @("windows10Enterprise", "windows10Professional")
RuleType = "include"
};
DeviceManagementApplicabilityRuleOsVersion = MSFT_DeviceManagementApplicabilityRuleOsVersion{
Name = "Windows 10 22H2 or later"
MinOSVersion = "10.0.19045.0"
MaxOSVersion = "10.0.26100.9999"
RuleType = "include"
};
DisplayName = "MDE onboarding Legacy";
EnableExpeditedTelemetryReporting = $true;
Ensure = "Present";
RoleScopeTagIds = @("0");
ApplicationId = $ApplicationId;
TenantId = $TenantId;
CertificateThumbprint = $CertificateThumbprint;
}
}
}
Example 3¶
This example is used to test new resources and showcase the usage of new resources being worked on. It is not meant to use as a production baseline.
Configuration Example
{
param
(
[Parameter()]
[System.String]
$ApplicationId,
[Parameter()]
[System.String]
$TenantId,
[Parameter()]
[System.String]
$CertificateThumbprint
)
Import-DscResource -ModuleName Microsoft365DSC
Node localhost
{
IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10 'IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10-Example'
{
DisplayName = "MDE onboarding Legacy";
Ensure = "Absent";
ApplicationId = $ApplicationId;
TenantId = $TenantId;
CertificateThumbprint = $CertificateThumbprint;
}
}
}