web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unauthorized Error Whe...
Power Automate
Unanswered

Unauthorized Error When Sending From Shared Inbox

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I have a flow that runs in conjunction with an app (app supplies data to flow). The app/flow work well for me but I am getting the following error at the last step of the flow, which sends an email from a shared inbox when my end users trigger the flow:

 

 

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=ba0df5ec-1f91-4822-8300-b67e9146fb7a, UTC TimeStamp=9/16/2022 8:03:58 PM, Error: Failed to acquire token from AAD: {"error":"invalid_grant","error_description":"AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2022-06-16T00:43:50.2117454Z and was inactive for 90.00:00:00.\r\nTrace ID: 00adc50e-037c-476e-9996-ba903f2d1800\r\nCorrelation ID: 63a281a3-605c-4a8e-9834-443dd97a351a\r\nTimestamp: 2022-09-16 20:03:58Z","error_codes":[700082],"timestamp":"2022-09-16 20:03:58Z","trace_id":"00adc50e-037c-476e-9996-ba903f2d1800","correlation_id":"63a281a3-605c-4a8e-9834-443dd97a351a","error_uri":"https://login.windows.net/error?code=700082"}']

 

 

Is this some kind of permissions error and how can I go about fixing it?

 

Best,

Steve

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @shuhn1229 ,

     

    Does all users have access to the shared mail box? If no, and you cannot give all of them the access privilege, please check below:

    Solved: Send email from shared mailbox with PowerApps trig... - Power Platform Community (microsoft.com)

     

    Best regards,

  • mjohn209 Profile Picture
    2 on at

    Hey @shuhn1229,

     

    Try navigating to Data -> Connections. Find that connection that you are using and either select Switch account and to force it to reauthorize or if there is a 'Fix Connection' select that.

     

    Another thing, if the user is a Run-Only user for that Flow, check to make sure that the Run-Only setting is set to use a specific account and not the Run-Only user account.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard