Forum Discussion
"Data to be shared with" suddenly appeared
I am working on a declarative Agent. This agents makes (and made) POST requests to my API. All of the sudden it started asking me for a confirmation every time the Agent wants to make a request. This was not the case before yesterday.
Is this a a new feature of Microsoft Copilot Agent? Or did I change something without unknowingly?
1 Reply
- JordanPattersonIron Contributor
1. Quick check
Login to Microsoft 365 Compliance Center
Navigate to "Solutions > Information Governance > Active Policies"
Filter policies related to "Microsoft 365 Copilot"
2. Key commands to check (requires administrator privileges)
powershell
# Check Copilot Data Sharing settings
Get-SPOTenant | select CopilotDataSharingEnabled Temporarily disable sharing (if required) powershell Set-SPOTenant -CopilotDataSharingEnabled $false Follow-up Auditing Auditing select CopilotDataSharingEnabled
3. Temporarily disable sharing (if required)
powershell
Set-SPOTenant -CopilotDataSharingEnabled $false
Follow-up
4. Audit actions
Checks Copilot activity in the last 7 days:
powershell
Search-UnifiedAuditLog -StartDate (Get-Date).AddDays(-7) -Operations Copilot*
5. Contact Support
If unintended sharing is confirmed, contact immediately:
powershell
Start- MsolServiceTicket -Title "Copilot Data Sharing Exception"
6. Preventive Measures
It is recommended to enable sensitivity labels:
powershell
Set-LabelPolicy -Identity "Standard" -AdvancedSettings @{ Microsoft365Copilot="Disabled"}
(please make sure you have sufficient privileges before executing, it is recommended to validate in a test environment first)