cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
knives
Helper I
Helper I

The caller with object id does not have permission for connection under Api 'shared_sql' and failed during http send request errors

I am creating a simple flow using a service account that has all the correct permissions for both power automate and powerapps and all the relevant data sources.

 

I cannot test this flow in power automate and I cannot add the flow to powerapps. My manager is the only person who can test the flow and add the flow to powerapps.

 

I cannot understand why this is happening as I have had several other view similar flows that are using the service account > data source connection with no issues and have been able to add these to my powerapp with no problems. I understand that this is a permissions issue but I cannot understand where the issue is stemming from as it was working on Monday and suddenly stopped working yesterday. I was hoping that the issue would resove itself if left overnight as many other users have experienced but this doesn't seem to be the case.

 

I've gotten very far in creating this app and all the flows associated so re-creating this app and all flows is not an option.

 

Any help would be much appreciated

1 ACCEPTED SOLUTION

Accepted Solutions
knives
Helper I
Helper I

For anyone experiencing the same issue this is what we did to fix the issue.

 

We restarted the gateway which fixed the majority of the connection issues on their own. For those that did not fix with a restart, we went into the connections section:

knives_0-1596527309713.png

Unshared with everyone, including those who have edit permissions, so that only the owner is left and re-shared. Then went back in and re-added people with the correct permissions.

View solution in original post

14 REPLIES 14
so96ie
Frequent Visitor

I have the same issue too, 

All action under SQL Server option always fails. The 'Server Name', 'Database Name', and 'Table Name' input fields always show error 'Could not retrieve values. The caller with object id { objectid } does not have permission for connection { connectionid } under API "shared_sql"'.

 

I have been using power automate since June 2019, and never experienced this before. 


Please fix this error. 

Thanks

knives
Helper I
Helper I

For anyone experiencing the same issue this is what we did to fix the issue.

 

We restarted the gateway which fixed the majority of the connection issues on their own. For those that did not fix with a restart, we went into the connections section:

knives_0-1596527309713.png

Unshared with everyone, including those who have edit permissions, so that only the owner is left and re-shared. Then went back in and re-added people with the correct permissions.

AnotherRedbeard
Advocate I
Advocate I

I was having a very similar issue to this inside of a flow that was trying to use a SQL Server Connection, but it wasn't able to find the server and database all of a sudden.  Our problem was fixed by editing the connection and reconnecting to the database.  This can only be done by the owner of the connection.

 

Hope that helps someone!

HelpfulBit
Helper I
Helper I

Hi,

 

It appears you've figured it out, but I've seen this a few times, with different connectors and decided to share what I've found is a common cause for flow connection references not working. https://helpfulbit.com/connection-references-caller-does-not-have-permission-for-connection/

If you find this keeps happening, the article migh shed some light on why.

 

This older article may also be helpful https://helpfulbit.com/upgrade-flows-to-use-connection-references/ 


Feel free to reach out with any questions.

 

Ryan.

Therese1
Frequent Visitor

I got this same error while trying to Export a Canvas PowerApp.  The issue turned out to be a Flow/Power Automate that no longer existed was referred in the Canvas App.  Deleting the extra Flow fixed my issue. Hope this helps someone. 

 

 

Therese1_0-1639000704567.png

 

Khuys
Helper II
Helper II

A good afternoon,

I had to update my gateway software, and I can't update my connections, I get the following errors 'The Caller with the object Id does not have the minimum required permission to perform the requested operation on connection under API 'shared_sql'

 

When i use the account directly on sql server I have to problems to login with that account, 

but when I want to make the connection then it doesn't work, I had a look on the web, but at this moment nothing helps me to resolve the problem, 

 

-the Gateways is active (no errors there)

- tried to adjust a connection that I had that I want to update : does not worked

- tried to make a new connection same error, 

is there somebody that have a sudjestion, 

I am working with sql 2008 and logging in with windows Authentication (that worked till yesterday like it should

Koen

 

HelpfulBit
Helper I
Helper I

HI @Khuys , Did you read the post I linked above, back in 2021.  It has been a while, but if I recall the specifics correctly, this happens when the flow references a connection that the calling user can't access / use.  But, simply creating a new connection doesn't always fix it as the connection privileges appear to be evaluated when the flow is activated, so you may need to deactivate and reactivate, even if you've updated the connection.  TRY deactivating the flow, remove the old connection, save the flow. Create a new connection, which you own, add to the flow, save and reactivate to ensure the flow isn't using a cached reference to the old connection.   

I'll also note - you didn't mention solution deployments, but, when I did that write up, I noted that the solution deployment process didn't always trigger such connection references to refresh if the underlying connections aren't accessible to a different account than what was originally used to deploy an updated version of the flow / connections. The deployment would break it requiring you 1) verify the connection was in facti shared with the user, and 2) re-enable the flow to ensure the flow permissions were re-evlauated to reflect this. Of course, it has been nearly 2 years and MSFT may have identified and fixed this aspect since then. 

I don't fully follow the steps you've taken, but hopefully this helps.  If not, perhaps we can hop on a call some time if you haven't otherwise figured it out. 

Ryan.

I did everything as the above, but I am still not able to connect

 

flowForm
Frequent Visitor

Hi all

 

I face a similar issue with the error "The caller with object id '9a13e5dc-2563-4034-bb27-1a4c00f5a53f' does not have the minimum required permission to perform the requested operation on connection '99db8037c5c64daeae3b916e11a1a248' under API 'shared_powerappsnotification'."

Things I have tried -

1. Remove all connections and re-shared

2. Turning off power automate flow (to send notifications) and turning it on 

3. Did above steps and tried to publish, but still failed.

4. I have no power apps admin access, unable to remove connections.

 

Does anyone have any idea how to go about to solve it?

A good morning, my problem got solved yesterday

- I downloaded the gateway again from the website

- I turned off the flows

- I normally log in with windows authentication, I changed it to sql authentication

- server name: instead of using the server name, I used the ipnumber 

the connection whent through, then I turned on the flows again, and in the app I had update the connections

Kindest regards

 

InfinityAlarm
Frequent Visitor

In case anyone else runs into this and does not find success with any of the suggested solutions, I'll add a little context of my situation and what worked for me in case it helps.

 

I'm kinda a bit of a noob to the Power Platform 😅 and had built a decently complex app using Power Apps and Power Automate. I had a SQL Server Connection that both used (Power Apps used it to read in some data for the app, Power Automate used it to insert or update data to the same database), however being the noob I am, I'd been working on this all with my domain credentials. When my password changed, it broke everything. I got a service account set up to use for authentication, and had to re-create the Connection. I updated the Data Source in Power Apps, and got Power Automate to recognize the re-created data source, but when I couldn't publish the app because I kept getting the

 

The caller with object id [hex id string] does not have the minimum required permission to perform the requested operation on connection [hex id string] under API 'shared_sql'.

 

message. I tried everything listed here, plus recreating the connection yet again to no avail. What finally worked for me was deleting all the flows from the Power Automate tab in Power Apps, publishing, adding them back, then publishing again. I feel kinda dumb for not trying that sooner, but hopefully that helps someone! 💖

shred_yerbootie
Frequent Visitor

Had the same issue, which led me to this page. Turned out to be an issue with the PowerAppsNotificationV2 connector (see image). Once I deleted that, I was able to publish my app, and all was suddenly well with the world. 

 

Hope this helps someone ... have a great day! 

shred_yerbootie
Frequent Visitor

Hi again -- apparently I can insert an image in my post. Woooo!!  😁

This is the connector I alluded to in the post above (so now you don't have to download anything...) 

 

To recap: this is how I resolved the issue which led me to this page: I deleted the PowerAppsNotificationV2 connector, and then I was able to publish my app. Anyone listening at MSFT?  🙄

 

shred_yerbootie_0-1709211249095.png

 

bwbrandiwoodson
New Member

So I was building a manually start trigger flow. I was receiving this same error when testing from another account. I don't understand why but the only way I got it to work is when I added the user attempting to request approval as a co-owner of the flow which is NOT what we'd want to do.

Was there any resolution to this? How do we allow users to trigger the flow (flow owner) and let the workflow run under the credentials for all the other actions in the flow without requiring to add all users as a co-owner?

Helpful resources

Announcements

Copilot Cookbook Challenge | Win Tickets to the Power Platform Conference

We are excited to announce the "The Copilot Cookbook Community Challenge is a great way to showcase your creativity and connect with others. Plus, you could win tickets to the Power Platform Community Conference in Las Vegas in September 2024 as an amazing bonus.   Two ways to enter: 1. Copilot Studio: https://aka.ms/CS_Copilot_Cookbook_Challenge 2. Power Apps Copilot Cookbook Gallery: https://aka.ms/PA_Copilot_Cookbook_Challenge   There will be 5 chances to qualify for the final drawing: Early Bird Entries: March 1 - June 2Week 1: June 3 - June 9Week 2: June 10 - June 16Week 3: June 17 - June 23Week 4: June 24 - June 30     At the end of each week, we will draw 5 random names from every user who has posted a qualifying Copilot Studio template, sample or demo in the Copilot Studio Cookbook or a qualifying Power Apps Copilot sample or demo in the Power Apps Copilot Cookbook. Users who are not drawn in a given week will be added to the pool for the next week. Users can qualify more than once, but no more than once per week. Four winners will be drawn at random from the total qualifying entrants. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once. If they are drawn multiple times, another user will be drawn at random. Prizes:  One Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value, does not include travel, lodging, or any other expenses) Winners are also eligible to do a 10-minute presentation of their demo or solution in a community solutions showcase at the event. To qualify for the drawing, templates, samples or demos must be related to Copilot Studio or a Copilot feature of Power Apps, Power Automate, or Power Pages, and must demonstrate or solve a complete unique and useful business or technical problem. Power Automate and Power Pagers posts should be added to the Power Apps Cookbook. Final determination of qualifying entries is at the sole discretion of Microsoft. Weekly updates and the Final random winners will be posted in the News & Announcements section in the communities on July 29th, 2024. Did you submit entries early?  Early Bird Entries March 1 - June 2:  If you posted something in the "early bird" time frame complete this form: https://aka.ms/Copilot_Challenge_EarlyBirds if you would like to be entered in the challenge.

May 2024 Community Newsletter

It's time for the May Community Newsletter, where we highlight the latest news, product releases, upcoming events, and the amazing work of our outstanding Community members.   If you're new to the Community, please make sure to follow the latest News & Announcements and check out the Community on LinkedIn as well! It's the best way to stay up-to-date with all the news from across Microsoft Power Platform and beyond.        COMMUNITY HIGHLIGHTS Check out the most active community members of the last month! These hardworking members are posting regularly, answering questions, kudos, and providing top solutions in their communities. We are so thankful for each of you--keep up the great work! If you hope to see your name here next month, follow these awesome community members to see what they do!   Power AppsPower AutomateCopilot StudioPower PagesWarrenBelzcreativeopinionExpiscornovusFubarAmikNived_NambiarPstork1OliverRodriguesmmbr1606ManishSolankiMattJimisonragavanrajantimlSudeepGhatakNZrenatoromaoLucas001iAm_ManCatAlexEncodianfernandosilvaOOlashynJmanriqueriosChriddle  BCBuizerExpiscornovus  a33ikBCBuizer  SebSDavid_MA  dpoggermannPstork1     LATEST NEWS   We saw a whole host of amazing announcements at this year's #MSBuild, so we thought we'd share with you a bite sized breakdown of the big news via blogs from Charles Lamanna, Sangya Singh, Ryan Cunningham, Kim Manis, Nirav Shah, Omar Aftab, and ✊🏾Justin Graham :   New ways of development with copilots and Microsoft Power PlatformRevolutionize the way you work with Automation and AIPower Apps is making it easier for developers to build with Microsoft Copilot and each otherCopilot in Microsoft Fabric is now generally available in Power BIUnlock new levels of productivity with Microsoft Dataverse and Microsoft Copilot StudioMicrosoft Copilot Studio: Building copilots with agent capabilitiesMicrosoft Power Pages is bringing the new standard in secure, AI-powered capabilities   If you'd like to relive some of the highlights from Microsoft Build 2024, click the image below to watch a great selection of on-demand Keynotes and sessions!         WorkLab Podcast with Charles Lamanna   Check out the latest episode of the WorkLab podcast with CVP of Business Apps and Platforms at Microsoft, Charles Lamanna, as he explains the ever-expanding evolution of Copilot, and how AI is offering new opportunities for business leaders. Grab yourself a coffee and click the image below to take a listen.       Event Recap: European Collaboration and Cloud Summits 2024   Click the image below to read a great recap by Mark Kashman about the recent European Collaboration Summit and European Cloud Summit held in Germany during May 2024. Great work everybody!       UPCOMING EVENTS European Power Platform Conference - SOLD OUT! Congrats to everyone who managed to grab a ticket for the now SOLD OUT European Power Platform Conference, which takes place in beautiful Brussels, Belgium, on 11-13th June. With a great keynote planned from Ryan Cunningham and Sangya Singh, plus expert sessions from the likes of Aaron Rendell, Amira Beldjilali, Andrew Bibby, Angeliki Patsiavou, Ben den Blanken, Cathrine Bruvold, Charles Sexton, Chloé Moreau, Chris Huntingford, Claire Edgson, Damien Bird, Emma-Claire Shaw, Gilles Pommier, Guro Faller, Henry Jammes, Hugo Bernier, Ilya Fainberg, Karen Maes, Lindsay Shelton, Mats Necker, Negar Shahbaz, Nick Doelman, Paulien Buskens, Sara Lagerquist, Tricia Sinclair, Ulrikke Akerbæk, and many more, it looks like the E in #EPPC24 stands for Epic!   Click the image below for a full run down of the exciting sessions planned, and remember, you'll need to move quickly for tickets to next year's event!       AI Community Conference - New York - Friday 21st June Check out the AI Community Conference, which takes place at the Microsoft Corporate building on Friday 21st June at 11 Times Square in New York City. Here, you'll have the opportunity to explore the latest trends and breakthroughs in AI technology alongside fellow enthusiasts and experts, with speakers on the day including Arik Kalininsky, Sherry Xu, Xinran Ma, Jared Matfess, Mihail Mateev, Andrei Khaidarov, Ruven Gotz, Nick Brattoli, Amit Vasu, and more. So, whether you're a seasoned professional or just beginning your journey into AI, click the image below to find out more about this exciting NYC event.       TechCon365 & Power Platform Conference - D.C. - August 12-16th ** EARLY BIRD TICKETS END MAY 31ST! ** Today's the perfect time to grab those early bird tickets for the D.C. TechCon365 & PWRCON Conference at the Walter E Washington Center on August 12-16th! Featuring the likes of Tamara Bredemus, Sunny Eltepu, Lindsay Shelton, Brian Alderman, Daniel Glenn, Julie Turner, Jim Novak, Laura Rogers, Microsoft MVP, John White, Jason Himmelstein, Luc Labelle, Emily Mancini, MVP, UXMC, Fabian Williams, Emma Wiehe, Amarender Peddamalku, and many more, this is the perfect event for those that want to gain invaluable insights from industry experts. Click the image below to grab your tickets today!         Power Platform Community Conference - Sept. 18-20th 2024 Check out some of the sessions already planned for the Power Platform Community Conference in Las Vegas this September. Holding all the aces we have Kristine Kolodziejski, Lisa Crosbie, Daniel Christian, Dian Taylor, Scott Durow🌈, David Yack, Michael O. and Aiden Kaskela, who will be joining the #MicrosoftCommunity for a series of high-stakes sessions! Click the image below to find out more as we go ALL-IN at #PPCC24!       For more events, click the image below to visit the Community Days website.    

Celebrating the May Super User of the Month: Laurens Martens

  @LaurensM  is an exceptional contributor to the Power Platform Community. Super Users like Laurens inspire others through their example, encouragement, and active participation. We are excited to celebrated Laurens as our Super User of the Month for May 2024.   Consistent Engagement:  He consistently engages with the community by answering forum questions, sharing insights, and providing solutions. Laurens dedication helps other users find answers and overcome challenges.   Community Expertise: As a Super User, Laurens plays a crucial role in maintaining a knowledge sharing environment. Always ensuring a positive experience for everyone.   Leadership: He shares valuable insights on community growth, engagement, and future trends. Their contributions help shape the Power Platform Community.   Congratulations, Laurens Martens, for your outstanding work! Keep inspiring others and making a difference in the community!   Keep up the fantastic work!        

Check out the Copilot Studio Cookbook today!

We are excited to announce our new Copilot Cookbook Gallery in the Copilot Studio Community. We can't wait for you to share your expertise and your experience!    Join us for an amazing opportunity where you'll be one of the first to contribute to the Copilot Cookbook—your ultimate guide to mastering Microsoft Copilot. Whether you're seeking inspiration or grappling with a challenge while crafting apps, you probably already know that Copilot Cookbook is your reliable assistant, offering a wealth of tips and tricks at your fingertips--and we want you to add your expertise. What can you "cook" up?   Click this link to get started: https://aka.ms/CS_Copilot_Cookbook_Gallery   Don't miss out on this exclusive opportunity to be one of the first in the Community to share your app creation journey with Copilot. We'll be announcing a Cookbook Challenge very soon and want to make sure you one of the first "cooks" in the kitchen.   Don't miss your moment--start submitting in the Copilot Cookbook Gallery today!     Thank you,  Engagement Team

Announcing Power Apps Copilot Cookbook Gallery

We are excited to share that the all-new Copilot Cookbook Gallery for Power Apps is now available in the Power Apps Community, full of tips and tricks on how to best use Microsoft Copilot as you develop and create in Power Apps. The new Copilot Cookbook is your go-to resource when you need inspiration--or when you're stuck--and aren't sure how to best partner with Copilot while creating apps.   Whether you're looking for the best prompts or just want to know about responsible AI use, visit Copilot Cookbook for regular updates you can rely on--while also serving up some of your greatest tips and tricks for the Community. Check Out the new Copilot Cookbook for Power Apps today: Copilot Cookbook - Power Platform Community.  We can't wait to see what you "cook" up!    

Welcome to the Power Automate Community

You are now a part of a fast-growing vibrant group of peers and industry experts who are here to network, share knowledge, and even have a little fun.   Now that you are a member, you can enjoy the following resources:   Welcome to the Community   News & Announcements: The is your place to get all the latest news around community events and announcements. This is where we share with the community what is going on and how to participate.  Be sure to subscribe to this board and not miss an announcement.   Get Help with Power Automate Forums: If you're looking for support with any part of Power Automate, our forums are the place to go. From General Power Automate forums to Using Connectors, Building Flows and Using Flows.  You will find thousands of technical professionals, and Super Users with years of experience who are ready and eager to answer your questions. You now have the ability to post, reply and give "kudos" on the Power Automate community forums. Make sure you conduct a quick search before creating a new post because your question may have already been asked and answered. Galleries: The galleries are full of content and can assist you with information on creating a flow in our Webinars and Video Gallery, and the ability to share the flows you have created in the Power Automate Cookbook.  Stay connected with the Community Connections & How-To Videos from the Microsoft Community Team. Check out the awesome content being shared there today.   Power Automate Community Blog: Over the years, more than 700 Power Automate Community Blog articles have been written and published by our thriving community. Our community members have learned some excellent tips and have keen insights on the future of process automation. In the Power Automate Community Blog, you can read the latest Power Automate-related posts from our community blog authors around the world. Let us know if you'd like to become an author and contribute your own writing — everything Power Automate-related is welcome.   Community Support: Check out and learn more about Using the Community for tips & tricks. Let us know in the Community Feedback  board if you have any questions or comments about your community experience. Again, we are so excited to welcome you to the Microsoft Power Automate community family. Whether you are brand new to the world of process automation or you are a seasoned Power Automate veteran - our goal is to shape the community to be your 'go to' for support, networking, education, inspiration and encouragement as we enjoy this adventure together.     Power Automate Community Team

Users online (2,570)