A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Good day @Hishmat Salehi,
Thank you for sharing your concern.
Just to gently clarify before we go any further, this is a user‑to‑user support forum. I don’t have the ability to access or investigate individual accounts because this is a user-to-user support forum. Moderators and contributors, including external Microsoft employees, do not have access to internal systems or the ability to directly take action on Microsoft product features. However, I truly hope I can help review your situation, offer some guidance, and support you in finding the right next steps as best as possible.
From the screenshot, SharePoint seems to be opening the .agent file in preview mode instead of launching it in the side pane as expected, which usually happens when the Agent link web part is pointing to an outdated or invalid file, often because the .agent file was renamed, moved, or relocated during publishing.
Please see the following workarounds that will help you verify the issue:
Step 1: Reconfigure the agent link web part
Open the SharePoint page in Edit mode > Select the Agent link web part.
Open the web part properties panel > Re-select the correct agent from the available list.
If the issue persists, remove the web part completely:
Add a new Agent link web part > Select the correct agent again > Republish the page.
This helps ensure the web part is linked to the correct and current agent reference.
Step 2: Verify the .agent file location and status
Go to the SharePoint document library where the agent is stored.
Locate the .agent file.
Check if the file has been renamed recently.
Confirm whether the file has been moved to a different folder or an approved location.
If any changes were made, update the web part to point to the new file location.
Changes to the file location or name are a common cause of this issue.
Step 3: Verify permissions, licensing and service availability
This step needs to be performed by a SharePoint admin or IT admin to ensure proper access and configuration, so please ask your IT Admin to follow these steps:
Note: In case you do not know who is your IT admin, kindly refer to this article: How do I find my Microsoft 365 admin? - Microsoft Support
1/ Check that affected users have access to the .agent file in SharePoint. Verify that users also have permission to the content sources used by the agent.
2/ Confirm that users have a valid Microsoft 365 Copilot license and enable Microsoft 365 Copilot for SharePoint in Microsoft 365 admin center.
3/ Alternatively, check whether Pay-As-You-Go is enabled for SharePoint agents in the tenant.
4/ Ensure the feature is correctly enabled and configured in the environment.
Note: The agent will not work properly if required permissions, licensing, or configurations are missing.
Additional information is available in the following resources:
Get started with agents in SharePoint - Microsoft Support
Manage access to agents in SharePoint - SharePoint in Microsoft 365 | Microsoft Learn
Step 4: Contact Microsoft Support
If the issue still persists after trying the steps above, I recommend reaching out to your IT administrator to create a support ticket via Microsoft 365 Admin Center > Support > Help & Support for further backend investigation.
A technical support engineer can perform a remote session to investigate the situation, verify the backend configurations, and run any necessary synchronization tools to resolve the problem. If the issue requires further attention, they can escalate it to a specialized team for deeper analysis.
I hope this information is helpful. If you have any questions or need further support, please don’t hesitate to reach out at any time.
Thank you for your patience and understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have any extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.