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 Automate / NotAllowedConnectionRe...
Power Automate
Unanswered

NotAllowedConnectionReference - Outlook 365 Connector

(0) ShareShare
ReportReport
Posted on by 49

I have an app, which triggers a flow, that sends an email, where send as is a shared mailbox. The service account has send as access to the shared mailbox. 

 

Everything works great, except ONE user gets an error when clicking the button. All other users can trigger the flow just fine. 

The user get's the following error: 

Run failed: {"error":{"code":"xxxxxxx","message":"{\"errorCode\":\"NotAllowedConnectionReference\",\"message\":\"Connection reference 'shared_office365_1' can not be given by invoker.

 

- The user has Power Apps Premium license

- The Outlook Office 365 connection is using a service account

- The run as has been set to use the service account every time the flow is run

 

Is there something I am missing? I can't seem to find anyone else having this issue, and no matter what I try I can't seem to find the reason to this error. And the error is ONLY for ONE user. 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,685 Super User 2025 Season 2 on at

    Hi @C-Jac 

     

    They have the license, but can you verify that they are added to the environment and given proper roles?

     

    I would verify their config against someone that should have equal config(s) and see whats missing.

     

    I would even go into Power app / Environment / Users / Select them and Run Diagnostics on them


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • SC-14081350-0 Profile Picture
    2 on at
    Same problem.  
     
    Connection is set to run only on service account, and is in a managed solution (so no I can't refresh the flows in the app)
     
    I went through exact same process with same connection type in another app, and it works fine.  

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 Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard