New PS commands for Opt-in feature#854
Conversation
|
Learn Build status updates of commit 48916d9: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
|
||
| ## DESCRIPTION | ||
|
|
||
| SharePoint administrators can generate reports based on activities within the last 28 days such as Sharing link reports, content shared with Everyone except external users etc from SharePoint admin center. These reports require audit data to be collected after approved by SharePoint admin. This command gives the current status of the relevant audit data collection. |
There was a problem hiding this comment.
from Copilot:
SharePoint Administrators can generate reports on activities from the last 28 days, such as sharing link reports and content shared with everyone except external users, from the SharePoint admin center. These reports need audit data, which must be collected after approval by the SharePoint Administrator. This cmdlet shows the current status of the audit data collection. #Closed
There was a problem hiding this comment.
Looks like Teams chat Copilot and Work Copilot are giving different strings for the same prompt. I have used Teams chat Copilot earlier. I can see that your suggestions are closer to the responses by Work Copilot. I have replaced the current text with the suggested ones after confirming again with Work Copilot and will use the Work Copilot here onwards.
|
|
||
| ## SYNOPSIS | ||
|
|
||
| Lists the current status of audit data collection for reports based on activities within the last 28 days, from SharePoint Admin Center. |
There was a problem hiding this comment.
from Copilot:
Lists the current status of audit data collection for reports on activities from the last 28 days in the SharePoint admin center. #Closed
|
|
||
| ### -ReportEntity | ||
|
|
||
| Specifies the entity for which the corresponding audit data collection status should be shown |
| Type: OptInReportEntityEnum | ||
| Parameter Sets: (All) | ||
| Aliases: | ||
| Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, CopilotAppInsights |
|
|
||
| ### CommonParameters | ||
| This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
|
|
There was a problem hiding this comment.
(here and others)
use this updated version:
This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-ProgressAction`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
``` #Closed
| ### Example 1 | ||
|
|
||
| ```powershell | ||
| PS C:\> Get-SPOAuditDataCollectionStatusForActivityInsights -ReportEntity SharingLinks_Anyone |
|
|
||
| ## SYNOPSIS | ||
|
|
||
| This cmdlet starts collecting relevant audit data for reports, based on activities within the last 28 days, such as Sharing link reports, content shared with Everyone except external users etc from SharePoint admin center. |
There was a problem hiding this comment.
From Copilot:
This cmdlet starts collecting audit data for reports on activities from the last 28 days, such as sharing link reports and content shared with everyone except external users, from the SharePoint admin center. #Closed
|
|
||
| ## DESCRIPTION | ||
|
|
||
| This cmdlet starts collecting relevant audit data for reports, based on activites related to sharing and access. Reports are available for the following scenarios: |
There was a problem hiding this comment.
From Copilot:
This cmdlet starts collecting audit data for reports on sharing and access activities from the last 28 days. Reports are available for the following scenarios: #Closed
|
|
||
| This cmdlet starts collecting relevant audit data for reports, based on activites related to sharing and access. Reports are available for the following scenarios: | ||
|
|
||
| - Sharing links created in last 28 days (Anyone, People-in-your-org, Specific people shared externally). |
|
|
||
| This cmdlet starts collecting relevant audit data for reports, based on activites related to sharing and access. Reports are available for the following scenarios: | ||
|
|
||
| - Sharing links created in last 28 days (Anyone, People-in-your-org, Specific people shared externally). |
There was a problem hiding this comment.
MS public document regarding sharing links
"Anyone"
"People in Your Organization"
"People you choose" - under the heading "Share with specific people" - This product specifically focuses on 'external' people
There was a problem hiding this comment.
let's use the same wording as them -- eg should be "People in your organization"
| This cmdlet starts collecting relevant audit data for reports, based on activites related to sharing and access. Reports are available for the following scenarios: | ||
|
|
||
| - Sharing links created in last 28 days (Anyone, People-in-your-org, Specific people shared externally). | ||
| - Content shared with Everyone except external users (EEEU) in last 28 days. |
| PS C:\> Get-SPOAuditDataCollectionStatusForActivityInsights -ReportEntity SharingLinks_Anyone | ||
| ``` | ||
|
|
||
| This command fetches the current status of audit data collection for the report on sites with most number of "Anyone" sharing links generated in the last 28 days. |
| PS C:\> Start-SPOAuditDataCollectionForActivityInsights -ReportEntity SharingLinks_Anyone | ||
| ``` | ||
|
|
||
| This cmdlet will start collecting audit data related to the generation of 'Anyone' sharing links from the moment it is executed. |
There was a problem hiding this comment.
apply to the Stop- cmdlet too
|
|
||
| ## SYNOPSIS | ||
|
|
||
| This cmdlet stops collecting relevant audit data for reports, based on activities within the last 28 days, such as Sharing link reports, content shared with Everyone except external users etc from SharePoint admin center. |
There was a problem hiding this comment.
From Copilot:
This cmdlet stops collecting audit data for reports on activities from the last 28 days, such as sharing link reports and content shared with everyone except external users, from the SharePoint admin center. #Closed
|
|
||
| - Sharing links created in last 28 days (Anyone, People-in-your-org, Specific people shared externally). | ||
| - Content shared with Everyone except external users (EEEU) in last 28 days. | ||
| - Copilot agents created in last 28 days *(Private Preview)* |
There was a problem hiding this comment.
same comments from Start- cmdlet apply #Closed
|
Learn Build status updates of commit d646d38: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
| Start-SPOAuditDataCollectionForActivityInsights -ReportEntity SharingLinks_Anyone | ||
| ``` | ||
|
|
||
| This example will start collecting audit data related to the generation of 'Anyone' sharing links from the moment the command is executed. |
| Stop-SPOAuditDataCollectionForActivityInsights -ReportEntity SharingLinks_Anyone | ||
| ``` | ||
|
|
||
| This example will stop collecting audit data related to the generation of 'Anyone' sharing links from the moment the command is executed. |
|
You also need to update Table of Contents file -- sharepoint-online.md #Closed |
Apologies, but I didn't update the table of contents in the last PR. So, do I have to do that for all new commands by DAG? Please advise. |
|
Learn Build status updates of commit 7559276: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
Yes, this is a mandatory requirement now. @pvrk -- otherwise they'll send back the PR to you to do that. So you might as well do it now. Note: this only applies to newly added files. In reply to: 2782912881 |
|
Learn Build status updates of commit 38c8f51: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. For any questions, please:
|
|
Learn Build status updates of commit 33ac152: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. For any questions, please:
|
|
Learn Build status updates of commit 1c98fc8: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
|
|
||
| ### [Get-SPOAppPrioritizationPolicies](Get-SPOAppPrioritizationPolicies.md) | ||
|
|
||
| {{Gets all existing SPO app prioritization policies of your tenancy}} |
There was a problem hiding this comment.
@pvrk please fix. be sure to add . at the end as well.
There was a problem hiding this comment.
Not our command, Sam. Modifying any text here or nearby is leading to a merge conflict error.
|
|
||
| ### [Stop-SPOAuditDataCollectionForActivityInsights](Stop-SPOAuditDataCollectionForActivityInsights.md) | ||
|
|
||
| {{Stop collecting audit data for reports on activities from the last 28 days.}} |
|
Learn Build status updates of commit 39e043b: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. For any questions, please:
|
|
Learn Build status updates of commit b6b2487: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|

No description provided.