Public/Graph/New-KritTcmMgBetaDeviceAppManagementiOSManagedAppProtection.ps1
|
<# .SYNOPSIS Krit.TCM wrapper over Microsoft365DSC helper New-MgBetaDeviceAppManagementiOSManagedAppProtection (category: Graph, module: M365DSCGraphShim). .DESCRIPTION Auto-scaffolded wave .1514 by New-KritTcmFromM365DscHelpers.ps1. Thin delegating passthrough — logic stays in Microsoft365DSC upstream; Krit.TCM provides the friendly namespace + citation registration for HARD RULE 20 discipline. Install-Module Microsoft365DSC -Scope CurrentUser BEFORE calling. .NOTES Wave .1514. Underlying cmdlet: New-MgBetaDeviceAppManagementiOSManagedAppProtection Category: Graph Module: M365DSCGraphShim Params: 93 #> function New-KritTcmMgBetaDeviceAppManagementiOSManagedAppProtection { [CmdletBinding()] param( [Object] $BodyParameter, [String] $ResponseHeadersVariable, [Hashtable] $AdditionalProperties, [SwitchParameter] $AllowWidgetContentSync, [Object[]] $AllowedDataIngestionLocations, [Object[]] $AllowedDataStorageLocations, [Object] $AllowedInboundDataTransferSources, [String] $AllowedIosDeviceModels, [Int32] $AllowedOutboundClipboardSharingExceptionLength, [Object] $AllowedOutboundClipboardSharingLevel, [Object] $AllowedOutboundDataTransferDestinations, [Object] $AppActionIfAccountIsClockedOut, [Object] $AppActionIfDeviceComplianceRequired, [Object] $AppActionIfIosDeviceModelNotAllowed, [Object] $AppActionIfMaximumPinRetriesExceeded, [Object] $AppActionIfUnableToAuthenticateUser, [Object] $AppDataEncryptionType, [Object] $AppGroupType, [Object] $Apps, [Object] $Assignments, [SwitchParameter] $BlockDataIngestionIntoOrganizationDocuments, [SwitchParameter] $ContactSyncBlocked, [DateTime] $CreatedDateTime, [String] $CustomBrowserProtocol, [String] $CustomDialerAppProtocol, [SwitchParameter] $DataBackupBlocked, [Int32] $DeployedAppCount, [Object] $DeploymentSummary, [String] $Description, [SwitchParameter] $DeviceComplianceRequired, [Object] $DialerRestrictionLevel, [SwitchParameter] $DisableAppPinIfDevicePinIsSet, [SwitchParameter] $DisableProtectionOfManagedOutboundOpenInData, [String] $DisplayName, [Object] $ExemptedAppProtocols, [String[]] $ExemptedUniversalLinks, [SwitchParameter] $FaceIdBlocked, [SwitchParameter] $FilterOpenInToOnlyManagedApps, [SwitchParameter] $FingerprintBlocked, [Object] $GenmojiConfigurationState, [TimeSpan] $GracePeriodToBlockAppsDuringOffClockHours, [String] $Id, [SwitchParameter] $IsAssigned, [DateTime] $LastModifiedDateTime, [Object] $ManagedBrowser, [SwitchParameter] $ManagedBrowserToOpenLinksRequired, [String[]] $ManagedUniversalLinks, [Object] $MaximumAllowedDeviceThreatLevel, [Int32] $MaximumPinRetries, [String] $MaximumRequiredOSVersion, [String] $MaximumWarningOSVersion, [String] $MaximumWipeOSVersion, [String] $MessagingRedirectAppUrlScheme, [Int32] $MinimumPinLength, [String] $MinimumRequiredAppVersion, [String] $MinimumRequiredOSVersion, [String] $MinimumRequiredSdkVersion, [String] $MinimumWarningAppVersion, [String] $MinimumWarningOSVersion, [String] $MinimumWarningSdkVersion, [String] $MinimumWipeAppVersion, [String] $MinimumWipeOSVersion, [String] $MinimumWipeSdkVersion, [Object] $MobileThreatDefensePartnerPriority, [Object] $MobileThreatDefenseRemediationAction, [Object] $NotificationRestriction, [SwitchParameter] $OrganizationalCredentialsRequired, [TimeSpan] $PeriodBeforePinReset, [TimeSpan] $PeriodOfflineBeforeAccessCheck, [TimeSpan] $PeriodOfflineBeforeWipeIsEnforced, [TimeSpan] $PeriodOnlineBeforeAccessCheck, [Object] $PinCharacterSet, [SwitchParameter] $PinRequired, [TimeSpan] $PinRequiredInsteadOfBiometricTimeout, [Int32] $PreviousPinBlockCount, [SwitchParameter] $PrintBlocked, [SwitchParameter] $ProtectInboundDataFromUnknownSources, [Object] $ProtectedMessagingRedirectAppType, [String[]] $RoleScopeTagIds, [SwitchParameter] $SaveAsBlocked, [Object] $ScreenCaptureConfigurationState, [SwitchParameter] $SimplePinBlocked, [Object] $TargetedAppManagementLevels, [SwitchParameter] $ThirdPartyKeyboardsBlocked, [String] $Version, [Object] $WritingToolsConfigurationState, [SwitchParameter] $Break, [IDictionary] $Headers, [Object[]] $HttpPipelineAppend, [Object[]] $HttpPipelinePrepend, [Uri] $Proxy, [PSCredential] $ProxyCredential, [SwitchParameter] $ProxyUseDefaultCredentials ) if (-not (Get-Command -Name 'New-MgBetaDeviceAppManagementiOSManagedAppProtection' -ErrorAction SilentlyContinue)) { throw '[KritTcm] New-MgBetaDeviceAppManagementiOSManagedAppProtection not available — Install-Module Microsoft365DSC -Scope CurrentUser then re-run' } try { & 'New-MgBetaDeviceAppManagementiOSManagedAppProtection' @PSBoundParameters } catch { Write-Error ('[KritTcm/New-KritTcmMgBetaDeviceAppManagementiOSManagedAppProtection] ' + 'New-MgBetaDeviceAppManagementiOSManagedAppProtection' + ' failed: ' + $_.Exception.Message) throw } } |