You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何获取从移动设备访问M365应用的用户访问报告?

统计M365应用移动设备访问用户数的实现方案

一、通过M365 Admin Center实现

  • 进入M365管理中心,导航到报表 > 使用情况
  • 在“使用情况”页面,选择对应应用的报表:
    • SharePoint:打开“SharePoint 活动”报表,通过“访问设备类型”筛选移动设备,统计唯一用户数量
    • Teams:查看“Teams 设备使用情况”或“Teams 用户活动”报表,提取移动设备访问的用户数
    • Planner:在“Planner 活动”报表中,筛选设备类型维度,统计移动访问的用户数
  • 所有报表支持导出为Excel格式,方便后续整理汇总

二、通过PowerShell脚本实现

使用Microsoft Graph PowerShell模块可以批量获取并统计数据,步骤如下:

  1. 安装并连接模块:
Install-Module Microsoft.Graph.Reports -Force
Connect-MgGraph -Scopes Reports.Read.All
  1. 各应用移动访问用户统计示例:
  • SharePoint移动访问用户数:
$spReport = Get-MgReportSharePointSiteUsageUserDetail -Period D7
$mobileSPUsers = $spReport | Where-Object { $_.DeviceOS -match 'iOS|Android|Mobile' } | Select-Object -Unique UserPrincipalName
Write-Host "SharePoint移动访问用户数:$($mobileSPUsers.Count)"
  • Teams移动访问用户数:
$teamsReport = Get-MgReportTeamsUserActivityUserDetail -Period D7
$mobileTeamsUsers = $teamsReport | Where-Object { $_.MobileCalls -gt 0 -or $_.MobileMessages -gt 0 } | Select-Object -Unique UserPrincipalName
Write-Host "Teams移动访问用户数:$($mobileTeamsUsers.Count)"
  • Planner移动访问用户数:
$plannerReport = Get-MgReportPlannerUserActivityUserDetail -Period D7
$mobilePlannerUsers = $plannerReport | Where-Object { $_.DeviceOS -match 'iOS|Android|Mobile' } | Select-Object -Unique UserPrincipalName
Write-Host "Planner移动访问用户数:$($mobilePlannerUsers.Count)"
  • 可根据需求调整时间周期(支持D7、D30、D90等参数),也可合并多个应用的统计结果生成统一报告

内容的提问来源于stack exchange,提问作者SBP

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.03 18:39:59