Skip to main content

Notifications

Community site session details

Community site session details

Session Id : uhLuncuV3BRlZX7UeJSUdD
Power Automate - AI Builder
Answered

Error: Failed to acquire token from AAD:

Like (2) ShareShare
ReportReport
Posted on 20 Sep 2024 18:45:14 by Microsoft Employee
I had this error on a flow that had previously worked.  The details of the error are as follows:
 
Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and office365 is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: aadcertificate. Correlation Id=ec919fc0-9db1-4d6a-8229-e51304619b73, UTC TimeStamp=9/20/2024 6:37:14 PM, Error: Failed to acquire token from AAD: {"error":"interaction_required","error_description":"AADSTS53000: 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. Trace ID: cc068b80-533c-4ee5-89a5-0df83eaa2b00 Correlation ID: 35ac09c1-f2ea-4c4e-b1f7-887358b0d58a Timestamp: 2024-09-20 18:37:14Z","error_codes":[53000],"timestamp":"2024-09-20 18:37:14Z","trace_id":"cc068b80-533c-4ee5-89a5-0df83eaa2b00","correlation_id":"35ac09c1-f2ea-4c4e-b1f7-887358b0d58a","error_uri":"https://login.windows.net/error?code=53000","suberror":"additional_action","claims":"{\"access_token\":{\"capolids\":{\"essential\":true,\"values\":[\"300b974c-2220-474c-8335-1769a9a7741d\",\"beb1f35a-9140-4be5-a760-4bdca268c434\",\"c4cc8861-4e14-42f9-b2e5-9f04efa54474\",\"8e924926-fd72-4e2d-bcc7-dba810cfa887\",\"f8e00463-5b8d-4925-be87-e15a1bd62a01\",\"22fda371-5f26-442f-92bc-c9a4417603bf\",\"218a059d-b350-42cf-b066-d5cd5cb4047b\"]}}}"}']
 
This was done on my work device, so not sure what it all means. Any help is greatly appreciated!
Categories:
  • Verified answer
    Michael E. Gernaey Profile Picture
    41,832 Super User 2025 Season 1 on 21 Sep 2024 at 01:51:41
    Error: Failed to acquire token from AAD:
    Hi
     
    According to this there are multiple IT policies that your work has put in to block several of the things you are trying to do.
     
    What you need to do:
     
    1) Your company seems to have a policy that you need to register your phone with InTune (which is good), so you need to do that.
    The user must enroll their device with an approved MDM provider like Intune.
    Once you do that, its very possible that it will simply work
     
    2) if not then you have to ask them to white list the Office365 Connector.
    nd office365 is in the block list.
     
    Its possible its not on a block list, but IT because your Device has not been registered and is NOT Compliance with your business's policies
     
    Do that and it will work
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - AI Builder

#1
Daniel133 Profile Picture

Daniel133 2

Overall leaderboard
Loading started
Loading complete