[Yandex Cloud documentation](../../../../index.md) > [Yandex Identity Hub](../../../index.md) > API reference > [gRPC](../index.md) > [Group](index.md) > ResolveExternal

# Identity Hub API, gRPC: GroupService.ResolveExternal

Returns external group by subject container and external id

## gRPC request

**rpc ResolveExternal ([ResolveExternalGroupRequest](#yandex.cloud.organizationmanager.v1.ResolveExternalGroupRequest)) returns ([Group](#yandex.cloud.organizationmanager.v1.Group))**

## ResolveExternalGroupRequest {#yandex.cloud.organizationmanager.v1.ResolveExternalGroupRequest}

```json
{
  "subject_container_id": "string",
  "external_id": "string"
}
```

#|
||Field | Description ||
|| subject_container_id | **string**

Required field. Id of the subject container that external group belongs to
To get subject container, use a [yandex.cloud.organizationmanager.v1.saml.FederationService.List](../../../saml/api-ref/grpc/Federation/list.md#List) request
or [yandex.cloud.organizationmanager.v1.idp.UserpoolService.List](../../../idp/api-ref/grpc/Userpool/list.md#List) request.

The maximum string length in characters is 50. ||
|| external_id | **string**

Required field. Id of the group from external system

The maximum string length in characters is 1024. ||
|#

## Group {#yandex.cloud.organizationmanager.v1.Group}

```json
{
  "id": "string",
  "organization_id": "string",
  "created_at": "google.protobuf.Timestamp",
  "name": "string",
  "description": "string",
  "subject_container_id": "string",
  "external_id": "string",
  "labels": "map<string, string>"
}
```

A Group resource.
For more information, see [Groups](../../../operations/manage-groups.md).

#|
||Field | Description ||
|| id | **string**

ID of the group. ||
|| organization_id | **string**

ID of the organization that the group belongs to. ||
|| created_at | **[google.protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#timestamp)**

Creation timestamp. ||
|| name | **string**

Name of the group. ||
|| description | **string**

Description of the group. ||
|| subject_container_id | **string**

Id of the subject container that external group belongs to. It is set if group is external. ||
|| external_id | **string**

Id of the group from external system. It is set if group is external. ||
|| labels | **object** (map<**string**, **string**>)

Resource labels as `key:value` pairs. ||
|#