Skip to content

Commit 1b6ab60

Browse files
committed
add Related Links and CommonParameters
add Related Links and CommonParameters to the cmdlet docs.
1 parent 1e5d7f6 commit 1b6ab60

File tree

2 files changed

+46
-23
lines changed

2 files changed

+46
-23
lines changed

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

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ external help file: sharepointonline.xml
33
Module Name: Microsoft.Online.SharePoint.PowerShell
44
online version:
55
applicable: SharePoint Online
6-
title: Start-SPOEnterpriseAppInsightsReport
7-
schema:
6+
title: Get-SPOEnterpriseAppInsightsReport
7+
schema: 2.0.0
88
author: sumikumar
99
ms.author: sumikumar
1010
ms.reviewer:
@@ -15,17 +15,25 @@ manager: hikakar
1515

1616
## SYNOPSIS
1717

18-
This cmdlet enables the admin to check status of all active & available reports when no report ID is present and to View a Report if report ID is present.
18+
This cmdlet enables the admin to check status of all active and available reports when no report ID is present and to View a Report if report ID is present.
1919

2020
## SYNTAX
2121

2222
```powershell
23-
Get-SPOEnterpriseAppInsightsReport [-ReportId<Guid>] [-Action<enum>]
23+
Get-SPOEnterpriseAppInsightsReport [-ReportId <Guid>] [-Action <enum>]
2424
```
2525

2626
## Description
2727

28-
After this cmdlet is executed, the report of last N days will be displayed with the following properties:
28+
If this cmdlet is executed without any parameters, it displays the status of all active and completed reports (adhering to any retention timeline as per DAG) with the following properties:
29+
| Property | Description |
30+
| :------------------- | :--------------------------------------- |
31+
| Id | The unique Id of the report. |
32+
| CreatedDateTimeInUtc | The Date and Time the report creation was triggered in UTC. |
33+
| Status | The Status of the report. |
34+
| ReportPeriodInDays | The report duration in days. |
35+
36+
If this cmdlet is executed with `-ReportId` as parameter, the top 100 records of the report from the last N days will be displayed with the following properties:
2937
| Property | Description |
3038
| :------------------- | :--------------------------------------- |
3139
| SiteName | The name of the SharePoint Site. |
@@ -34,6 +42,8 @@ After this cmdlet is executed, the report of last N days will be displayed with
3442
| AppID | The AppID of the 3P App. |
3543
| AppPermissions| The Permissions granted to the 3P App. |
3644
| RequestVoulme | The number of times the 3P accessed the given SharePoint Site. |
45+
46+
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.
3747

3848
## Example
3949

@@ -43,23 +53,23 @@ After this cmdlet is executed, the report of last N days will be displayed with
4353
Get-SPOEnterpriseAppInsightsReport
4454
```
4555

46-
Example 1 enables admin to view latest reportID and corresponding status for each duration and adhering to any retention timeline as per DAG.
56+
Example 1 enables admin to view the status of all active and completed reports (adhering to any retention timeline as per DAG).
4757

4858
### -----------------------EXAMPLE 2-----------------------------
4959

5060
```powershell
51-
Get-SPOEnterpriseAppInsightsReport – ReportId 9d946216-afe7-49f5-8267-7b662435c70b
61+
Get-SPOEnterpriseAppInsightsReport –ReportId 9d946216-afe7-49f5-8267-7b662435c70b
5262
```
5363

54-
Example 2 enables admin to view the app insights report of ReportId: 9d946216-afe7-49f5-8267-7b662435c70b
64+
Example 2 enables admin to view the Enterprise Application Insights report of ReportId: `9d946216-afe7-49f5-8267-7b662435c70b`
5565

5666
### -----------------------EXAMPLE 3-----------------------------
5767

5868
```powershell
5969
Get-SPOEnterpriseAppInsightsReport – ReportId 9d946216-afe7-49f5-8267-7b662435c70b -Action Download
6070
```
6171

62-
Example 3 enables admin to download the app insights report of ReportId: 9d946216-afe7-49f5-8267-7b662435c70b
72+
Example 3 enables admin to download the Enterprise Application Insights report of ReportId: `9d946216-afe7-49f5-8267-7b662435c70b`.
6373

6474
## PARAMETERS
6575

@@ -73,7 +83,7 @@ Parameter Sets: (All)
7383
Aliases:
7484
Applicable: SharePoint Online
7585

76-
Required: True
86+
Required: False
7787
Position: Named
7888
Default value: None
7989
Accept pipeline input: False
@@ -90,7 +100,7 @@ Parameter Sets: (All)
90100
Aliases:
91101
Applicable: SharePoint Online
92102

93-
Required: True
103+
Required: False
94104
Position: Named
95105
Default value: None
96106
Accept pipeline input: False
@@ -99,4 +109,10 @@ Accept wildcard characters: False
99109
100110
## CommonParameters
101111
112+
This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
113+
102114
## Related Links
115+
116+
[Get started with SharePoint Online Management Shell](https://learn.microsoft.com/en-us/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
117+
118+
[Start-SPOEnterpriseAppInsightsReport](https://learn.microsoft.com/en-us/powershell/sharepoint/sharepoint-online/start-spoenterpriseappinsightsreport)

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

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Module Name: Microsoft.Online.SharePoint.PowerShell
44
online version:
55
applicable: SharePoint Online
66
title: Start-SPOEnterpriseAppInsightsReport
7-
schema:
7+
schema: 2.0.0
88
author: sumikumar
99
ms.author: sumikumar
1010
ms.reviewer:
@@ -15,17 +15,17 @@ manager: hikakar
1515

1616
## SYNOPSIS
1717

18-
This cmdlet enables admin to trigger the build of a new third party application insights report for the last N days.
18+
This cmdlet enables admin to trigger the build of a new Enterprise Application Insights report for the last N days.
1919

2020
## SYNTAX
2121

2222
```powershell
23-
Start-SPOEnterpriseAppInsightsReport [-Force<SwitchParameter>] [-ReportPeriodInDays <Int>]
23+
Start-SPOEnterpriseAppInsightsReport [-Force <SwitchParameter>] [-ReportPeriodInDays <Int>]
2424
```
2525

2626
## Description
2727

28-
After this cmdlet is executed, the 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 Enterprise Application Insights report generation request for the last N days gets queued in the pipeline and the below metadata is displayed with the following properties:
2929
| Property | Description |
3030
| :------------------- | :--------------------------------------- |
3131
| Id | The unique Id of the report. |
@@ -41,26 +41,28 @@ After this cmdlet is executed, the report generation request for the last N days
4141
Start-SPOEnterpriseAppInsightsReport
4242
```
4343

44-
Example 1 generates the report for a default duration of 1 day as the parameter ```–ReportPeriodInDays``` is not provided.
44+
Example 1 generates the Enterprise Application Insights report for a default duration of 1 day as the parameter `–ReportPeriodInDays` is not provided.
4545

4646
### -----------------------EXAMPLE 2-----------------------------
4747

4848
```powershell
4949
Start-SPOEnterpriseAppInsightsReport –ReportPeriodInDays 14
5050
```
51-
Example 2 generates the report for a specified duration of 14 days.
51+
Example 2 generates the Enterprise Application Insights report for a specified duration of 14 days.
5252

5353
## PARAMETERS
5454

5555
### -Force
5656

57+
It is an optional parameter which is used to bypass confirmation prompts and execute the command without interruptions.
58+
5759
```yaml
5860
Type: SwitchParameter
5961
Parameter Sets: (All)
60-
Aliases:
62+
Aliases:
6163
Applicable: SharePoint Online
6264

63-
Required: True
65+
Required: False
6466
Position: Named
6567
Default value: None
6668
Accept pipeline input: False
@@ -69,16 +71,15 @@ Accept wildcard characters: False
6971
7072
### -ReportPeriodInDays
7173
72-
It is an optional parameter, and it specifies the duration of the report in days.
73-
The possible values of ReportPeriodInDays are: 1,7, 14, 28.
74+
It is an optional parameter, and it specifies the duration of the Enterprise Application 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.
7475
75-
```yaml
76+
```yaml
7677
Type: Int
7778
Parameter Sets: (All)
7879
Aliases:
7980
Applicable: SharePoint Online
8081

81-
Required: True
82+
Required: False
8283
Position: Named
8384
Default value: None
8485
Accept pipeline input: False
@@ -87,4 +88,10 @@ Accept wildcard characters: False
8788
8889
## CommonParameters
8990
91+
This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
92+
9093
## Related Links
94+
95+
[Get started with SharePoint Online Management Shell](https://learn.microsoft.com/en-us/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
96+
97+
[Get-SPOEnterpriseAppInsightsReport](https://learn.microsoft.com/en-us/powershell/sharepoint/sharepoint-online/get-spoenterpriseappinsightsreport)

0 commit comments

Comments
 (0)