Microsoft Intune 和 Intune for Education 可以配置 Windows 的隐私设置。 本文总结了最常用于学生和教师设备的配置。
重要
本文中的设置配置用户隐私。 这些设置应仅在仔细考虑后部署。
若要了解详细信息,请参阅使用 设置目录在 Windows、iOS/iPadOS 和 macOS 设备上配置设置
提示
在 Microsoft Intune 管理中心创建设置目录配置文件时,可以复制本文中的策略名称并将其粘贴到设置选取器搜索字段中,以查找所需的策略。
|
类别 |
名称 |
值 |
注意 |
云解决方案提供商 |
| 隐私 |
Let Apps Access Location |
强制允许。 |
允许 Windows 应用访问位置。 可以通过指定包系列名称为所有应用指定默认设置或每个应用设置。 可使用 Get-AppPackage Windows PowerShell cmdlet 获取应用的包系列名称。 按应用的设置将覆盖默认设置。 |
Privacy/LetAppsAccessLocation |
| 系统警报 |
Allow Location |
强制定位开启。 所有位置隐私设置都已打开并灰显。用户无法更改设置,系统将自动取消所有同意许可权限。 |
需要在 Intune 中调用 Windows 设备上的“定位设备”操作。 |
System/AllowLocation |
使用 Graph 在租户中创建设置目录策略,无需分配或范围标记。
这将在租户中创建名为 _MSLearn_Example_CommonEDU - Windows - Privacy的策略。
POST https://graph.microsoft.com/beta/deviceManagement/configurationPolicies
Content-Type: application/json
{"name":"_MSLearn_Example_CommonEDU - Windows - Privacy","description":"https://aka.ms/ManageEduDevices","platforms":"windows10","technologies":"mdm","roleScopeTagIds":["0"],"settings":[{"@odata.type":"#microsoft.graph.deviceManagementConfigurationSetting","settingInstance":{"@odata.type":"#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance","settingDefinitionId":"device_vendor_msft_policy_config_privacy_letappsaccesslocation","choiceSettingValue":{"@odata.type":"#microsoft.graph.deviceManagementConfigurationChoiceSettingValue","value":"device_vendor_msft_policy_config_privacy_letappsaccesslocation_1","children":[]}}},{"@odata.type":"#microsoft.graph.deviceManagementConfigurationSetting","settingInstance":{"@odata.type":"#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance","settingDefinitionId":"device_vendor_msft_policy_config_system_allowlocation","choiceSettingValue":{"@odata.type":"#microsoft.graph.deviceManagementConfigurationChoiceSettingValue","value":"device_vendor_msft_policy_config_system_allowlocation_2","children":[]}}}]}
单击“ 试用 ”打开 Graph 浏览器。
打开 Graph 浏览器后,选择
右上角的用户图标进行登录,然后使用 Intune 管理员组织帐户登录。
单击 “运行查询” 以在租户中创建策略。
提示
如果这是第一次使用 Graph 浏览器,可能需要授权应用程序访问租户或修改现有权限。 此 Graph 调用需要 DeviceManagementConfiguration.ReadWrite.All 权限。 可以通过选择 “修改”权限 ,然后选择“ 同意”来授予所需的权限。
策略是在租户中创建的,可以在分配给组之前编辑策略以满足你的要求。
注意
自 2025 年 7 月 31 日起,Microsoft Graph 将以下 API 调用的使用 DeviceManagementScripts.ReadWrite.All 替换了 DeviceManagementConfiguration.ReadWrite.All 权限:
- ~/deviceManagement/deviceShellScripts
- ~/deviceManagement/deviceHealthScripts
- ~/deviceManagement/deviceComplianceScripts
- ~/deviceManagement/deviceCustomAttributeShellScripts
- ~/deviceManagement/deviceManagementScripts