cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
twongaustin
Regular Visitor

powershell script to create data connection

Is there a script which I could use to create data connection automatically for users? the script will provide login/pwd and the type of connection I want to create like db and salesforce? Of course, I assume this script has to be executed by global admin of the tenant? 

 

we just realize that custom connector/connection can't be shared and must be created by individual user. I don't want users to know the password. 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @twongaustin ,

 

In the documentation here, you could see that there is only script for "Read, update, and delete custom connector permissions". So I think so far you cannot use powershell script to create data connection automatically for users. If you need this feature, consider to add an idea in below forum:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

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.

View solution in original post

1 REPLY 1
v-monli-msft
Community Support
Community Support

Hi @twongaustin ,

 

In the documentation here, you could see that there is only script for "Read, update, and delete custom connector permissions". So I think so far you cannot use powershell script to create data connection automatically for users. If you need this feature, consider to add an idea in below forum:
https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

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.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (56,419)