---
schema_version: "1"
id: 6c19fca7599f8ce0cbf19d5a4feac703eff8bbb7f68c36fa7101c4c706fc8b81
title: MsgChannelUsageExternalOrg
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_msgchannelusageexternalorg.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_msgchannelusageexternalorg.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9792605eff13c9db0b98309d93dad7d377f6ab5d1464da4aff852824d7ecb4f4
description: Represents the Enterprise ID (EID) and Business Unit (MID) for Marketing Cloud connections in a Unified Messaging channel. This object is available in API version 60.0 and later.
---
# MsgChannelUsageExternalOrg

Represents the Enterprise ID (EID) and Business Unit (MID) for Marketing Cloud connections in a Unified Messaging channel. This object is available in API version 60.0 and later.

## Supported Calls

create(), describeSObjects(), query(), retrieve(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| ExternalOrgIdentifier | 
Type

string

Properties

Create, Filter, Group, Nillable, Sort

Description

The Enterprise ID (EID) of a Marketing Cloud connection.



 |
| ExternalSubOrgIdentifier | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The Business Unit (MID) of a Marketing Cloud connection.



 |
| MessagingChannelUsageId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The associated MessagingChannelUsage record, which must have a DeploymentType of MJ (referring to Marketing Cloud Journey Builder).

This field is a relationship field.

Relationship Name

MessagingChannelUsage

Relationship Type

Lookup

Refers To

MessagingChannelUsage



 |

## Usage

MsgChannelUsageExternalOrg records apply only to MessagingChannelUsage records related to Marketing Cloud.

Only one MsgChannelUsageExternalOrg record can exist for each MessagingChannelUsage record with a DeploymentType of MJ. MsgChannelUsageExternalOrg records are created when an admin enters the EID and MID for a Marketing Cloud application in Unified Messaging Setup and then clicks **Connect**.

The data saved in a MsgChannelUsageExternalOrg record is used for making a connection to Marketing Cloud. If an admin disconnects a Marketing Cloud application in Unified Messaging Setup, the saved EID and MID are used during deprovisioning.