Connection Access and Execution Identity
A person who runs a workflow and the account that an action uses in an external service can be different. Check the action's connection settings before sharing a workflow that reads or changes provider data.
Key concepts
Run identity
The authenticated person or application starting the StackAI run.
Provider identity
The provider user or application represented by a saved connection. Its provider permissions determine which external resources it can access.
Saved connection
Authorization for a provider account, selected in an action's settings.
Delegated authentication
A supported action configuration that resolves a connection for the verified end user instead of using one fixed saved connection.
Which account does the action use?
A fixed saved connection is selected
The account authorized in that saved connection
Check the account and its provider access. A different person running the workflow does not by itself replace this connection.
The action uses delegated authentication
The connection resolved for the verified user and configured connector
The run must have a verified user identity. The user may need to connect or reconnect the provider account.
A saved connection uses application credentials
The provider application or service account represented by those credentials
Check application permissions and explicit resource grants, such as SharePoint site access. The workflow viewer's personal provider permissions do not replace the application's grants.
Delegated authentication is a configuration of supported actions. It is not implied by a chat conversation ID, email field, or the fact that the workflow has multiple users.
Check the identity before sharing a workflow
Open each provider action and inspect its connection settings.
For a fixed connection, confirm which provider account is authorized. Choose an account with the access required for the action.
For a delegated action, confirm that the intended user can complete the provider connection flow in the interface that will run the workflow.
Run a read operation with the intended user and a resource they should be able to access. Check the returned resource and the account used. An owner's successful run is not sufficient evidence of another user's access.
See connection ownership and sharing for StackAI access controls. Use the provider's catalog page for OAuth scopes, service-account permissions, and resource grants.
When access fails
Connection is missing or unavailable
Confirm the organization, selected connection, and the user's access to it. For delegated authentication, complete the required end-user connection flow.
Reconnection is requested
Reconnect the account shown in the request. Creating an unrelated connection does not repair the selected account's authorization.
Authentication succeeds but a file or record is denied
Check provider permissions and access to that specific resource. For app-only SharePoint, check both consent and the site grant.
Results differ between users
Compare the authentication configuration and resolved provider accounts before changing the workflow logic.
Limits of this reference
Provider-action identity and knowledge-base retrieval access are separate controls. For indexed documents and permission filtering, see Source Permissions and Retrieval Access. A memory or conversation identifier is not an authorization credential.
Related resources
Was this helpful?

