Request offline_access when a delegated connection needs refresh tokens
Microsoft’s v2 OAuth endpoint requires an explicit offline_access request to return refresh tokens. Composio’s standard Microsoft delegated OAuth scope sets include it. For a customer-owned Microsoft app, include offline_access in the app and Composio auth-config scopes before creating a new connection.
Microsoft documents this behavior in Scopes and permissions in the Microsoft identity platform.