使用 Microsoft Intune 配置移动应用Configure mobile apps with Microsoft Intune

Microsoft Intune 使组织可以管理设备和应用程序。Microsoft Intune enables organizations to manage devices and applications. iOS 版和 Android 版 Power BI 移动应用与 Intune 集成。The Power BI mobile applications for iOS and Android integrate with Intune. 借助此集成,用户可以管理设备上的应用,并控制安全性。This integration enables you to manage the application on your devices, and to control security. 通过配置策略,可以控制各项配置,如要求提供访问 PIN、应用如何处理数据,甚至包括在无法使用应用时加密应用数据。Through configuration policies, you can control items like requiring an access pin, how data is handled by the application, and even encrypting application data when the app is not in use.

常规移动设备管理配置General mobile device management configuration

本文假定 Intune 配置正确,并且你向 Intune 注册了设备。This article assumes that Intune is configured properly and you have devices enrolled with Intune. 本文并是完整的 Microsoft Intune 配置指南。The article is not meant as a full configuration guide for Microsoft Intune. 若要详细了解 Intune,请参阅什么是 Intune?For more information on Intune, see What is Intune?.

Microsoft Intune 可以在 Microsoft 365 中与移动设备管理 (MDM) 共存。Microsoft Intune can co-exist with Mobile Device Management (MDM) within Microsoft 365. 如果使用的是 MDM,设备显示已在 MDM 中注册,但可供在 Intune 中管理。If you're using MDM, the device will show enrolled within MDM, but is available to manage within Intune.

备注

当你配置 Intune 后,iOS 或 Android 设备上的 Power BI 移动应用便会禁用后台数据刷新。After you configure Intune, background data refresh is turned off for the Power BI mobile app on your iOS or Android device. Power BI 在你进入应用时刷新 Power BI 服务网页版中的数据。Power BI refreshes the data from the Power BI service on the web when you enter the app.

步骤 1:获取应用程序的 URLStep 1: Get the URL for the application

必须先获取应用 URL,然后才能在 Intune 中创建应用。Before we create the application within Intune, we need to get the URLs for the apps. 对于 iOS,我们会从 iTunes 收到此 url。For iOS, we will get this from iTunes. 对于 Android,可以从 Power BI 移动页面获取它。For Android, you can get it from the Power BI mobile page.

请保存 URL,因为稍后创建应用时会用到它。Save the URL, as you will need it when we create the application.

获取 iOS URLGet iOS URL

若要获取 iOS 版应用 URL,需要从 iTunes 中获取它。To get the app URL for iOS, we will need to get it from iTunes.

  1. 打开 iTunes。Open iTunes.

  2. 搜索 Power BI。Search for Power BI.

  3. 你应看到在 iPhone 应用iPad 应用下列出了 Microsoft Power BIYou should see Microsoft Power BI listed under iPhone Apps and iPad Apps. 两个选项都可以使用,因为获取的 URL 是相同的。You can use either, as you will get the same URL.

  4. 选择获取下拉列表,然后选择复制链接Select the Get drop down and select Copy Link.

    iTunes 中的应用 URL

应用 URL 如下所示: https://itunes.apple.com/us/app/microsoft-power-bi/id929738808?mt=8。It should look similar to the following: https://itunes.apple.com/us/app/microsoft-power-bi/id929738808?mt=8.

获取 Android URLGet Android URL

可以从 Power BI 移动页获取 Google Play URL。You can get the URL to Google Play from the Power BI mobile page. 选择“从 Google Play 下载”即可转到应用页。Select Download from Google Play to take you to the app page. 可以从浏览器地址栏复制 URL。You can copy the URL from the browser address bar. 应用 URL 如下所示: https://play.google.com/store/apps/details?id=com.microsoft.powerbim。It should look similar to the following: https://play.google.com/store/apps/details?id=com.microsoft.powerbim.

步骤 2:创建移动应用程序管理策略Step 2: Create a mobile application management policy

移动应用程序管理策略使你可以强制实施访问 PIN 这类项目。The mobile application management policy allows you to enforce items like an access pin. 可以在 Intune 门户中创建策略。You can create one within the Intune portal.

可以先创建应用程序或策略。You can create the application, or the policy first. 添加它们的顺序并不重要。The order in which they are added doesn't matter. 它们只需在部署步骤中同时存在。They will just need to both exist for the deploy step.

  1. 在 Intune 门户中,依次选择“策略” > “配置策略”。In the Intune portal, select Policy > Configuration Policies.

    Intune 门户

  2. 选择添加…Select Add....

  3. 软件下,可以为 Android 或 iOS 选择移动应用程序管理。Under Software you can select Mobile Application Management for either Android or iOS. 若要快速开始,可以选择创建带有推荐设置的策略,也可以创建自定义策略。To get started quickly, you can select Create a policy with the recommended settings, or you can create a custom policy.

  4. 编辑策略以对应用程序配置所需限制。Edit the policy to configure the restrictions you want on the application.

步骤 3:创建应用程序Step 3: Create the application

应用程序是保存到 Intune 中以进行部署的引用或包。The application is a reference, or package, that is saved into Intune for deployment. 我们需要创建应用,并引用从 Google Play 或 iTunes 获取的应用 URL。We will need to create an application and reference the app URL that we got from either Google Play or iTunes.

可以先创建应用程序或策略。You can create the application, or the policy first. 添加它们的顺序并不重要。The order in which they are added doesn't matter. 它们只需在部署步骤中同时存在。They will just need to both exist for the deploy step.

  1. 转到 Intune 门户,然后从左侧菜单中选择应用Go to the Intune portal and select Apps from the left menu.

  2. 选择添加应用Select Add App. 这会启动添加软件应用程序。This will launch the Add Software application.

创建 iOS 版应用Create for iOS

  1. 从下拉菜单中选择来自应用程序商店的托管 iOS 应用程序Select Managed iOS App from the App Store from the drop down.

  2. 输入从第 1 步中获取的应用 URL,再选择“下一步”。Enter the app URL, that we got from Step 1, and select Next.

    软件安装:iOS

  3. 提供发布者名称说明Provide a Publisher, Name and Description. 你可以根据需要提供图标You can optionally provide an Icon. 类别用于公司门户应用。The Category is for the Company Portal app. 完成之后,可选择下一步Once you are done, select Next.

  4. 可以决定是要将应用作为任何(默认值)、iPad 还是 iPhone进行发布。You can decide if you want the publish the app as Any (default), iPad or iPhone. 默认情况下,它会显示任何,并且会同时适用于这两种设备类型。By default it will show Any and will work for both device types. 对于 iPhone 和 iPad,Power BI 应用 URL 是相同的。The Power BI app is the same URL for both iPhone and iPad. 选择“下一步”。Select Next.

  5. 选择上载Select Upload.

  6. 如果列表中没有列出此应用,请刷新页面:转到“概述”,然后返回到“应用”。If you don't see the app in the list, refresh the page: Go to Overview then back to Apps.

    “应用”选项卡

创建 Android 版应用Create for Android

  1. 从下拉菜单中选择外部链接Select External Link from the drop down.

  2. 输入从第 1 步中获取的应用 URL,再选择“下一步”。Enter the app URL, that we got from Step 1, and select Next.

    软件安装程序:Android

  3. 提供发布者名称说明Provide a Publisher, Name and Description. 你可以根据需要提供图标You can optionally provide an Icon. 类别用于公司门户应用。The Category is for the Company Portal app. 完成之后,可选择下一步Once you are done, select Next.

  4. 选择上载Select Upload.

  5. 如果列表中没有列出此应用,请刷新页面:转到“概述”,然后返回到“应用”。If you don't see the app in the list, refresh the page: Go to Overview then back to Apps.

    “应用”选项卡

步骤 4:部署应用程序Step 4: Deploy the application

添加应用程序之后,你需要部署它,以便它可供最终用户使用。After you have added the application, you will need to deploy it so that it is available to your end users. 这是将创建的策略与应用绑定的步骤。This is the step where you will bind the policy you created with the app.

部署 iOS 版应用Deploy for iOS

  1. 在应用屏幕上,选择创建的应用。On the apps screen, select the app you created. 然后选择管理部署... 链接。Then select the Manage Deployment... link.

    管理部署

  2. 选择组屏幕上,可以选择你要将此应用部署到的组。In the Select Groups screen, you can choose which groups you want to deploy this app to. 选择“下一步”。Select Next.

  3. 部署操作屏幕上,可以选择要如何部署此应用。In the Deployment Action screen, you can choose how you want to deploy this app. 选择可用安装所需的安装会使应用在公司门户中可供用户按需安装。Selecting Available Install, or Required Install, will make the app available in the Company Portal for users to install on-demand. 进行选择之后,选择下一步After you are done making your selection, select Next.

    部署操作

  4. 移动应用程序管理屏幕上,可以选择我们在步骤 2 中创建的移动应用管理策略。In the Mobile App Management screen, you can select the Mobile App Management policy that we created in Step 2. 它会默认为你创建的策略(如果这是唯一可用的 iOS 策略)。It will default to the policy you made, if that is the only iOS policy available. 选择“下一步”。Select Next.

    移动应用管理

  5. VPN 配置文件屏幕上,可以选择策略(如果你具有用于组织的策略)。In the VPN Profile screen, you can select a policy if you have one for your organization. 它会默认为It defaults to None. 选择“下一步”。Select Next.

  6. 移动应用程序配置屏幕上,可以选择应用程序配置策略(如果你创建了一个)。In the Mobile App Configuration screen, you can select an App Configuration Policy if you created one. 它会默认为It defaults to None. 这不是必需的。This is not required. 选择完成Select Finish.

部署应用之后,应在应用页面上对已部署显示After you have deployed the app, it should show Yes for deployed, in the apps page.

部署 Android 版应用Deploy for Android

  1. 在应用屏幕上,选择创建的应用。On the apps screen, select the app you created. 然后选择管理部署... 链接。Then select the Manage Deployment... link.

    管理部署

  2. 选择组屏幕上,可以选择你要将此应用部署到的组。In the Select Groups screen, you can choose which groups you want to deploy this app to. 选择“下一步”。Select Next.

  3. 部署操作屏幕上,可以选择要如何部署此应用。In the Deployment Action screen, you can choose how you want to deploy this app. 选择可用安装所需的安装会使应用在公司门户中可供用户按需安装。Selecting Available Install, or Required Install, will make the app available in the Company Portal for users to install on-demand. 进行选择之后,选择下一步After you are done making your selection, select Next.

    部署操作

  4. 移动应用程序管理屏幕上,可以选择我们在步骤 2 中创建的移动应用管理策略。In the Mobile App Management screen, you can select the Mobile App Management policy that we created in Step 2. 它会默认为你创建的策略(如果这是唯一可用的 Android 策略)。It will default to the policy you made, if that is the only Android policy available. 选择完成Select Finish.

    移动应用管理

部署应用之后,应在应用页面上对已部署显示After you have deployed the app, it should show Yes for deployed, in the apps page.

步骤 5:在设备上安装应用程序Step 5: Install the application on a device

通过“公司门户”应用安装应用。You install the application through the Company Portal app. 如果你尚未安装公司门户,则可以通过 iOS 平台上的 App Store 或 Android 平台上的应用商店获取它。If you haven't installed the Company Portal, you can get it through the app store on either iOS or Android platforms. 你会使用组织登录名登录公司门户。You will sign into the Company Portal with your organizational login.

  1. 打开公司门户应用。Open the Company Portal app.

  2. 如果看不到 Power BI 应用列为特色应用,请选择公司应用If you don't see the Power BI app listed as a featured app, select Company Apps.

    公司应用

  3. 选择部署的 Power BI 应用。Select the Power BI app that you deployed.

    Power BI 应用

  4. 选择“安装”。Select Install.

    安装应用

  5. 如果你在使用 iOS,则它会将应用推送给你。If you are on iOS, it will push the app to you. 在推送对话框中选择安装Select Install on the push dialog.

    应用安装

  6. 安装应用后,便会看到“应用由公司管理”。After the app is installed, you will see that it is Managed by your company. 如果在策略中启用了使用 PIN 进行的访问,则你会看到以下内容。If you enabled access with a pin, in the policy, you will see the following.

    输入 PIN

后续步骤Next steps

在 Microsoft Intune 控制台中配置和部署移动应用程序管理策略Configure and deploy mobile application management policies in the Microsoft Intune console

适用于移动设备的 Power BI 应用Power BI apps for mobile devices

更多问题?More questions? 尝试咨询 Power BI 社区Try asking the Power BI Community