Ask about execution identity before buying the integration
A vendor demonstration may show an employee asking an assistant to update a record. The important unanswered question is whose authority performed the write. Was it the employee’s account, a shared integration identity or a broadly privileged service account? A friendly chat interface can conceal very different access arrangements.
Kooya’s recommended buying question is concrete: for each connected tool, show the identity, permitted operations and resource boundary. Request that explanation before approving access. This article uses Microsoft Graph as a documented example; other systems have their own permission models and must be checked separately.
Understand the two Microsoft Graph scenarios
Microsoft Graph distinguishes delegated access, where an app acts for a signed-in user, from app-only access, where it uses its own identity. Delegated access is limited by both the granted permissions and the user’s access. Application permissions support work without a signed-in user and can be highly privileged. Microsoft recommends delegated permissions when they meet the application’s requirements.[1]
Kooya analysis: decide around a business task rather than a preference for maximum autonomy. An employee asking for help with their own work has a different authorization context from a nightly process operating across a designated team resource. Neither scenario justifies giving every available permission to every tool.
Do not assume a user’s approval in chat changes the identity used by the backend. If a service account executes the request, its access remains a separate design issue. Conversely, delegated access does not establish that the requested action is sensible or approved under the company’s business rules.
Separate interactive assistance from scheduled work
Consider a hypothetical Philippine service team. During a shift, an assistant helps an employee prepare a reply from records they are allowed to use. Overnight, another process categorizes a designated incoming queue. The first task may fit user-bound access; the second may need its own restricted workload identity. The actual API capabilities determine the implementation.
Write separate mandates for the two tasks. The overnight classifier should not inherit permission to send messages, change customer payment details or search unrelated departments merely because the interactive assistant has broader tools. Likewise, an interactive request should not quietly switch to an administrator’s identity after a user-level call is denied.
A useful architecture review follows one task from request to final write. Mark where the authenticated person is known, where a workload identity takes over and where the system checks the target record. That drawing often exposes a hidden escalation more clearly than a list of connector names.
Prefer the narrowest supported scope
Microsoft’s Graph guidance for Teams applications recommends least privilege, explains resource-specific consent, and asks developers to explain each permission’s purpose and the effect of withholding it. It also describes making unavailable only the feature that requires a denied permission. The available scope depends on the particular API and feature.[2]
Kooya analysis: ask the supplier to demonstrate the smallest useful configuration. A read-only pilot should not need write access for an optional future feature. Where the API supports a narrower resource boundary, test it. Where it does not, decide whether the business value warrants the wider permission or whether the feature should be redesigned.
Make permission changes part of release review. A model upgrade or a newly added tool should not silently expand what the integration can reach. Record the business reason for each expansion and the person who can authorize it, so the system’s authority remains understandable after several rounds of development.
Keep credential management separate from authorization
Azure managed identities let supported workloads authenticate without developers managing stored credentials. Microsoft distinguishes identities tied to a resource’s lifecycle from separately managed identities that can be assigned to multiple resources. In both cases, access to the target service still has to be authorized.[3]
Kooya analysis: removing a secret from configuration addresses one problem; it does not decide which records the agent should access. Review identity ownership, resource assignments and permission scope together. Ask what remains after the workload is retired, and avoid sharing one broadly privileged identity across unrelated agents simply to reduce setup effort.
Accept the system only after it fails safely
Use invented or approved test records to exercise a prohibited target, a missing permission and a changed user role. The expected result should be an understandable refusal or a bounded fallback, not a retry through a more powerful identity. Include a case where the user is entitled to read information but not change it.
Test the actual access-removal procedure and measure when the relevant system stops accepting operations. Do not infer immediate revocation from a button being clicked; token handling and service behaviour need verification. Ask the supplier to explain any delay and the emergency containment option.
Keep the acceptance record simple: attempted operation, execution identity, expected decision, actual result and evidence. Link it to a named operational owner. The final buying decision should rest on a demonstrated boundary that the team can maintain, not a reassuring statement that the agent has enterprise security.
Our guide to agent approvals and spending limits explains the separate business mandate for an action.

