Einstein 活動キャプチャ (EAC) イベントが同期されない場合の最もよくある原因は、必須権限セットの 1 つまたは両方がプラットフォームインテグレーションユーザーから削除されたことです。次のステップは、プラットフォームインテグレーションユーザーを特定し、不足している権限セットを確認して、SOQL と匿名 Apex を使用してそれらを再割り当てする方法を示しています。
注意: プラットフォームインテグレーションユーザーは特殊なシステムユーザーで、ほとんどの管理者は [設定] → [ユーザー] では確認できません。権限セットの割り当てを直接特定して修正するには以下の SOQL および Apex を用いた回避策を使用してください。
SELECT Id, Name, Profile.Name, IsActive FROM User WHERE Name = 'Platform Integration User' LIMIT 1 SELECT Id, PermissionSet.Name, PermissionSet.Label, Assignee.NameFROM PermissionSetAssignmentWHERE Assignee.Name = 'Platform Integration User' Einstein Activity Capture Sync C2C Integration Userと sfdc.activityplatform が存在するか確認します。いずれかが存在しない場合は、ステップ 3 に進みます。 SELECT Id, Name, LabelFROM PermissionSetWHERE Name = 'EinsteinActivityCaptureC2CIntegrationUser'LIMIT 1 sfdc.activityplatform の場合は、以下を実行します。
SELECT Id, Name, LabelFROM PermissionSetWHERE Label LIKE '%activityplatform%'LIMIT 1
// ステップ 1:プラットフォームインテグレーションユーザーを取得するUser piu = [SELECT Id FROM User WHERE Name = 'Platform Integration User' LIMIT 1];// ステップ 2:不足している権限セットを取得する// 'EinsteinActivityCaptureC2CIntegrationUser' をステップ 3 の正しい API 参照名に置き換えます。PermissionSet ps = [SELECT Id FROM PermissionSet WHERE Name = 'EinsteinActivityCaptureC2CIntegrationUser' LIMIT 1];// ステップ 3:割り当てを挿入するinsert new PermissionSetAssignment(AssigneeId = piu.Id, PermissionSetId = ps.Id);System.debug('Permission set assigned successfully to: ' + piu.Id);
sfdc.activityplatform も存在しない場合は、この手順を繰り返します。
注意: EAC が組織で正しく設定されていない場合、これらの権限セットが組織に存在しない可能性があるため、次のエラーが表示されます。
System.QueryException:List has no rows for assignment to SObject (SObject に割り当てる行がリストにありません)
ステップ 5 - 割り当てが成功したことを確認する
ステップ 2 の確認用のクエリを再実行して、両方の権限セットが表示されることを確認します。
SELECT Id, PermissionSet.Name, PermissionSet.Label, Assignee.NameFROM PermissionSetAssignmentWHERE Assignee.Name = 'Platform Integration User'
ステップ 6 - 検証する
Outlook または Google カレンダーでテストイベントを作成し、数分以内に Salesforce と同期されることを確認します。
引き続きイベントが同期されない場合は、影響が発生しているユーザーにメールやカレンダーアカウントを切断してから再接続するように依頼してください。これにより、サービストークンとバインドが更新されます。
Einstein 活動キャプチャまたは Inbox による Salesforce へのメールとカレンダーの接続
https://help.salesforce.com/s/articleView?id=sales.aac_connect_additional_accounts.htm&type=5
005385766

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.