Loading

Resolução de problemas na criação de uma localização externa do Microsoft 365 (após uma mensagem de erro)

Quando cria uma localização externa do Microsoft 365 e clica em OK, a impressora verifica a configuração: verifica a conetividade ao servidor de nuvem Microsoft 365. Se isto falhar, é exibido um erro. Se se tratar de um erro específico do Microsoft 365, esta mensagem de erro é uma mensagem da Microsoft. Estas estão sempre em inglês.

NOTA

Se a verificação falhar, pode guardar a configuração no WebTools Express e corrigi-la mais tarde. Se, entretanto, esta localização externa for utilizada na impressora, a mensagem de erro do Microsoft 365 será apresentada no painel de controlo da impressora.

Em função da mensagem de erro, realize as verificações propostas na tabela seguinte para resolver o problema.

Mensagem de erro

Ação a executar

The connection test to Microsoft 365 failed, see details below:

AADSTS90002: Tenant <ID> not found. Check to make sure you have the correct tenant ID and are signing in to the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant. Trace ID: <Trace ID> Correlation ID: <Correlation ID> Timestamp: <timestamp>

Foi cometido um erro com o Application (client) ID e/ou o Directory (tenant) ID ao configurar a localização externa.

Verifique os IDs que configurou e/ou verifique com o administrador de TI.

The connection test to Microsoft 365 failed, see details below:

AADSTS700016: Application with identifier <ID> was not found in the directory <name>. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. Trace ID: <Trace ID> Correlation ID: <Correlation ID> Timestamp: <timestamp>

O Application (client) ID está errado.

Verifique o Application (client) ID configurado e/ou verifique com o administrador de TI

The connection test to Microsoft 365 failed, see details below:

AADSTS900023: Specified tenant identifier <ID> is neither a valid DNS name, nor a valid external domain. Trace ID: <Trace ID> Correlation ID: <Correlation ID> Timestamp: <timestamp>

O Directory (tenant) ID está errado.

Verifique o Directory (tenant) ID configurado e/ou verifique com o administrador de TI.

The test of the external location cannot be performed: an internal error has occurred.

Please restart the system and try again.

Este erro é gerado quando um proxy é necessário mas não está configurado no WebTools Express. Verifique as definições do proxy no WebTools Express.

Sign in

Sorry, but we're having trouble signing you in.

AADSTS50020: User account <Account> from identity provider <Account tenant ID> does not exist in tenant '<name>' and cannot access the application <Application ID><Application name> in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

O utilizador não existe no ambiente do inquilino onde a conta está registada.

Consulte o administrador de TI para determinar se a conta de utilizador tem de ser convidada para o inquilino ou se tem de utilizar uma conta diferente que já esteja registada no ambiente do inquilino especificado.

<External location name> cannot be reached (Microsoft Error: Invalid_client (7000218: (AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'. Trace ID: <Trace ID> Correlation ID: <Correlation ID> Timestamp: <timestamp>)). Please check that the Microsoft 365 environment is configured correctly

No Microsoft Entra admin center, navegue para:

ApplicationsApp registrationsYour created applicationAuthenticationAdvanced settings.

Verifique se Allow public client flows está definido para Yes. Se não estiver, altere a definição para Yes e guarde a aplicação.