Hi,
This error is related to an authentication failure in your connection, specifically with Azure AD (Entra ID), and not an issue with your flow logic.
Error insight:
The key part of the error is:
"AADSTS700003: Device object was not found in the tenant"
and
"Failed to refresh access token"
What’s happening:
Your Office 365 connection in Power Automate is failing to refresh its access token because the device or identity associated with the connection is no longer valid or recognized in Azure AD. Due to this, the connection is marked as "Error" and gets blocked during execution.
Why this occurs:
- The device used to create the connection was removed or is no longer registered in Azure AD
- The user session/token has expired or become invalid
- Conditional Access or security policies are blocking the authentication
- The connection was created under a different tenant/user context
What you should do:
1. Re-authenticate the connection
Go to Data → Connections in Power Automate
Find the Office 365 connection
Fix or re-login to refresh authentication
2. Remove and recreate the connection (recommended)
If re-authentication doesn’t work:
- Delete the existing connection
- Create a new Office 365 connection
- Rebind it in your flow
3. Check Azure AD device status
Ask your admin to verify:
- If your device is still registered in Azure AD
- If it has been deleted or disabled
4. Review Conditional Access policies
Sometimes policies block token issuance. Your admin should check if any policy is:
- Blocking device-based authentication
- Requiring compliant or registered devices
5. Verify tenant and account
Ensure you are logged into the correct tenant and using the same account that created the connection.
Suggested approach:
In most cases, simply recreating the connection resolves this issue. If it persists, it’s likely related to Azure AD device registration or policy restrictions.
Hope this helps,
If this helps resolve your issue, please consider marking the response as Verified so it can help others facing a similar scenario.
If you found this helpful, you can also click “Yes” on “Was this reply helpful?” or give it a Like.