在 Microsoft Intune 中使用移动应用配置策略配置 Android for Work 应用Configure Android for Work apps with mobile app configuration policies in Microsoft Intune

适用于:经典控制台中的 IntuneApplies to: Intune in the classic console
正在查找有关 Azure 中的 Intune 的文档?Looking for documentation about Intune on Azure? 请转到此处Go here.

Microsoft Intune 中的移动应用配置策略可提供用户在运行应用时可能需要的设置。Use mobile app configuration policies in Microsoft Intune to supply settings that might be required when users run an app. 例如,应用可能要求用户指定:For example, an app might require users to specify:

  • 自定义端口号A custom port number
  • 语言设置Language settings
  • 公司徽标之类的品牌设置Branding settings such as a company logo

如果用户输入的设置不正确,可能会加重支持人员的负担并降低新应用的采用率。If users enter settings incorrectly, it can increase the burden on your help desk and slow the adoption of new apps.

移动应用配置策略可让你在用户运行应用前将这些设置部署到设备。Mobile app configuration policies let you deploy these settings to devices before users run the app. 会自动提供这些设置,用户无需执行任何操作。The settings are supplied automatically, and users need to take no action.

若要利用应用配置策略,应用开发人员必须在创建企业应用配置时公开了配置。To utilize app configuration policies, the app developer must have exposed enterprise app configurations when they created it. 例如,Google Chrome 公开了使你可以设置默认书签、允许和拒绝的站点等内容的设置。For example, Google Chrome exposes settings that let you set default bookmarks, allowed and denied sites, and more. 请与应用的开发人员联系,以了解是否支持这些设置以及如何在策略中指定它们。Contact the developer of the app to see if these settings are supported and how to specify them in the policy.

对其部署应用配置策略的用户应与对其部署要配置的应用的用户相同。You deploy the app configuration policy to the same users to whom you have deployed the app you want to configure. 运行应用时使用应用设置。App settings are applied when the app is run.

配置移动应用配置策略Configure a mobile app configuration policy

  1. Microsoft Intune 管理控制台,选择“策略”>“概述”>“添加策略”。In the Microsoft Intune administration console, choose Policy > Overview > Add Policy.

  2. 在策略列表中,展开“Android for Work”,选择“移动应用配置策略(Android for Work)”,然后选择“创建策略”。In the list of policies, expand Android for Work, choose Mobile App Configuration Policy (Android for Work), and then choose Create Policy.

    提示

    你只能配置此策略类型的自定义设置。You can configure only custom settings for this policy type. 建议的设置不可用。Recommended settings are not available.

  3. 在“创建策略”页的“常规”部分中,输入移动应用配置策略的名称和可选描述。In the General section of the Create Policy page, supply a name and an optional description for the mobile app configuration policy.

  4. 在该页的“移动应用配置策略”部分中,指定以下信息:In the Mobile App Configuration Policy section of the page, specify the following information:

    • 此配置适用的应用程序的包 ID - 包 ID 可以在 Google Play 页上应用 URL 的“id=”中找到。Package ID for the application that this configuration applies to - The package ID can be found in the 'id=' section of the app URL on it's Google Play page. 例如,Microsoft Excel 应用的包 ID 是 com.microsoft.office.excelFor example, the package ID for the Microsoft Excel app is com.microsoft.office.excel.
    • 在文本框中,为要配置的应用设置输入数据。In the text box, enter the data for the app settings you want to configure. 可从应用的供应商处获取这些设置。You get these settings from the supplier of the app. 并非所有应用都支持这些设置。Not all apps support these settings.
  5. 单击“验证”,以确保所输入的数据的属性列表格式有效。Click Validate to ensure that the data that you entered is in a valid property list format.

    重要

    单击“验证”后,Intune 会检查所输入的配置数据的格式是否有效。When you click Validate, Intune checks that the configuration data you entered is in a valid format. 它不会检查这些数据是否会与其关联的应用共同发挥作用。It does not check that the data will work with the app that it is associated with.

  6. 完成后,单击“保存策略”When you are done, click Save Policy.

新策略显示在“配置策略”节点中。The new policy is displayed in the Configuration Policies node.

部署应用配置策略Deploy the app configuration policy

创建移动应用配置策略之后,必须将其部署给向其部署这些设置所适用于的应用的相同用户。After you have created a mobile app configuration policy, you must deploy it to the same users to whom you deploy the app to which the settings will apply.

有关有关如何部署策略的信息,请参阅部署配置策略For information about how to deploy policies, see deploy a configuration policy

有关如何将应用部署到 Android for Work 设备的信息,请参阅如何使用 Intune 部署 Android for Work 应用For information about how to deploy apps to Android for Work devices, see How to deploy Android for Work apps with Intune.

当部署的应用在设备上运行时,将使用你在移动应用配置策略中配置的设置运行。When the deployed app is run on a device, it will run with the settings that you configured in the mobile app configuration policy.

提示

对于每个应用,只能将一个应用配置策略部署给用户。Only deploy one app configuration policy for each app to a user.

要提交产品反馈,请访问 Intune Feedback