Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Support Ticket App - Outlook Flow Permission Error

(0) ShareShare
ReportReport
Posted on by 71

I am building a support ticket app with one support ticket account "support@cortoso.com". When an email is send to this account it is saved as a new ticket in a share point list which is connected to the power app. The support account is the main owner of all the flows. The employees have to be able to use there personal accounts to send an reply to the customer from within the power app using the support account as sending email. At the moment I am only able to send emails logged into the support account and not when logged into my personal account "john.doe@cortoso.com", even though I am a co-owner of the flow that is sending the email.  The flow is connected to Office 365 and SharePoint via the support account. How can I set the permissions so this is possible?

 

The App has all the input fields for the Email. When a send button is pressed it triggers a flow sending the email using the Outlook step "Reply To Email (V3)". This step is connected with the support account and works when being logged in with the support account. But it does not work using the "John.Doe" account, even though it is co-owner of the app and the flow. When opening the App via "John.Doe" in edit mode the flow is disconnected and can not be connected again because of lacking permissions. When I run the app and try to send an email, the flow triggers but I get following error in the Outlook step: "You are not authorized to perform this operation. This error can occur for sandbox (test) accounts or when OData operations have been disabled by your Exchange Server administrator."

Categories:
  • Verified answer
    Power_Person Profile Picture
    71 on at
    Re: Support Ticket App - Outlook Flow Permission Error

    Ok, the solution was kind of obvious. The Exchange Server administrator has to go into the settings of the support account and give every single user account that wants to send E-Mails via the Power Apps Flow the permissions to do so. When the Outlook Connector "Reply to Email (V3)" is used to reply to an existing conversation the user account not only needs the "Send on behalf" permission, it also needs the "Read and manage" permission on top to search for the existing E-Mail in the Support Account Inbox.

    Here is a guide on how to change the permission settings:
    https://www.nucleustechnologies.com/blog/how-to-grant-permissions-to-other-office-365-mailboxes/

  • Power_Person Profile Picture
    71 on at
    Re: Support Ticket App

    The App has all the input fields for the Email. When a send button is pressed it triggers a flow sending the email using the Outlook step "Reply To Email (V3)". This step is connected with the support account and works when being logged in with the support account. But it does not work using the "John.Doe" account, even though it is co-owner of the app and the flow. When opening the App via "John.Doe" in edit mode the flow is disconnected and can not be connected again because of lacking permissions. When I run the app and try to send an email, the flow triggers but I get following error in the Outlook step: "You are not authorized to perform this operation. This error can occur for sandbox (test) accounts or when OData operations have been disabled by your Exchange Server administrator."

  • Shalom_Oguntolu Profile Picture
    17 on at
    Re: Support Ticket App

    Do you want to respond to the Email via the App or via Outlook ? Can you access the app with your personal account “John.doe” ?

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!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,011 Most Valuable Professional

Leaderboard