Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Suggested answer

Cloud flows were turned off after being deployed to a managed environment through pipeline

(2) ShareShare
ReportReport
Posted on by 54
Hi,
 
I deployed my flow to a managed environment through pipeline and found that all my cloud flows were turned off. I asked the administrator to turn them on and got error below:
 
"{"error":{"code":"ConnectionAuthorizationFailed","message":"The caller object id is 'd8fdc327-2ac0-42f3-b6a2-f18beeb5271b'. Connection 'empsaco_sharedoffice365groups_d8980' to 'shared_office365groups' cannot be used to activate this flow, either because this is not a valid connection or because it is not a connection you have access permission for. Either replace the connection with a valid connection you can access or have the connection owner activate the flow, so the connection is shared with you in the context of this flow."}}".
 
Do you have any ideas on how to fix this issue? Thanks a lot.
Categories:
  • zacker Profile Picture
    54 on at
    Cloud flows were turned off after being deployed to a managed environment through pipeline
     
    Hi, do you have any ideas? Appreciate any opinions! 
     
    Many thanks!
  • zacker Profile Picture
    54 on at
    Cloud flows were turned off after being deployed to a managed environment through pipeline
     
    Thanks a lot for replying! Belows are my answers to your questions:
     
    1. I confirmed all connections and connection references have been included in  my solution.
     
    2. I shared the connections when deploying; in my flows all are set as Provided by run-only user except one.
     
     
    3. I checked that I owned the flows and when deploying I shared the access with the groups I belong to.
     
    Please tell me in you need more information. Appreciate a lot for your suggestions.
     
  • Suggested answer
    Michael E. Gernaey Profile Picture
    42,798 Super User 2025 Season 1 on at
    Cloud flows were turned off after being deployed to a managed environment through pipeline
     
    Just a few questions
     
    1. Were the connections and or connection references included in your solution? If you are using References thats great, but if the connection wasn't part of the further pipelines it won't help much (although I'd expect it to not install either)
     
    2. When you created the connections did you share them and in the Flows themselves, are they Run As style or what configuration is the flow itself running as.
     
    3. Did you have it so that when you deployed it would point to the proper groups etc for That environment versus the development or test one?
     
     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics