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

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (67,338)