Skip to content

Commit 9c9f000

Browse files
authored
Merge pull request #8069 from MicrosoftDocs/create-new-article-for-troubleshooting-broken-connections
AB#3557: Create new article for troubleshooting broken connections
2 parents 3c1e198 + 4fbb8d8 commit 9c9f000

2 files changed

Lines changed: 150 additions & 0 deletions

File tree

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
---
2+
title: Troubleshoot broken connections
3+
description: Learn how to troubleshoot and resolve connection problems and ensure a smoother experience with your applications and services in Microsoft Power Platform.
4+
ms.custom: sap:Connections
5+
ms.workload: connectors
6+
author: nravindra-msft
7+
ms.author: nravindra
8+
ms.reviewer: angieandrews
9+
ms.date: 01/23/2025
10+
11+
---
12+
# Troubleshoot broken connections in Microsoft Power Platform
13+
14+
There are various reasons why [connection](/power-automate/add-manage-connections) problems might occur in Microsoft Power Platform. This article describes some of the common reasons and helps you troubleshoot and solve these issues.
15+
16+
- [Connection times out](#connection-times-out)
17+
- [A DLP block occurs](#a-dlp-block-occurs)
18+
- [Invalid authenticated devices](#invalid-authenticated-devices)
19+
- [Inactivity for a long time](#inactivity-for-a-long-time)
20+
- [Connection issue related to attended mode](#connection-issue-related-to-attended-mode)
21+
- [Password modification by a user](#password-modification-by-a-user)
22+
- [Microsoft Entra ID configuration is changed](#microsoft-entra-id-configuration-is-changed)
23+
- [Connection owner account is deleted or disabled](#connection-owner-account-is-deleted-or-disabled)
24+
- [Tenant administrator disables the application](#tenant-administrator-disables-the-application)
25+
26+
## Connection times out
27+
28+
This issue occurs when a client (such as a web browser or an application) tries to establish a connection with a server, but the server doesn't respond within a specified time limit. This can occur for several reasons, such as the server being offline, network issues, or the server taking too long to process the request. When the connection times out, the client stops waiting for a response and terminates the connection attempt.
29+
30+
You might also receive the following error message:
31+
32+
> The user could not be authenticated as the grant is expired. The user must sign in again.
33+
34+
### Troubleshooting steps
35+
36+
1. Check your internet connection: Ensure that the internet connection is stable and working properly.
37+
2. Check the server status: Verify if the server you're trying to connect to is online and not experiencing any downtime.
38+
3. Try increasing the time-out limit: Sometimes, increasing the time-out limit can help in establishing a connection with the server.
39+
40+
## A DLP block occurs
41+
42+
[Data Loss Prevention (DLP)](/purview/dlp-learn-about-dlp) is a security measure that prevents sensitive information from being shared or transferred inappropriately. A DLP block occurs when a DLP policy detects that an action, such as sending an email or sharing a file, violates the organization's data protection rules. The DLP system then blocks the action to prevent potential data breaches or unauthorized access to sensitive information.
43+
44+
When a DLP block occurs, you might also receive one of the following error messages:
45+
46+
> - Access has been blocked by Conditional Access policies. The access policy does not allow token issuance.
47+
> - Device is not in required device state: domain_joined. Conditional Access policy requires a domain joined device, and the device is not domain joined.
48+
49+
### Troubleshooting steps
50+
51+
1. Review DLP policies: Check the DLP policies configured in the organization to understand what actions are being blocked and why.
52+
2. Consult with your administrator: If they've blocked the connector or connection, consult with them about unblocking it.
53+
54+
## Invalid authenticated devices
55+
56+
This refers to a situation where a user tries to authenticate using a device for multi-factor authentication (MFA), but the device is disabled. This issue isn't related to Power Automate but to the tenant's configuration at the administrative level.
57+
58+
In this situation, you might also receive one of the following error messages:
59+
60+
> - Device object was not found in the tenant '\<TenantID>' directory.
61+
> - Device is not in required device state: compliant. Conditional Access policy requires a compliant device, and the device is not compliant. The user must enroll their device with an approved MDM provider like Intune.
62+
> - Device used during the authentication is disabled.
63+
> - Application needs to enforce Intune protection policies.
64+
65+
### Troubleshooting steps
66+
67+
1. Contact the tenant administrator to understand why the device was disabled.
68+
2. Try re-authorizing the connection.
69+
70+
## Inactivity for a long time
71+
72+
This refers to a situation where a connection becomes invalid because it hasn't been used for a specified period. For example, the SharePoint connector requires usage at least once every 90 days to remain active. If the connection isn't used within this period, it expires.
73+
74+
For more information, see [Refresh tokens in the Microsoft identity platform](/entra/identity-platform/refresh-tokens).
75+
76+
In this situation, you might also receive one of the following error messages:
77+
78+
> - The refresh token has expired due to inactivity. The token was issued on \<DateTime> and was inactive for 90.00:00:00.
79+
> - The provided authorization code or refresh token has expired due to inactivity. Send a new interactive authorization request for this user and resource.
80+
81+
### Troubleshooting steps
82+
83+
Create a new connection or re-authorize the existing one.
84+
85+
## Connection issue related to attended mode
86+
87+
This refers to problems that occur when a user tries to use features that require a license for unattended mode but doesn't have the necessary license. In attended mode, the user must be present and interact with the system, whereas unattended mode allows for fully automated processes without user interaction. If a user without the appropriate license attempts to use unattended mode, the connection fails.
88+
89+
[Learn more about attended and unattended scenarios for process automation](/power-automate/guidance/planning/attended-unattended).
90+
91+
### Troubleshooting steps
92+
93+
Ensure the user has the correct license to interact with the system as required in unattended mode. For more information, see [Which Power Automate licenses do I need?](/power-platform/admin/power-automate-licensing/faqs#which-power-automate-licenses-do-i-need)
94+
95+
## Password modification by a user
96+
97+
This issue occurs when the account password used to create the connection is deleted, changed, or expired. Since account verification is a crucial part of authentication whenever a connection is triggered, the connection breaks if the new password isn't updated.
98+
99+
You might also receive the following error message:
100+
101+
> The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '\<DateTime>' and the TokensValidFrom date (before which tokens are not valid) for this user is '\<DateTime>'.
102+
103+
### Troubleshooting steps
104+
105+
Every time a user updates the password, the existing connection with the password becomes invalid, so the user must create a new connection for each of those connectors or edit the existing connection. To avoid this issue, use services like [Microsoft Entra ID](/entra/fundamentals/whatis).
106+
107+
## Microsoft Entra ID configuration is changed
108+
109+
This refers to modifications made at the Microsoft Entra ID (formerly Azure Active Directory) level that affect user identities or access policies. These changes include moving to a new location, altering user roles, or updating security settings. Such changes might invalidate existing tokens and require users to reauthenticate.
110+
111+
You might also receive the following error message:
112+
113+
> Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0000-c000-000000000000'.
114+
115+
### Troubleshooting steps
116+
117+
Contact the tenant administrator to understand the specific changes and reauthorize the connection if necessary.
118+
119+
## Connection owner account is deleted or disabled
120+
121+
This refers to a situation where the account that created a connection is either removed or disabled in the directory. As a result, the connection becomes invalid, affecting all users who share it.
122+
123+
In this situation, you might also receive one of the following error messages:
124+
125+
- > The user account {EUII Hidden} has been deleted from the \<DirectoryID> directory. To sign into this application, the account must be added to the directory.
126+
- > The user account is disabled.
127+
- > The user account {EUII Hidden} does not exist in the \<DirectoryID> directory. To sign into this application, the account must be added to the directory.
128+
129+
### Troubleshooting steps
130+
131+
To resolve this issue, another user with access can reauthorize the connection, thereby updating the ownership and restoring functionalities for all users.
132+
133+
## Tenant administrator disables the application
134+
135+
This refers to a situation where the tenant administrator has deactivated an application registered in Microsoft Entra ID (formerly Azure Active Directory). This action invalidates any service principal connections associated with the application, as it can no longer issue tokens.
136+
137+
You might also receive the following error message:
138+
139+
> The service principal for resource '\<ResourceID>' is disabled. This indicate that a subscription within the tenant has lapsed, or that the administrator for this tenant has disabled the application, preventing tokens from being issued for it.
140+
141+
### Troubleshooting steps
142+
143+
To resolve this issue, the tenant administrator needs to reenable the application or create a new service principal connection.
144+
145+
## More information
146+
147+
- [Manage connections in Power Automate](/power-automate/add-manage-connections)
148+
- [Create a connection with a service principal](/power-automate/desktop-flows/alm/alm-connection)

support/power-platform/power-automate/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
href: connections/client-request-aborted-failed-fetch.md
3535
- name: Missing on-premises data gateway
3636
href: connections/check-if-gateway-is-the-right-region.md
37+
- name: Troubleshoot broken connections
38+
href: connections/troubleshoot-broken-connections.md
3739
- name: Troubleshoot Flow Connections
3840
href: connections/troubleshooting-flow-connections.md
3941
- name: Troubleshoot Flow Custom Connectors

0 commit comments

Comments
 (0)