Public/generated/Get-KriticalUtcmIntuneMobileThreatDefenseConnector.ps1
|
# Kritical.PS.UTCM | Microsoft Graph UTCM REST API toolkit # (c) 2026 Kritical Pty Ltd | https://kritical.net # Kritical brand banner is rendered at module load via Write-KriticalUtcmBanner. function Get-KriticalUtcmIntuneMobileThreatDefenseConnector { <# .SYNOPSIS Kritical.UTCM shim for M365DSC resource IntuneMobileThreatDefenseConnector. .DESCRIPTION Search-replace safe: callers that today invoke Get-M365DSCIntuneMobileThreatDefenseConnector -Credential $cred -TenantId $tid can rename to Get-KriticalUtcmIntuneMobileThreatDefenseConnector -Credential $cred -TenantId $tid with ZERO other edits. Parameter shape matches the M365DSC .schema.mof exactly. By default -PreferM365DscBehavior is true. Actual Graph dispatch is delegated to Invoke-KriticalUtcmM365DscSchemaBridge. Bridge maps resource → Graph endpoint per per-resource wave; where mapping is not yet shipped, bridge returns an object with Verdict='UNMAPPED'. .NOTES Workload: Intune Param count: 26 #> [CmdletBinding()] param( # The unique identifier for an entity. Read-only. [Parameter(Mandatory)] [string]$Id, # The DisplayName of the Mobile Threat Defense Connector partner. NOTE: Hard coded for convenience, not returned by the Graph API. [string]$DisplayName, # When TRUE, indicates the Mobile Threat Defense partner may collect metadata about installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about installed applications from Intune for IOS devices. Default value is FALSE. [bool]$AllowPartnerToCollectIosApplicationMetadata, # When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for IOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for IOS devices. Default value is FALSE. [bool]$AllowPartnerToCollectIOSPersonalApplicationMetadata, # For Android, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant. [bool]$AndroidDeviceBlockedOnMissingPartnerData, # For Android, set whether data from the Mobile Threat Defense partner should be used during compliance evaluations. [bool]$AndroidEnabled, # When TRUE, indicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for Android devices. When FALSE, indicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for Android devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. [bool]$AndroidMobileApplicationManagementEnabled, # For IOS, set whether Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant. [bool]$IosDeviceBlockedOnMissingPartnerData, # For IOS, get or set whether data from the Mobile Threat Defense partner should be used during compliance evaluations. [bool]$IosEnabled, # When TRUE, indicates that data from the Mobile Threat Defense partner can be used during Mobile Application Management (MAM) evaluations for IOS devices. When FALSE, indicates that data from the Mobile Threat Defense partner should not be used during Mobile Application Management (MAM) evaluations for IOS devices. Only one partner per platform may be enabled for Mobile Application Management (MAM) evaluation. Default value is FALSE. [bool]$IosMobileApplicationManagementEnabled, # DateTime of last Heartbeat received from the Mobile Threat Defense partner. [datetime]$LastHeartbeatDateTime, # When TRUE, indicates that configuration profile management via Microsoft Defender for Endpoint is enabled. When FALSE, inidicates that configuration profile management via Microsoft Defender for Endpoint is disabled. Default value is FALSE. [bool]$MicrosoftDefenderForEndpointAttachEnabled, # Partner state of this tenant. [string]$PartnerState, # Get or Set days the per tenant tolerance to unresponsiveness for this partner integration. [int]$PartnerUnresponsivenessThresholdInDays, # Get or set whether to block devices on the enabled platforms that do not meet the minimum version requirements of the Mobile Threat Defense partner. [bool]$PartnerUnsupportedOSVersionBlocked, # When TRUE, indicates that Intune must receive data from the Mobile Threat Defense partner prior to marking a device compliant for Windows. When FALSE, indicates that Intune may make a device compliant without receiving data from the Mobile Threat Defense partner for Windows. Default value is FALSE. [bool]$WindowsDeviceBlockedOnMissingPartnerData, # When TRUE, indicates that data from the Mobile Threat Defense partner can be used during compliance evaluations for Windows. When FALSE, it indicates that data from the Mobile Threat Defense partner should not be used during compliance evaluations for Windows. Default value is FALSE. [bool]$WindowsEnabled, # Present ensures the instance exists, absent ensures it is removed. [ValidateSet('Present','Absent')] [string]$Ensure, # Credentials of the workload's Admin [string]$Credential, # Id of the Azure Active Directory application to authenticate with. [string]$ApplicationId, # Id of the Azure Active Directory tenant used for authentication. [string]$TenantId, # Secret of the Azure Active Directory tenant used for authentication. [string]$ApplicationSecret, # Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication. [string]$CertificateThumbprint, # Username can be made up to anything but password will be used for CertificatePassword [string]$CertificatePassword, # Path to certificate used in service principal usually a PFX file. [string]$CertificatePath, # Managed ID being used for authentication. [bool]$ManagedIdentity ) Invoke-KriticalUtcmM365DscSchemaBridge -ResourceName 'IntuneMobileThreatDefenseConnector' -Workload 'Intune' -Verb 'Get' -CallerParams $PSBoundParameters } |