Skip to content

Commit d68ffa8

Browse files
committed
resolve comments
1 parent ec78d61 commit d68ffa8

File tree

2 files changed

+53
-55
lines changed

2 files changed

+53
-55
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOCopilotAgentInsightsReport.md

Lines changed: 42 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ manager: hikakar
1515

1616
## SYNOPSIS
1717

18-
18+
This cmdlet enables the administrator to check status of all active and available reports when no report ID is present and to view or download a report if report ID is present.
1919

2020
## SYNTAX
2121

@@ -34,44 +34,6 @@ If this cmdlet is executed without any parameters, it displays the status of all
3434
| Status | The status of the report. |
3535
| ReportPeriodInDays | The report duration in days. |
3636

37-
If this cmdlet is executed with `-ReportId` as parameter and `-Content` as `CopilotAgentsOnSites`, a report with list of all sites on which a Copilot agent is created along with the names of the Copilot agent created in last N days will be displayed with the following properties:
38-
39-
| Property | Description |
40-
|:------------------------|:---------------------------------------------------------|
41-
| Site name | The name of the SharePoint site. |
42-
| URL | The URL of the SharePoint site. |
43-
| Template | The Site template of the SharePoint site. |
44-
| Site owner | Name of the owner of the SharePoint site. |
45-
| Copilot name | Name of Copilot agent on the SharePoint site. |
46-
| Sensitivity | The sensitivity label of the SharePoint site. |
47-
| Restrict site access | RAC status (Yes/No) of the SharePoint site. |
48-
| Restrict site discovery | RCD status (Yes/No) of the SharePoint site. |
49-
| External sharing | External Sharing status (Yes/No) of the SharePoint site. |
50-
51-
If this cmdlet is executed with `-ReportId` as parameter and `-Content` as `TopSites`, the top 100 records summarizing the number of Copilot Agents on sites created in last N days will be displayed with the following properties:
52-
53-
| Property | Description |
54-
|:------------------------|:---------------------------------------------------------|
55-
| Site name | The name of the SharePoint site. |
56-
| URL | The URL of the SharePoint site. |
57-
| Template | The Site template of the SharePoint site. |
58-
| Site owner | Name of the owner of the SharePoint site. |
59-
| Copilot agents | Number of Copilot agents on the SharePoint site. |
60-
| Sensitivity | The sensitivity label of the SharePoint site. |
61-
| Restrict site access | RAC status (Yes/No) of the SharePoint site. |
62-
| Restrict site discovery | RCD status (Yes/No) of the SharePoint site. |
63-
| External sharing | External Sharing status (Yes/No) of the SharePoint site. |
64-
65-
If this cmdlet is executed with `-ReportId` as parameter and `-Content` as `SiteDistribution`, a report showing Copilot distribution across sites in last N days will be displayed with the following properties:
66-
67-
| Property | Description |
68-
|:---------------|:---------------------------------------------------------------------------------------------|
69-
| Site template | The Site template of the SharePoint site. |
70-
| Sites | Number of sites corresponding to that particular site template. |
71-
| Copilot agents | Name of Copilot agent on the SharePoint site corresponding to that particular site template. |
72-
73-
If this cmdlet is executed with both the parameters, i.e. `-ReportId` and `-Action`, and if the value of `-Action` is set as `View`, it will display the same result as described above. If the value of `-Action` is set to `Download`, it will download the full report in CSV format to the same path from where the command was run.
74-
7537
> [!NOTE]
7638
> All reports adhere to any retention timeline as per [Data Access Governance](/sharepoint/data-access-governance-reports).
7739
@@ -91,21 +53,21 @@ Example 1 enables administrator to view the status of all active and completed r
9153
Get-SPOCopilotAgentInsightsReport –ReportId 9d946216-afe7-49f5-8267-7b662435c70b
9254
```
9355

94-
Example 2 enables administrator to view the Copilot agent insights report of ReportId: `9d946216-afe7-49f5-8267-7b662435c70b`.
56+
Example 2 enables administrator to view the Copilot agent insight report of ReportId: `9d946216-afe7-49f5-8267-7b662435c70b`.
9557

9658
### -----------------------EXAMPLE 3-----------------------------
9759

9860
```powershell
9961
Get-SPOCopilotAgentInsightsReport – ReportId 9d946216-afe7-49f5-8267-7b662435c70b -Action Download
10062
```
10163

102-
Example 3 enables administrator to download the Copilot agent insights report of ReportId: `9d946216-afe7-49f5-8267-7b662435c70b` to the same path from where the command was run.
64+
Example 3 enables administrator to download the Copilot agent insight report of ReportId: `9d946216-afe7-49f5-8267-7b662435c70b` to the same path from where the command was run.
10365

10466
## PARAMETERS
10567

10668
### -ReportId
10769

108-
It is an optional parameter, and it specifies the unique Id of the report to be viewed or downloaded.
70+
It specifies the unique Id of the report to be viewed or downloaded.
10971

11072
```yaml
11173
Type: Guid
@@ -122,7 +84,43 @@ Accept wildcard characters: False
12284
12385
### -Content
12486
125-
It is an optional parameter, and it specifies the kind of report to view or download. There are 3 kinds of sub-reports: CopilotAgentsOnSites, TopSites, SiteDistribution.
87+
It specifies the kind of report to view or download. There are 3 kinds of sub-reports: CopilotAgentsOnSites, TopSites, SiteDistribution.
88+
89+
If this cmdlet is executed with `-Content` as `CopilotAgentsOnSites`, a report with list of all sites on which a Copilot agent is created along with the names of the Copilot agent created in the specified number of days will be displayed with the following properties:
90+
91+
| Property | Description |
92+
|:------------------------|:---------------------------------------------------------|
93+
| Site name | The name of the SharePoint site. |
94+
| URL | The URL of the SharePoint site. |
95+
| Template | The Site template of the SharePoint site. |
96+
| Site owner | Name of the owner of the SharePoint site. |
97+
| Copilot name | Name of Copilot agent on the SharePoint site. |
98+
| Sensitivity | The sensitivity label of the SharePoint site. |
99+
| Restrict site access | RAC status (Yes/No) of the SharePoint site. |
100+
| Restrict site discovery | RCD status (Yes/No) of the SharePoint site. |
101+
| External sharing | External Sharing status (Yes/No) of the SharePoint site. |
102+
103+
If this cmdlet is executed with `-ReportId` as parameter and `-Content` as `TopSites`, the top 100 records summarizing the number of Copilot Agents on sites created in the specified number of days will be displayed with the following properties:
104+
105+
| Property | Description |
106+
|:------------------------|:---------------------------------------------------------|
107+
| Site name | The name of the SharePoint site. |
108+
| URL | The URL of the SharePoint site. |
109+
| Template | The Site template of the SharePoint site. |
110+
| Site owner | Name of the owner of the SharePoint site. |
111+
| Copilot agents | Number of Copilot agents on the SharePoint site. |
112+
| Sensitivity | The sensitivity label of the SharePoint site. |
113+
| Restrict site access | RAC status (Yes/No) of the SharePoint site. |
114+
| Restrict site discovery | RCD status (Yes/No) of the SharePoint site. |
115+
| External sharing | External Sharing status (Yes/No) of the SharePoint site. |
116+
117+
If this cmdlet is executed with `-ReportId` as parameter and `-Content` as `SiteDistribution`, a report showing Copilot distribution across sites in the specified number of days will be displayed with the following properties:
118+
119+
| Property | Description |
120+
|:---------------|:---------------------------------------------------------------------------------------------|
121+
| Site template | The Site template of the SharePoint site. |
122+
| Sites | Number of sites corresponding to that particular site template. |
123+
| Copilot agents | Name of Copilot agent on the SharePoint site corresponding to that particular site template. |
126124

127125
```yaml
128126
Type: SPOCopilotAgentInsightType
@@ -139,7 +137,7 @@ Accept wildcard characters: False
139137

140138
### -Action
141139

142-
It is an optional parameter, and it specifies whether to view or download a specific report.
140+
It determines whether a report would be viewed or downloaded. If the value of `-Action` is set as `View`, it will display the output on the PowerShell screen. Else if the value of `-Action` is set as `Download`, it will download the full report in CSV format to the same path from where the command was run.
143141

144142
```yaml
145143
Type: ActionType

sharepoint/sharepoint-ps/sharepoint-online/Start-SPOCopilotAgentInsightsReport.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ manager: hikakar
1515

1616
## SYNOPSIS
1717

18-
This cmdlet enables administrator to trigger the build of a new Copilot Agent Insight report for the last N days.
18+
Using this commandlet, SPO Administrators may trigger the build of a new Copilot agent insight report for the specified number of days.
1919

2020
## SYNTAX
2121

@@ -25,14 +25,14 @@ Start-SPOCopilotAgentInsightsReport [-ReportPeriodInDays <Int>] [-Force <SwitchP
2525

2626
## DESCRIPTION
2727

28-
After this cmdlet is executed, the Copilot Agent Insight report generation request for the last N days gets queued in the pipeline and the below metadata is displayed with the following properties:
28+
After this cmdlet is executed, the Copilot agent insight report generation request for the specified number of days gets queued in the pipeline and the below metadata is displayed with the following properties:
2929

30-
| Property | Description |
31-
|:---------------------|:------------------------------------------------------------|
32-
| Id | The unique Id of the report. |
33-
| CreatedDateTimeInUtc | The date and time the report creation was triggered in UTC. |
34-
| Status | The status of the report. |
35-
| ReportPeriodInDays | The report duration in days. |
30+
| Property | Description |
31+
|:---------------------|:-----------------------------------------------------------------|
32+
| Id | The unique Id of the report. |
33+
| CreatedDateTimeInUtc | The date and time in UTC when the report creation was triggered. |
34+
| Status | The status of the report. |
35+
| ReportPeriodInDays | The report duration in days. |
3636

3737
## EXAMPLES
3838

@@ -42,21 +42,21 @@ After this cmdlet is executed, the Copilot Agent Insight report generation reque
4242
Start-SPOCopilotAgentInsightsReport
4343
```
4444

45-
Example 1 generates the Copilot agent insights report for a default duration of 1 day as the parameter `–ReportPeriodInDays` is not provided.
45+
Example 1 generates the Copilot agent insight report for a default duration of 1 day as the parameter `–ReportPeriodInDays` is not provided.
4646

4747
### -----------------------EXAMPLE 2-----------------------------
4848

4949
```powershell
5050
Start-SPOCopilotAgentInsightsReport –ReportPeriodInDays 14
5151
```
5252

53-
Example 2 generates the Copilot Agent insights report for a specified duration of 14 days.
53+
Example 2 generates the Copilot agent insight report for a specified duration of 14 days.
5454

5555
## PARAMETERS
5656

5757
### -ReportPeriodInDays
5858

59-
It is an optional parameter, and it specifies the duration of the Copilot Agent insights report in days. The possible values of ReportPeriodInDays are: 1, 7, 14, 28. If this parameter is not provided, it generates the report for a default duration of 1 day.
59+
It specifies the duration of the Copilot agent insight report in days. The possible values of ReportPeriodInDays are: 1, 7, 14, 28. If this parameter is not provided, it generates the report for a default duration of 1 day.
6060

6161
```yaml
6262
Type: Int

0 commit comments

Comments
 (0)