---
schema_version: "1"
id: 46cf0fc468d5b9dd58d55fc3cad5ed21769caf9329405e9489777081b907a66f
title: TenantSecurityConnectedApp
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_tenantsecurityconnectedapp.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_tenantsecurityconnectedapp.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: bb6acfaa195e3823be4c7fd2fd147380ab41f14ce0cf192368f363fc7d08719b
description: Stores the details for a connected app that was added to or removed from a Security Center tenant. This object is available to Security Center subscribers in API version 53.0 and later.
---
# TenantSecurityConnectedApp

Stores the details for a connected app that was added to or removed from a Security Center tenant. This object is available to Security Center subscribers in API version 53.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

This object can only be read and queried.

## Fields

| Field | Details |
| --- | --- |
| Action | 
Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The action taken on the connected app within a tenant.

Possible values are:

- ADDED
- REMOVED
- UPDATED





 |
| ActionBy | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The user who performed the action on the connected app.



 |
| ActionDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date that the action was taken.



 |
| AppName | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The name of the connected app.



 |
| AuthorizedBy | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The user who authorized the connected app to be installed.



 |
| AuthorizedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date that the connected app was authorized for installation.



 |
| DetailIdentifier | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The ID of the individual detail record. This field is unique within your org.



 |
| LastUsedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The last date that the connected app was used for authentication.



 |
| MetricIdentifier | 

Type

string

Properties

Filter, Group, Sort

Description

The ID of the type of metric that was counted.



 |
| MetricsType | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The type of data being collected.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The name of the metric for which data is being collected.



 |
| Publisher | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Represents if the relevant tenant is the original publisher of the connected app for all connected tenants in the org.



 |
| Scope | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The scope or scopes assigned to the connected app. A scope defines the type of protected resource that the connected app can access.



 |
| Tenant | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The ID of the relevant tenant.



 |
| TenantName | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The name of the tenant that the connected app is connected to.



 |
| Version | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The current version of the connected app.



 |

## Associated Objects

This object has these associated objects. If the API version isn’t specified, it’s available in the same API versions as this object. Otherwise, it’s available in the specified API version and later.

[TenantSecurityConnectedAppChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.

[TenantSecurityConnectedAppFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[TenantSecurityConnectedAppHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[TenantSecurityConnectedAppOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[TenantSecurityConnectedAppShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.