View Portal Sync Status and Event History
The portal integration config screen includes a sync status panel showing the last successful sync timestamp, the count of events processed in recent periods, and a log of recent webhook events with their processing outcomes (success, error, skipped). The portal sync service populates this data by recording outcomes for each processed webhook payload. Organization administrators see sync status scoped to their organization; global administrators see a platform-wide view with per-organization breakdown. Failed events are surfaced with error codes to support triage.
User Story
Acceptance Criteria
- Given an administrator views the portal integration config screen, when the sync status panel loads, then it displays the timestamp of the last successfully processed webhook event
- Given the portal sync service has processed events, when an administrator views the sync log, then they see a chronological list of recent events with status (success/error/skipped) and event type
- Given a webhook event failed to process, when an administrator views that event in the sync log, then they see a human-readable error description and the raw event type
- Given no webhook events have been received in over 24 hours, when an administrator views the sync status panel, then a warning indicator is shown to prompt investigation
- Given a global admin views the sync status, when they select a specific organization from the dropdown, then the sync log filters to show only events for that organization
Business Value
Without visibility into sync status, administrators have no way to know whether shared data between the app and the Dynamics portal is current or stale. Membership changes made in the portal that fail to sync may cause coordinators to see outdated member information in the app, leading to incorrect assignment decisions. A visible sync status panel enables proactive monitoring and rapid issue resolution without requiring technical database access.