Invalid connection - PowerAutomate
Some days ago, I started having issues in all my flows, seemingly out of nowhere. I was getting Invalid Connectionerrors, all of them related to my account without having changed anything substantial in it.
The Problem
The error itself doesn’t provide much context in how to solve the issue:
Invalid connection
Here’s what my two main flows look like:


I checked the connection itself in the Power Automate’s Data > Connections and seemed to be ok. No changes. They were still there with a Connected state.

The issue is triggered when you enable multi-factor authentication in your account, so Power Automate invalidates the connection. It now requires more information from the user, which makes sense. The issue was that flow should have flagged it is either “Invalid Connection” or “Not Connected” to indicate that I need to fix it.
The Solution
The solution was simple. Just go to the Flow’s Data > Connections

And re-authenticate to the same account. Power Automate will ask for your multi-factor authentication token and resets the connection. Just run your flows and voilà. Problem solved.
Key Takeaways
Your first instinct would be to remove the connections from the flow and re-add them, bringing a lot of work in refactoring. You would be wasting time since the primary connection would still have the same issue.
These issues with connections happen all the time, especially if you’re not in control of the security settings of your account. The administrator may rollout changes without you knowing, and this can have an impact on your flows.
Always go first to the Data > Connection and reset the connection. By doing this, you will reset your authentication with the new security policies in place and, in most cases, will solve your issue.
posted on 2021-05-07 16:47 lingdanglfw 阅读(189) 评论(0) 编辑 收藏 举报
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?