---
schema_version: "1"
id: f0a524d3fcd5c6bb209b7d6db7a6f438a2dbd450a4cab523aefdb1c5beb0bb82
title: DescribeMscrmEntities()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/microsoft-dynamics-crm/mc-ampscript-reference-microsoft-dynamics-crm-describe-entities.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-describe-entities.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6258127eb1502091bd31cfef807559a7bfb8e01ec341a420cc4873f9b877159c
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# DescribeMscrmEntities()

Returns the logical and display names of all Microsoft Dynamics CRM entities.

## Availability

<table>
  <tr>
    <td>Marketing Cloud Engagement</td>
    <td>✅ Yes</td>
  </tr>
  <tr>
    <td>Marketing Cloud Next</td>
    <td>❌ No</td>
  </tr>
</table>

## Syntax

```
DescribeMscrmEntities()
```

This function doesn’t have any parameters.

## Usage

This example creates a list of all entities in a Dynamics CRM account.

```
%%[
  Var @entities_rs
  Set @entities_rs = DescribeMscrmEntities()
]%%

<p>This is a list of CRM Entities:</p>
<ul>

%%[
  Var @entity_name, @entity_displayname, @counter
  For @counter = 1 to rowcount(@entities_rs) do
    Set @entity_name = field(row(@entities_rs,@counter), 'Name')
    Set @entity_displayname = field(row(@entities_rs,@counter), 'DisplayName')
]%%

<li>Entity Name: %%=v(@entity_name)=%%, Entity Display Name: %%=v(@entity_displayname)=%%</li>

%%[ next @counter ]%%

</ul>
```

The example outputs a list of entity names and display names.
