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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Change connection refe...
Power Automate
Answered

Change connection reference to another user only for Outlook in a managed solution

(1) ShareShare
ReportReport
Posted on by 22

Hi,

 

I have quite a strange scenario: I need to move a solution from one environment to another (not in the same tenant!) as managed. All good, no issues exporting and importing the solution. The problem is that the user importing the solution in the new environment doesn't have (and will not receive!) an Outlook licence, so they want another user to send the emails. It needs to be only for sending emails as all the other actions are being done by the importing user. Obviously, because they are different tenants they don't have the same user base, so can't setup this in the source environment. How can we change the connection reference only for Outlook before/during/after importing the managed solution, is there a way, please?

 

TIA

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at

    Hi @adriancristea 

     

    Does the person that it will go out as, can it be a Shared Account, like a Service account. That way, the installer, could open a Browser instance as that user, who does have a license, and setup the connection/refs that way.

     

    Then the installer won't need a license.


    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

  • adriancristea Profile Picture
    22 on at

    Hi Mike,

     

    Thanks for the quick reply.

     

    All users are normal users. Also, the suggestion would not work because, as mentioned, all actions except the Outlook one need to be under the importing user. 

     

    I'll try to paint a picture using fictional names:

     

    So User A creates the solution in Tenant A. User A has an user, User X, in Tenant B, that will be used to import the solution. User X does not have an Outlook licence, but User Y, in Tenant B, has. User Y doesn't have any other privileges and should not be used to run any actions in the flows in the solution except the Outlook one. Tenant A and Tenant B are in totally separate locations and business, so they do not have the same user base (so it cannot be implemented in Tenant A using User Y because it doesn't exist).

     

    Hope it makes more sense now.

  • Verified answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at

    @adriancristea 

     

    Yeah I get the scenario, but you don't give the person the license, so why do any of them need to be that person. It's not common at all to have multiple accounts, tied to a single flow. It's a bad architecture.

     

    1. Open the solution up

    2. Open the Flow

    3. Change the Flow, which of course has to be done by the person who's email is going to be used because the installer doesn't have privileges to add a connection 

    **You could have the Email person create a Connection (assuming THEY have a license to create them), then use that, but if the connection goes bad... and it will...the original person has to fix it.

     

    So yeah its not a good way to do it at all and is going to cause you lots of headaches.

     

    4. It will create another layer on top of that managed

     

    Done

     

    If the installer had a license, you could

    1. Create an environment Variable to store the From email address for the Action

    2. Set it to whomever

    3. Give the Installer Send as Privs for that Email address

     

    done

     

    But since you cannot give them a license, then use a service account, or do what I said.

     

    You don't have real options here because of the limitation you guys have.


    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard