cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sikhatwomot123
Frequent Visitor

Is there any way to add connections manually to other user's account by Admin?

We are using outlook, sharepoint, onedrive connections in our application . We need to use Service Account's outllook,sharepoint,onedrive etc to run the app for every user .

 

After sharing the app to a new user , their connection list become empty before running the app. When started to run the app , app will defaultly take logged in user's account to create connections . Actually we need Service account's connections here . If it should use service account's connections , we need to manually add connections before running the app .  manually add all connections on every user's connection list by entering their credentials is not practically possible .  Is there any way to add connections manually to other user's account by Admin using some command or something ? or  any other way exist to solve this problem ? 

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @sikhatwomot123 ,

 

After you share the app with the users, when they first time open this app, PowerApps would ask for the credential for the connections included in this app. If you want to users to log in as other user's account, then you just need to ask the users to put the Service account's information when logging in. 

 

You can also add the Service account's connections manually in users' PowerApps site. 

Capture.JPG

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the reply Mona .

   Yes ,I know this way of adding connection .This is the case that a user adding connections manually to their own account .

But my question is , How can an admin add connection's on user's account without knowing their login credentials (without entering into user's powerapps account)  ?  Is there any way to do this ?  using powershell commands or using connector browser ? 

Because ,admin enter into each user's  account (about 1000+ users) and add connections manually is not practically possible . 

OR 

App users switching connection with service account by themself .in this case we have to share service account credentials to all app users. which is also not practically possible . 

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,602)