> 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/pt/automatizacao/runbooks/runbook-references/org/phone/get-teams-phone-number-assignment.md).

# Obter atribuição de número de telefone do Teams

Verificar se um número de telefone está atribuído no Microsoft Teams

### Descrição

Verifica se um número de telefone está atribuído a um utilizador no Microsoft Teams. Se estiver, o utilizador e as respetivas políticas de voz são apresentados no separador Dados de saída. Nada é alterado.

### Documentação adicional

Se for encontrado um utilizador do Teams para o número de telefone, os seguintes detalhes são apresentados no separador Dados de saída, tabela "Atribuição de número de telefone":

* Número de telefone
* Nome apresentado
* Nome principal do utilizador
* Tipo de conta
* Tipo de número de telefone
* Política de encaminhamento de voz online
* Política de chamadas
* Plano de marcação
* Plano de marcação do Tenant

### Localização

Organização → Telefone → Obter atribuição de número de telefone do Teams

**Nome completo do runbook**

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

### Detalhes

| Propriedade         | Valor                                                                   |
| ------------------- | ----------------------------------------------------------------------- |
| Versão              | 1.1.0                                                                   |
| Módulos necessários | <p>RealmJoin.RunbookHelper (>= 0.8.10)<br>MicrosoftTeams (>= 7.9.0)</p> |
| Agendável           | não                                                                     |

### Permissões

#### Permissões de aplicativo

* **Tipo**: Microsoft Graph
  * Organization.Read.All
    * *Necessário pelo login do Teams PowerShell baseado em aplicativo (Connect-MicrosoftTeams -Identity) para ler informações do tenant*

#### Funções RBAC

* Administrador do Teams
  * *Necessário para executar Get-CsPhoneNumberAssignment e Get-CsOnlineUser através do Teams PowerShell baseado em aplicações*

### Parâmetros

#### PhoneNumber

Número em formato internacional sem espaços, por exemplo +49321987654, opcionalmente com uma extensão como +49321987654;ext=123.

| Propriedade                | Valor              |
| -------------------------- | ------------------ |
| Obrigatório                | verdadeiro         |
| Valor padrão               |                    |
| Tipo                       | Texto              |
| Nome de exibição no portal | Número de telefone |

[Voltar à visão geral da referência do runbook](https://docs.realmjoin.com/pt/automatizacao/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/pt/automatizacao/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.
