@@ -15,10 +15,13 @@ class ReportRoot extends Entity
1515
1616 /**
1717 * @param $name string
18+ * @param $period string
1819 * @return ClientResult
1920 */
20- private function addReportQuery ($ name ){
21+ private function addReportQuery ($ name, $ period = null ){
2122 $ qry = new InvokeMethodQuery ($ this , $ name );
23+ if (!is_null ($ period ))
24+ $ qry ->MethodParameters = array ("period " => $ period );
2225 $ this ->getContext ()->getPendingRequest ()->beforeExecuteRequestOnce (function (RequestOptions $ request ){
2326 $ request ->FollowLocation = true ;
2427 });
@@ -51,4 +54,75 @@ function getOffice365ActivationCounts(){
5154 function getOffice365ActivationsUserCounts (){
5255 return $ this ->addReportQuery ("getOffice365ActivationsUserCounts " );
5356 }
57+
58+
59+ /**
60+ * Get details about Microsoft 365 active users.
61+ * @return ClientResult
62+ */
63+ function getOffice365ActiveUserDetail ($ period ){
64+ return $ this ->addReportQuery ("getOffice365ActiveUserDetail " ,$ period );
65+ }
66+
67+
68+ /**
69+ * Get the count of daily active users in the reporting period by product.
70+ * @return ClientResult
71+ */
72+ function getOffice365ActiveUserCounts ($ period ){
73+ return $ this ->addReportQuery ("getOffice365ActiveUserCounts " ,$ period );
74+ }
75+
76+
77+ /**
78+ * Get the count of users by activity type and service.
79+ * @return ClientResult
80+ */
81+ function getOffice365ServicesUserCounts ($ period ){
82+ return $ this ->addReportQuery ("getOffice365ServicesUserCounts " ,$ period );
83+ }
84+
85+ /**
86+ * Get details about Microsoft 365 groups activity by group.
87+ * @return ClientResult
88+ */
89+ function getOffice365GroupsActivityDetail ($ period ){
90+ return $ this ->addReportQuery ("getOffice365GroupsActivityDetail " ,$ period );
91+ }
92+
93+ /**
94+ * Get the number of group activities across group workloads.
95+ * @return ClientResult
96+ */
97+ function getOffice365GroupsActivityCounts ($ period ){
98+ return $ this ->addReportQuery ("getOffice365GroupsActivityCounts " ,$ period );
99+ }
100+
101+ /**
102+ * Get the daily total number of groups and how many of them were active based on email conversations,
103+ * Yammer posts, and SharePoint file activities.
104+ * @return ClientResult
105+ */
106+ function getOffice365GroupsActivityGroupCounts ($ period ){
107+ return $ this ->addReportQuery ("getOffice365GroupsActivityGroupCounts " ,$ period );
108+ }
109+
110+ /**
111+ * Get the total storage used across all group mailboxes and group sites.
112+ * @return ClientResult
113+ */
114+ function getOffice365GroupsActivityStorage ($ period ){
115+ return $ this ->addReportQuery ("getOffice365GroupsActivityStorage " ,$ period );
116+ }
117+
118+ /**
119+ * Get the total number of files and how many of them were active across all group sites associated with
120+ * a Microsoft 365 group.
121+ * @return ClientResult
122+ */
123+ function getOffice365GroupsActivityFileCounts ($ period ){
124+ return $ this ->addReportQuery ("getOffice365GroupsActivityFileCounts " ,$ period );
125+ }
126+
127+
54128}
0 commit comments