> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/org/phone/get-teams-phone-number-assignment.md).

# Obtener asignación de número de teléfono de Teams

Comprobar si un número de teléfono está asignado en Microsoft Teams

### Descripción

Comprueba si un número de teléfono está asignado a un usuario en Microsoft Teams. Si lo está, el usuario y sus directivas de voz se muestran en la pestaña Datos de salida. No se cambia nada.

### Documentación adicional

Si se encuentra un usuario de Teams para el número de teléfono, se muestran los siguientes detalles en la pestaña Datos de salida, tabla "Asignación de número de teléfono":

* Número de teléfono
* Nombre para mostrar
* Nombre principal de usuario
* Tipo de cuenta
* Tipo de número de teléfono
* Directiva de enrutamiento de voz en línea
* Directiva de llamadas
* Plan de marcado
* Plan de marcado de Tenant

### Ubicación

Organización → Teléfono → Obtener asignación de número de teléfono de Teams

**Nombre completo del runbook**

rjgit-org\_phone\_get-teams-phone-number-assignment

### Detalles

| Propiedad          | Valor                                                                   |
| ------------------ | ----------------------------------------------------------------------- |
| Versión            | 1.1.0                                                                   |
| Módulos requeridos | <p>RealmJoin.RunbookHelper (>= 0.8.10)<br>MicrosoftTeams (>= 7.9.0)</p> |
| Programable        | no                                                                      |

### Permisos

#### Permisos de aplicación

* **Tipo**: Microsoft Graph
  * Organization.Read.All
    * *Requerido por el inicio de sesión de Teams PowerShell basado en aplicaciones (Connect-MicrosoftTeams -Identity) para leer la información del Tenant*

#### roles RBAC

* Administrador de Teams
  * *Requerido para ejecutar Get-CsPhoneNumberAssignment y Get-CsOnlineUser mediante Teams PowerShell basado en aplicaciones*

### Parámetros

#### PhoneNumber

Número en formato internacional sin espacios, por ejemplo +49321987654, opcionalmente con una extensión como +49321987654;ext=123.

| Propiedad                        | Valor              |
| -------------------------------- | ------------------ |
| Obligatorio                      | true               |
| Valor predeterminado             |                    |
| Tipo                             | Cadena             |
| Nombre para mostrar en el portal | Número de teléfono |

[Volver al resumen de referencia de Runbook](https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/org/phone/get-teams-phone-number-assignment.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
