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 Apps / Cannot replace a user ...
Power Apps
Unanswered

Cannot replace a user account Outlook connection with a service account Outlook connection

(0) ShareShare
ReportReport
Posted on by

Hi Everyone,

 

I have a problem with replacing Outlook connection that uses user email with service account Outlook connection.

 

At the first release user allowed the app to use his/her email for Outlook connection (we did not have service account for that moment). Right now I need to replace the user email with a service account email to send automatic notifications from this account.

I have 4 separate solutions for app, flows, connection references, environment variables. For importing I used MS Power Platform CLI. 

What I did (as an example I will describe the situation on Test env):

1. On Test environment I replaced user Outlook connection with service account Outlook connection.

2. On Dev environment in the app I deleted user Outlook connection and added service account Outlook connection. Published.

3. On Dev I created a new Outlook connection.

4. In Connection References solution I created a new reference for service account Outlook connection and linked it with that connection. Published.

5. I downloaded all solutions on my computer.

6. On the computer I have created deploymentSettings.json file for Connection References solution. A new service account conn ref was added to that file (used pac solution create-settings command).

7. I added connection ID from Test env into deploymentSettings file in Outlook conn ref.

8. Imported the solution on Test using that file.

 

I am a system admin on Test env. I launch the app and I see a new service account Outlook connection. When the tester as a user launches the app, she still sees her email in the Outlook connection. 

 

How to replace old connection with a new one without deleting the connection on the env as the end users will not have this possibility?

 

Thank you.

Categories:
I have the same question (0)

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 Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard