Templates/AppProtection/level-2-enterprise-enhanced-data-protection-Android.json

{
    "displayName": "Android Enterprise Enhanced Data Protection v1.7",
    "description": "This app protection policy introduces data leakage prevention mechanisms and minimum OS requirements. This is the configuration that is applicable to most mobile users accessing work or school data.",
    "roleScopeTagIds": [
                            "0"
                        ],
    "periodOfflineBeforeAccessCheck": "PT12H",
    "periodOnlineBeforeAccessCheck": "PT30M",
    "allowedInboundDataTransferSources": "allApps",
    "allowedOutboundDataTransferDestinations": "managedApps",
    "organizationalCredentialsRequired": false,
    "allowedOutboundClipboardSharingLevel": "managedAppsWithPasteIn",
    "dataBackupBlocked": true,
    "deviceComplianceRequired": true,
    "managedBrowserToOpenLinksRequired": true,
    "saveAsBlocked": true,
    "periodOfflineBeforeWipeIsEnforced": "P90D",
    "pinRequired": true,
    "maximumPinRetries": 5,
    "simplePinBlocked": false,
    "minimumPinLength": 4,
    "pinCharacterSet": "numeric",
    "periodBeforePinReset": "PT0S",
    "allowedDataStorageLocations": [
                                        "oneDriveForBusiness",
                                        "sharePoint"
                                    ],
    "contactSyncBlocked": false,
    "printBlocked": false,
    "fingerprintBlocked": false,
    "disableAppPinIfDevicePinIsSet": false,
    "minimumRequiredOsVersion": "6.0",
    "minimumWarningOsVersion": null,
    "minimumRequiredAppVersion": null,
    "minimumWarningAppVersion": null,
    "minimumWipeOsVersion": null,
    "minimumWipeAppVersion": null,
    "appActionIfDeviceComplianceRequired": "block",
    "appActionIfMaximumPinRetriesExceeded": "block",
    "pinRequiredInsteadOfBiometricTimeout": "PT12H",
    "allowedOutboundClipboardSharingExceptionLength": 0,
    "notificationRestriction": "blockOrganizationalData",
    "previousPinBlockCount": 0,
    "managedBrowser": "microsoftEdge",
    "maximumAllowedDeviceThreatLevel": "notConfigured",
    "mobileThreatDefenseRemediationAction": "block",
    "blockDataIngestionIntoOrganizationDocuments": false,
    "allowedDataIngestionLocations": [
                                          "oneDriveForBusiness",
                                          "sharePoint",
                                          "camera"
                                      ],
    "appActionIfUnableToAuthenticateUser": "block",
    "dialerRestrictionLevel": "allApps",
    "isAssigned": false,
    "targetedAppManagementLevels": "unspecified",
    "screenCaptureBlocked": true,
    "disableAppEncryptionIfDeviceEncryptionIsEnabled": false,
    "encryptAppData": true,
    "deployedAppCount": 13,
    "minimumRequiredPatchVersion": null,
    "minimumWarningPatchVersion": null,
    "minimumWipePatchVersion": null,
    "allowedAndroidDeviceManufacturers": null,
    "appActionIfAndroidDeviceManufacturerNotAllowed": "block",
    "requiredAndroidSafetyNetDeviceAttestationType": "basicIntegrityAndDeviceCertification",
    "appActionIfAndroidSafetyNetDeviceAttestationFailed": "block",
    "requiredAndroidSafetyNetAppsVerificationType": "enabled",
    "appActionIfAndroidSafetyNetAppsVerificationFailed": "block",
    "customBrowserPackageId": "",
    "customBrowserDisplayName": "",
    "minimumRequiredCompanyPortalVersion": null,
    "minimumWarningCompanyPortalVersion": null,
    "minimumWipeCompanyPortalVersion": null,
    "keyboardsRestricted": false,
    "allowedAndroidDeviceModels": [

                                   ],
    "appActionIfAndroidDeviceModelNotAllowed": "block",
    "customDialerAppPackageId": null,
    "customDialerAppDisplayName": null,
    "biometricAuthenticationBlocked": true,
    "requiredAndroidSafetyNetEvaluationType": "basic",
    "blockAfterCompanyPortalUpdateDeferralInDays": 0,
    "warnAfterCompanyPortalUpdateDeferralInDays": 0,
    "wipeAfterCompanyPortalUpdateDeferralInDays": 0,
    "deviceLockRequired": true,
    "appActionIfDeviceLockNotSet": "block",
    "exemptedAppPackages": [

                            ],
    "approvedKeyboards": [

                          ],
    "apps": [
                 {
                     "id": "com.microsoft.emmx.android",
                     "version": "-725393251",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.emmx"
                                             }
                 },
                 {
                     "id": "com.microsoft.office.excel.android",
                     "version": "-1789826587",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.office.excel"
                                             }
                 },
                 {
                     "id": "com.microsoft.office.officehub.android",
                     "version": "-1091809935",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.office.officehub"
                                             }
                 },
                 {
                     "id": "com.microsoft.office.officehubhl.android",
                     "version": "-1175805259",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.office.officehubhl"
                                             }
                 },
                 {
                     "id": "com.microsoft.office.officehubrow.android",
                     "version": "-1861979965",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.office.officehubrow"
                                             }
                 },
                 {
                     "id": "com.microsoft.office.onenote.android",
                     "version": "186482170",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.office.onenote"
                                             }
                 },
                 {
                     "id": "com.microsoft.office.outlook.android",
                     "version": "1146701235",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.office.outlook"
                                             }
                 },
                 {
                     "id": "com.microsoft.office.powerpoint.android",
                     "version": "1411665537",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.office.powerpoint"
                                             }
                 },
                 {
                     "id": "com.microsoft.office.word.android",
                     "version": "2122351424",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.office.word"
                                             }
                 },
                 {
                     "id": "com.microsoft.sharepoint.android",
                     "version": "84773357",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.sharepoint"
                                             }
                 },
                 {
                     "id": "com.microsoft.skydrive.android",
                     "version": "1887770705",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.skydrive"
                                             }
                 },
                 {
                     "id": "com.microsoft.teams.android",
                     "version": "1900143244",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.teams"
                                             }
                 },
                 {
                     "id": "com.microsoft.todos.android",
                     "version": "1697858135",
                     "mobileAppIdentifier": {
                                                 "@odata.type": "#microsoft.graph.androidMobileAppIdentifier",
                                                 "packageId": "com.microsoft.todos"
                                             }
                 }
             ],
    "@odata.type": "#microsoft.graph.androidManagedAppProtection"
}