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 Apps / PowerApps Outlook Send...
Power Apps
Suggested Answer

PowerApps Outlook SendMailV2 Failed - "A device attached to the system is not functioning"

(0) ShareShare
ReportReport
Posted on by 24
Hi all,
 
We have built a canvas app that uses the Outlook SendEmailV2 , and dozens of users are using it without any issues.
 
However, one user does have a rather strange issue. Whenever the app tries to send an email on his behalf, he gets the below error. It's strange, as I would think Outlook shouldn't use any "devices".
Anyone any idea on what could cause this issue?
 
Error:
Office365Outlook.SendEmailV2 failed: "Failed to get onbehalfof access token: connectionId=office365, message=A device attached to the system is not functioning.\r\n"
 
Many thanks for your ideas,
 
Kind regards,
 
Wim
Failed_on_behalf_of_access_token.png
Categories:
  • Suggested answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at
    I would focus on the first half of the message rather than the device portion.  It looks like you are trying to Send the message out as a particular user. The user trying to use the app doesn't have permission to send an email as that person or for some reason can't acquire the authentication token required in the connection.  Check on the account being used to send the email and make sure this user has Send on Behalf of permission to that mailbox.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard