# As coleções de sites não são apresentadas para alguns utilizadores

## Situação

Atualmente, alguns clientes estão a ter problemas em que utilizadores específicos não conseguem ver quaisquer Site Collections dentro do KONNEKT.&#x20;

O KONNEKT utiliza a RestAPI ligada ao SharePoint Online para identificar as Site Collections às quais um utilizador pode aceder. A consulta responsável por isto pode ser localizada nos registos do KONNEKT antes desta linha:

```
A consulta do SharePoint devolveu os seguintes sites 
```

A estrutura é semelhante a esta:

```
https://<TenantName>.sharepoint.com/_api/search/query?QueryText=%27%28webtemplate%3ASTS%20OR%20webtemplate%3AGROUP%20OR%20webtemplate%3ASITEPAGEPUBLISHING%29%20AND%20%28contentclass%3DSTS_Site%20OR%20contentclass%3DSTS_Web%29%20AND%20path%3Ahttps%3A%2F%2F%27&SelectProperties=%27SiteId%2CSiteLogo%2CPath%2CTitle%2CDescription%27&Properties=%27EnableMultiGeoSearch%3Atrue%2C%20EnableDynamicGroups%3Atrue%27&ClientType=%27KONNEKT%27&StartRow=0&RowLimit=500&BypassResultTypes=true&EnableQueryRules=false&ProcessBestBets=false&ProcessPersonalFavorites=false&TrimDuplicates=false
```

Ao usar o Edge, o XML deve apresentar todas as Site Collections às quais um utilizador pode aceder. No final, será fornecido o "InternalRequestId", que pode ajudar a Microsoft a identificar a causa raiz do problema.

## **Solução temporária para adicionar partilhas**

\- ​Manualmente&#x20;

\- Clique com o botão direito em Accounts / Add Share

![](https://eucattachment.freshdesk.com/inline/attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MjA0MDA2MTY3MTUzLCJkb21haW4iOiJjNGE4LmZyZXNoZGVzay5jb20iLCJhY2NvdW50X2lkIjozNDEwODY3fQ.EwKt8cWoK0Xa0306p3SGU4SYjphP1T-lB3LReg8fZG0)

\
\- ou use "[Managed Mappings](/pt/configuration/mappings/managed-mappings.md)"\
\
\
Por favor, ajude a aumentar a visibilidade ao abrir um Microsoft para o tenant M365 afetado.

```
"A seguinte consulta da RestAPI devolve site collections para alguns utilizadores e nenhuma site collection para outros. Nada foi alterado nas autorizações correspondentes. Este é o pedido correspondente:"
```

## issue do GitHub

{% @github-files/github-code-block url="<https://github.com/SharePoint/sp-dev-docs/issues/10256>" %}

## Problema resolvido

<https://admin.microsoft.com/#/servicehealth/history/:/alerts/SP1072852>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.konnekt.io/pt/troubleshooting/causas-de-conteudo-em-falta/as-colecoes-de-sites-nao-sao-apresentadas-para-alguns-utilizadores.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
