I have created Agent in copilot studio and added multiple list and library knowledge then publish version in teams. Then First time I open agent comes multiple time permission allow popup window as per screenshot.
So can we provide me solution for only one time comes permission allow popup window?
This is a security feature, not a bug. Copilot Studio uses "On-Behalf-Of" (OBO) authentication for SharePoint. Each unique site or library connection requires individual user consent the first time it is accessed to maintain strict data governance. Once the user clicks Allow, the permission is remembered and they won’t be prompted again. There’s currently no supported way to reduce this to a single popup.
To minimize prompts, consolidate your knowledge files into a single SharePoint site or configure Teams Single Sign-On (SSO) to handle the authentication silently in the background.
End‑user education
Tell users: “You may see permission prompts the first time. Click Allow, this happens only once.”
This video covers the initial setup and briefly mentions the user-side experience when first interacting with the SharePoint-linked agent.
✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
👍 Feel free to Like the post if you found it useful.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.