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

Notifications

Announcements

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
Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    68,707 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard