Building and customizing solutions using Microsoft 365 Copilot APIs and tools
You should not use a service account for Copilot agents that will be used by employees individually. Instead, use user-delegated authentication (normal user accounts) so that each employee’s actions and data access are performed in their own security context.
Why?
- Security & Compliance: Service accounts can bypass individual user permissions, making it difficult to audit actions and increasing the risk of unauthorized data access.
- Auditability: Using user accounts ensures all actions are traceable to the actual user, supporting compliance and audit requirements.
- Least Privilege: Each user only gets access to what they are permitted, reducing risk.
Risks of service accounts:
- Shared credentials can be misused.
- Difficult to enforce least-privilege access.
- May violate organizational compliance or Microsoft licensing terms.
Thanks,
Prasad Das
*************************************************************************
If the response is helpful, please click on "upvote" button. Your feedback is important to us. Please rate us: 🤩 Excellent 🙂 Good 😐 Average 🙁 Needs Improvement 😠 Poor