1. Resources
  2. Detection sources
  3. AppPublishedToCatalog

AppPublishedToCatalog: An app was added to the organization's Microsoft Teams app catalog

Recorded when an app is added to the organization's Teams app catalog, where users find it among the apps built for the organization. An admin can publish a custom app for everyone without any approval.

Log source
Microsoft 365 unified audit log (Microsoft Teams)
Detection value
Supporting
Volume
Low (estimate)
Last updated
Log
Microsoft 365 unified audit log (Microsoft Teams) (Microsoft 365 unified audit log (Microsoft Teams), on by default)
Service
Microsoft 365 unified audit log (Microsoft Teams)
Operation
AppPublishedToCatalog
Detects
1 attack (1 rule · 1 detection logic)
MITRE ATT&CK
1 technique in 1 tactic
Fields the rules read
Operation

When it is written

Teams writes AppPublishedToCatalog when an app is added to the catalog; Microsoft lists it among the audited app management actions of admins. The catalog holds the organization's custom apps, which are available only inside the tenant and appear to users in the Built for your org section of the Teams store.

Microsoft documents two ways in. A Global or Teams administrator uploads the app package in the Teams admin center or the Teams client, and the app is available to the whole organization with no approval step. A user submits an app from the Teams client or with the Teams App Submission Graph API, and it becomes available after an admin approves it. Microsoft does not say which of these writes the record, or which properties name the app: read a record of your own before you build on it.

Publishing makes the app available; it does not install it. Installation in a team, a chat or for a user is a separate AppInstalled record.

How to turn it on

Microsoft 365 unified audit log (Microsoft Teams) records AppPublishedToCatalog calls to Microsoft 365 unified audit log (Microsoft Teams) without any setup. Vendor documentation

Microsoft Teams activity is recorded in the Microsoft 365 unified audit log by Microsoft Purview Audit (Standard), which is on by default for most organizations; audit data exists only from the moment auditing was turned on. Microsoft names two exceptions where auditing must be turned on by hand: tenants with Business Basic, Business Standard or Business Premium licences, and unmanaged tenants on enterprise trials. Check UnifiedAuditLogIngestionEnabled in Exchange Online PowerShell (in Security & Compliance PowerShell the property always reads False). Activity in private channels is recorded as it is for standard channels.

  • Retention: 180 days with Audit (Standard) (90 days for records created before 17 October 2023). The one-year default policy of Audit (Premium) covers only Microsoft Entra ID, Exchange, OneDrive and SharePoint records, so Teams records stay 180 days unless an audit log retention policy for the MicrosoftTeams record type keeps them longer (up to 10 years with the add-on licence).
  • Collection: the Office 365 Management Activity API publishes Teams records in the Audit.General content type. A subscription has to be started first (the first content can take up to 12 hours), content can be listed at most 7 days back, and records do not arrive in order. Microsoft Sentinel's Microsoft 365 data connector with Teams selected writes them to the OfficeActivity table.
  • Delay: Microsoft guarantees no delivery time. For Teams, records are typically available 60 to 90 minutes after the activity.
  • Attribution: when team membership is changed through Microsoft Entra ID, the Microsoft 365 admin center or the Microsoft 365 Groups Graph API, Teams records show an existing team owner as the initiator, not the person who acted; Microsoft points to the Microsoft Entra ID or Microsoft 365 group audit records for those changes.
  • Turning auditing off (Set-AdminAuditLogConfig -UnifiedAuditLogIngestionEnabled $false) also stops the Management Activity API and Sentinel collection; the change is itself recorded as a Set-AdminAuditLogConfig record in the Exchange admin records.
Check that the unified audit log is on (read only, Exchange Online PowerShell)
Get-AdminAuditLogConfig | Format-List UnifiedAuditLogIngestionEnabled
Based on vendor documentation.
List custom audit log retention policies (read only, Security & Compliance PowerShell; the default policy is not shown)
Get-UnifiedAuditLogRetentionPolicy | Sort-Object -Property Priority -Descending | Format-List Priority,Name,RecordTypes,Operations,UserIds,RetentionDuration
Based on vendor documentation.
List the Management Activity API subscriptions of the tenant (read only; Audit.General must be enabled)
Invoke-RestMethod -Method Get -Uri "https://manage.office.com/api/v1.0/<tenant-id>/activity/feed/subscriptions/list" -Headers @{ Authorization = "Bearer <access-token>" }
Based on vendor documentation.
Find recent AppPublishedToCatalog records (read only)
Search-UnifiedAuditLog -StartDate (Get-Date).AddDays(-7) -EndDate (Get-Date) -Operations AppPublishedToCatalog -ResultSize 5 | Select-Object -ExpandProperty AuditData
Based on vendor documentation.

Fields

The operation’s own fields first, then the fields every Microsoft 365 unified audit log (Microsoft Teams) record has. Field names are the JSON paths of the record as the vendor documents it.

FieldWhat it holds
ObjectIdThe Common schema's property for the object of an activity. Microsoft does not document what an AppPublishedToCatalog record puts here, or which other properties name the app.
Fields every Microsoft 365 unified audit log (Microsoft Teams) record has (13)
FieldWhat it holds
CreationTimeWhen the record was generated, in UTC.
IdUnique identifier of the audit record.
OperationRead by 1 ruleThe user or admin activity. The operation this page is about.
RecordTypeThe kind of record, 25 (MicrosoftTeams) for Teams events.
WorkloadThe Microsoft 365 service where the activity occurred.
OrganizationIdGUID of the Microsoft 365 tenant, the same in every service.
UserIdUPN of the user who performed the activity. For membership changes made outside Teams, an existing team owner instead of the real initiator.
UserKeyAn alternative ID for the user in UserId, a Microsoft Entra object ID.
UserTypeWho performed the activity (0 Regular, 2 Admin, 3 DCAdmin, 4 System, 5 Application, 6 ServicePrincipal, 9 PartnerTechnician, 10 Guest...).
ClientIPAddress of the device used for the activity. For some services it is the address of an application acting for the user.
ResultStatusWhether the activity succeeded (Succeeded, PartiallySucceeded or Failed), when the record carries it.
VersionVersion number of the record format for this activity.
AppAccessContextThe application context of the user or service principal that acted (ClientAppId, ClientAppName, AADSessionId, CorrelationId, UniqueTokenId, IssuedAtTime), when a Microsoft Entra token was involved.

Volume and noise

Low. Development and collaboration teams publish their own apps, and admins approve user submissions. A publication by an administrator account outside the team that owns Teams, an app nobody in the organization recognizes, or a publication followed quickly by installations driven by the same account is the record to read first.

Keeping it manageable

  • Find the app in Teams apps > Manage apps of the Teams admin center and read its publisher, its permissions and where it is installed.
  • Keep the list of custom apps the organization approved, with their owners, and review any new one against it.
  • Follow the app: AppInstalled and BotAddedToTeam records soon after, especially by the same UserId, show where it went.

Sample event

A Microsoft 365 unified audit log (Microsoft Teams) record in the vendor’s format, with made-up values.

{
  "CreationTime": "2026-11-18T09:30:12",
  "Id": "6f1c2d3e-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
  "Operation": "AppPublishedToCatalog",
  "OrganizationId": "00000000-0000-0000-0000-00000000c0de",
  "RecordType": 25,
  "UserKey": "00000000-0000-0000-0000-0000000ad111",
  "UserType": 2,
  "Version": 1,
  "Workload": "MicrosoftTeams",
  "ClientIP": "203.0.113.24",
  "UserId": "teams-admin@corp.example.com",
  "AppAccessContext": {
    "AADSessionId": "00000000-0000-0000-0000-00000000a5e5",
    "CorrelationId": "00000000-0000-0000-0000-0000000c0aa1"
  },
  "ObjectId": "<app-identifier>"
}

Attacks this event reveals

Detection rules that read this event:

References