ACTION_PROVISION_MANAGED_PROFILE은 DPC 우선 직장 프로필 프로비저닝에서만 지원됩니다. 이 경우 최종 사용자는 DPC를 다운로드한 후 직장 프로필을 프로비저닝할 수 있습니다.
QR 코드나 기타 프로비저닝 방법을 지원하려는 DPC 개발자는 DevicePolicyManager#ACTION_GET_PROVISIONING_MODE 및 DevicePolicyManager#ACTION_ADMIN_POLICY_COMPLIANCE 인텐트 작업의 핸들러를 구현해야 합니다. DPC가 이러한 핸들러를 구현하지 않으면 프로비저닝이 실패합니다.
DPC ACTION_GET_PROVISIONING_MODE 핸들러는 새로운 EXTRA_PROVISIONING_ALLOWED_PROVISIONING_MODES 추가 항목을 포함합니다. DPC는 목록에 있는 값을 사용하여 EXTRA_PROVISIONING_MODE 추가 항목을 결과 인텐트로 설정해야 합니다. DPC가 목록에 없는 값을 반환하면 프로비저닝이 실패합니다.
설정 마법사 진행 프로세스의 안정성, 유지관리, 단순성을 높이기 위해 설정 마법사 종료 후에는 DPC 설정을 시작할 수 없습니다. 설정 마법사 종료 전에 설정되도록 명시적으로 요청하기 위해 ADMIN_POLICY_COMPLIANCE 인텐트 작업이 있는 android.intent.category.PROVISIONING_FINALIZATION 카테고리를 사용하는 DPC는 이제 이 작업이 자동으로 처리되므로 카테고리를 삭제해도 됩니다.
관리 프로비저닝
관리 프로비저닝은 사용자가 기기 소유자 또는 관리 프로필 설정의 의미를 적절히 알 수 있도록 하는 프레임워크 UI 흐름입니다.
기본 암호화를 사용 설정하는 기기는 매우 간단하고 빠른 기기 관리 프로비저닝 흐름을 제공합니다.
관리 프로비저닝 중에 관리 프로비저닝 구성요소는 다음 활동을 실행합니다.
기기를 암호화합니다.
관리 프로필을 만듭니다.
필수가 아닌 앱을 사용 중지합니다.
엔터프라이즈 모바일 관리(EMM) 앱을 프로필 또는 기기 소유자로 설정합니다.
이후 엔터프라이즈 모바일 관리(EMM) 앱은 다음 활동을 실행합니다.
사용자 계정을 추가합니다.
기기 규정 준수를 적용합니다.
추가 시스템 앱을 사용 설정합니다.
관리 프로비저닝 중에 프레임워크는 EMM 앱을 관리 프로필에 복사합니다. 프로비저닝이 완료되면 직장 프로필 사용자(직장 프로필 프로비저닝의 경우) 또는 기기 소유자 사용자(기기 소유자 프로비저닝의 경우)에서 EMM 앱의 ADMIN_POLICY_COMPLIANCE 인텐트 핸들러가 호출됩니다. 그런 다음 EMM이 계정을 추가하고 정책을 적용한 후 setProfileEnabled()를 호출하여 런처 아이콘을 표시합니다.
프로필 소유자 프로비저닝
프로필 소유자 프로비저닝을 사용하면 사용자가 기기의 직장 프로필(관리 프로필)과 개인 프로필을 둘 다 소유할 수 있습니다. 프로필 소유자 프로비저닝을 사용 설정하려면 적절한 추가 항목이 포함된 인텐트를 전송해야 합니다. 예를 들어, 기기에 TestDPC 앱을 설치(Google Play에서 다운로드 또는 GitHub에서 빌드)하고 런처에서 앱을 실행한 다음 앱의 안내를 따릅니다.
런처 창에 배지 아이콘이 나타나면 프로비저닝이 완료된 것입니다.
클라우드 서비스를 사용하여 기기 소유자 또는 프로필 소유자(직장 프로필)로 기기를 프로비저닝할 수 있습니다. 기기는 사용자 인증 정보(또는 토큰)를 수집하고 사용하여 클라우드 서비스를 조회합니다. 조회된 클라우드 서비스는 프로비저닝 프로세스를 시작하는 데 사용할 수 있습니다.
엔터프라이즈 모바일 관리의 이점
엔터프라이즈 모바일 관리(EMM) 앱은 다음 작업을 실행하여 이점을 제공할 수 있습니다.
관리 프로필 프로비저닝
보안 정책 적용
비밀번호 복잡성 설정
관리 프로필에서 공유된 스크린샷 사용 중지와 같은 잠금
엔터프라이즈 연결 구성
WifiEnterpriseConfig를 사용하여 회사 Wi-Fi 구성
기기에서 VPN 구성
DPM.setApplicationRestrictions()를 사용하여 기업 VPN 구성
기업 앱 싱글 사인온 (SSO) 사용 설정
선택한 기업 앱 설치
DPM.installKeyPair()를 사용하여 기업 클라이언트 인증서 자동 설치
DPM.setApplicationRestrictions()를 사용하여 기업 앱의 호스트 이름, 인증서 별칭 구성
관리 프로비저닝은 관리 프로필 또는 관리 기기의 앱이 기업 데이터에 액세스할 수 있도록 하는 것을 최종 목표로 하는 EMM 엔드 투 엔드 워크플로의 한 부분입니다. 테스트 가이드는 기기 테스트 설정을 참고하세요.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Provision for device management\n\nIT admins can deploy devices to corporate users using cloud services, QR code,\nor Near Field Communication (NFC) provisioning. To get started, download the\n[NfcProvisioning\nAPK](https://github.com/googlesamples/android-NfcProvisioning) and\nthe [Android-DeviceOwner\nAPK](https://github.com/googlesamples/android-DeviceOwner). For a\ncomplete list of requirements, see [Implementing Device\nManagement](/docs/devices/admin/implement).\n| **Note:** If provisioning has already started, you must factory reset the affected devices first.\n\nAndroid 12 updates\n------------------\n\n- `ACTION_PROVISION_MANAGED_DEVICE` is deprecated.\n\n- `ACTION_PROVISION_MANAGED_PROFILE` is supported only for DPC-first work\n profile provisioning, in which end users can provision a work profile after\n downloading the DPC.\n\n- DPC developers that want to support QR code or other provisioning methods must\n implement handlers for the `DevicePolicyManager#ACTION_GET_PROVISIONING_MODE`\n and `DevicePolicyManager#ACTION_ADMIN_POLICY_COMPLIANCE` intent actions. If\n the DPC doesn't implement these handlers, provisioning fails.\n\n- The DPC `ACTION_GET_PROVISIONING_MODE` handler includes a new\n `EXTRA_PROVISIONING_ALLOWED_PROVISIONING_MODES` extra. The DPC must set the\n `EXTRA_PROVISIONING_MODE` extra to its resulting intent with a value that\n belongs to that list. If the DPC returns a value that isn't on that list,\n provisioning fails.\n\n- To further increase the stability, maintainability, and simplicity of flows\n that happen during the setup wizard, DPC setup can't be started after the end\n of the setup wizard. DPCs that use the\n `android.intent.category.PROVISIONING_FINALIZATION` category with the\n `ADMIN_POLICY_COMPLIANCE` intent action to explicitly request being setup\n prior the end of the setup wizard can remove that category as this is now done\n by default.\n\nManaged provisioning\n--------------------\n\nManaged provisioning is a framework UI flow that ensures users are adequately\ninformed of the implications of setting a device owner or managed profile.\nDevices that enable default encryption offer a considerably simpler and quicker\ndevice management provisioning flow.\n\nDuring managed provisioning, the managed provisioning component performs the\nfollowing activities:\n\n- Encrypts the device.\n- Creates the managed profile.\n- Disables non-required apps.\n- Sets the enterprise mobility management (EMM) app as profile or device owner.\n\nIn turn, the enterprise mobility management (EMM) app performs the following\nactivities:\n\n- Adds user accounts.\n- Enforces device compliance.\n- Enables any additional system apps.\n\nDuring managed provisioning, the framework copies the EMM app into the managed\nprofile. After provisioning completes, the EMM app's `ADMIN_POLICY_COMPLIANCE`\nintent handler is called in the work profile user (for work profile\nprovisioning) or in the device owner user (for device owner provisioning). The\nEMM then adds accounts and enforce policies, after which it calls\n`setProfileEnabled()` to make the launcher icons visible.\n| **Note:** The device owner can be set only from an unprovisioned device. If `Settings.Secure.USER_SETUP_COMPLETE` has ever been set, the device is considered provisioned and the device owner can't be set. The device must be factory reset before it can be provisioned again.\n\nProfile owner provisioning\n--------------------------\n\nProfile owner provisioning enables the user to have both a work profile (managed\nprofile) and a personal profile on a device. To enable profile owner\nprovisioning, you must send an intent with appropriate extras. For an example,\ninstall the TestDPC app ([download from Google\nPlay](https://play.google.com/store/apps/details?id=com.afwsamples.testdpc)\nor [build from\nGitHub](https://github.com/googlesamples/android-testdpc/)) on the\ndevice, launch the app from the launcher, then follow the app instructions.\nProvisioning is complete when badged icons appear in the launcher drawer.\n\nThe EMM DPC app triggers the creation of the managed profile by sending an\nintent with the\n[DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE](https://android.googlesource.com/platform/frameworks/base/+/android16-release/core/java/android/app/admin/DevicePolicyManager.java)\naction. The following command is a sample intent that triggers the creation of\nthe managed profile and sets the `DeviceAdminSample` as the profile owner: \n\n adb shell am start \\\n -a android.app.action.PROVISION_MANAGED_PROFILE \\\n -c android.intent.category.DEFAULT \\\n -e wifiSsid $(printf '%q' \\\"WifiSSID\\\") \\\n -e deviceAdminPackage \"com.google.android.deviceadminsample\" \\\n -e android.app.extra.deviceAdminPackageName $(printf '%q'.DeviceAdminSample\\$DeviceAdminSampleReceiver) \\\n -e android.app.extra.DEFAULT_MANAGED_PROFILE_NAME \"My Organisation\"\n\nDevice owner provisioning with NFC\n----------------------------------\n\nYou can use NFC or [cloud services](#provision_cs) to set up device owner (DO)\nprovisioning during the out-of-box setup process for a device.\n\nWhen using NFC, you provision devices in DO mode using [NFC\nbump](http://developer.android.com/guide/topics/connectivity/nfc/nfc)\nduring the initial device setup step. This method requires more bootstrapping,\nbut is low-touch and handles configuring Wi-Fi, installing the DPC, and setting\nthe DPC as device owner.\n\nA typical NFC bundle includes the following: \n\n EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME\n EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LOCATION\n EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM\n EXTRA_PROVISIONING_WIFI_SSID\n EXTRA_PROVISIONING_WIFI_SECURITY_TYPE\n\nDevices must have NFC configured to accept the managed provisioning mimetype\nfrom the setup experience. To configure, ensure\n`/packages/apps/Nfc/res/values/provisioning.xml` contains the following lines: \n\n \u003cbool name=\"enable\\_nfc\\_provisioning\"\u003etrue\u003c/bool\u003e\n \u003citem\u003eapplication/com.android.managedprovisioning\u003c/item\u003e\n\n| **Note:** Android 10 [deprecates Android\n| beam](https://developer.android.com/about/versions/10/behavior-changes-all#beam-deprecation) and removes native support for NFC beam capabilities. This means that devices running Android 10 or higher don't support NFC device-to-device provisioning by default, and must be provisioned using NFC tags as described in this document.\n\nProvision using cloud services\n------------------------------\n\nYou can provision devices with a [device\nowner](#device_owner_provisioning_via_nfc) or [profile\nowner](#profile_owner_provisioning) (work profile) using cloud services. The\ndevice collects and uses credentials (or tokens) to perform a lookup to a cloud\nservice, which can then be used to initiate the provisioning process.\n\nEnterprise mobility management benefits\n---------------------------------------\n\nAn enterprise mobility management (EMM) app can help by conducting the following\ntasks:\n\n- Provisioning managed profile.\n- Applying security policies.\n - Set password complexity.\n - Lockdowns, such as disable screenshots, shared from managed profile\n- Configuring enterprise connectivity.\n - Use `WifiEnterpriseConfig` to configure corporate Wi-Fi.\n - Configure VPN on the device.\n - Use `DPM.setApplicationRestrictions()` to configure corporate VPN.\n- Enabling corporate app single sign on (SSO).\n - Install selected corporate apps.\n - Use `DPM.installKeyPair()` to silently install corp client certs.\n - Use `DPM.setApplicationRestrictions()` to configure hostnames, cert alias' of corporate apps.\n\nManaged provisioning is just one part of the EMM end-to-end workflow, with the\nend goal of making corporate data accessible to apps in the managed profile or\nmanaged device. For testing guidance, see [Setting up Device\nTesting](/docs/devices/admin/testing-setup)."]]