
Agentforce エージェントからユーザー単位の認証で外部 MCP サーバーに接続するConnecting Agentforce Agents to External MCP Servers with Per-User Authentication
Salesforce Winter '27 で GA となった Agentforce Employee のユーザー単位認証を使い、Asana の MCP サーバーへ OAuth 2.0 ブラウザフローで接続する設定手順を解説する。共有トークンを廃し、監査証跡も明確にできる。
Walks through switching an Agentforce Employee agent from a shared connection to per-user OAuth 2.0 browser-flow auth against Asana's MCP server, a Winter '27 GA feature. It removes shared tokens and clarifies audit trails.
AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (zenn.dev) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (zenn.dev).
Salesforce の Agentforce Employee エージェントが外部の MCP サーバーへ接続する際、認証を全ユーザー共用からユーザーごとの認証へ切り替える手順を扱った解説です。題材は Asana の MCP サーバーで、Salesforce のケースから Asana のタスクを起票するエージェントを使います。前回の「Agentforce エージェントから外部 MCP サーバー(Asana)のツールを使う」の続編にあたります。
ユーザー単位認証とは
ユーザー単位認証は Winter '27 で GA になった機能です。Agentforce Employee エージェントが個々のユーザーに代わって動き、共有の接続ではなくユーザー自身のクレデンシャルで外部 MCP サーバーにアクセスします。認証には OAuth 2.0 のブラウザフローが使われます。
リリースノートが挙げる利点は二つです。一つは共有のサービスユーザートークンをなくせること、もう一つはユーザーごとの監査証跡が明確になることです。
共用接続からの変更点
Summer '26 で GA になった外部 MCP サーバーの登録では、管理者が登録時にサーバーの認証情報を入力していました。この方式では、接続は全ユーザーで共有されます。Winter '27 ではこれに加えて、利用者それぞれの認証でサーバーに入る形が選べるようになりました。
この記事では、切り替える前と後でタスクの作成者がどう変わるかを最初に示すと説明されています。共用の接続と個人の認証で、Asana 側に残る記録がどう違うのかを確認できる構成です。
提供対象と時期
対象エディションは Enterprise、Performance、Unlimited、Developer Edition です。Winter '27 にアップグレードされた組織に対し、2026 年 10 月 5 日の週から順次提供されています。
記事で扱う手順
設定は次の順で解説されます。まず外部ログイン情報へのプリンシパルを追加し、次に権限セットを付け替えます。そのうえで、ユーザーが初めてエージェントを使うときの認可の流れを確認します。
著者は Winter '27 のリリースノートをまとめた記事でもこの機能に触れていますが、そこではリリース内容の紹介にとどまっていました。今回はそれを補い、設定方法を手順ごとに追う位置づけです。
Per-User Authentication for MCP
This article explains how to switch an Agentforce Employee agent's connection to an external MCP (Model Context Protocol) server from a credential shared by all users to authentication handled per user. It is a follow-up to an earlier piece on using tools from an external MCP server, Asana, through an Agentforce agent. The example is the same: an agent that creates Asana tasks from a Salesforce case.
From Shared Connection to Own Credentials
According to the article, per-user authentication became generally available in Winter '27. External MCP server registration reached general availability in Summer '26, and under that arrangement an administrator entered the server's credentials at registration time. With Winter '27, an Agentforce Employee agent can act on behalf of individual users and reach the external MCP server with each user's own credentials, through an OAuth 2.0 browser flow, rather than a shared connection.
The article says the release notes name two benefits: the shared service-user token can be eliminated, and per-user audit trails become clearer. The article also compares who is recorded as the creator of a task before and after the switch.
Availability
The feature applies to Enterprise, Performance, Unlimited, and Developer Edition. It is being rolled out gradually to organizations upgraded to Winter '27, starting the week of October 5, 2026.
Setup Steps Covered
The author previously introduced this feature in a summary of the Winter '27 release notes, but that piece only announced the release. This article goes through the configuration step by step. After the before-and-after comparison of task creators, it covers three areas in order:
First, adding a principal to the external login information.
Second, replacing permission sets.
Third, the authorization flow a user goes through the first time they use the agent.
The material provided does not describe the individual settings within these steps, so the details are left to the original article.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPokoSalesforceのケースから、Asanaにタスクを作るとき、普段の何が変わるの?When I create an Asana task from a Salesforce case, what actually changes for me day to day?
- TECHガイドTECH Guide全員共用の接続ではなく、自分のクレデンシャルでOAuth 2.0のブラウザフローを通して接続します。切り替え前後でタスクの作成者がどう変わるかも、記事で示されています。The agent connects with your own credentials through an OAuth 2.0 browser flow, not a shared connection. The article also shows how the task creator differs before and after the switch.
- ポコPoko前は、みんなで同じ認証を使うしかなかったの?So before, everyone just had to share one login?
- TECHガイドTECH GuideSummer '26で外部MCPサーバーの登録が使えるようになった時点では、管理者が登録時に認証情報を入力していました。Winter '27でユーザー単位が加わった形です。With the Summer '26 external MCP registration, an admin entered the server credentials at setup. Winter '27 adds the per-user option on top of that.
- ポコPoko共有トークンがなくなって、誰が何をしたか分かりやすくなるのが一番の収穫だね。So the big win is no shared token, and it's clearer who did what. Right?
- TECHガイドTECH Guideそうですね、リリースノートもその二点を利点に挙げています。次は、ユーザーが初めて使うときの認可の流れに注目です。Yes, the release notes name those two benefits. Next, watch the authorization flow when a user first uses it.
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy

