cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kobia
Microsoft
Microsoft

TDS with Plugins

Can I use TDS to retrieve data using SQL from a Plugin code  (to replace fetchXml calls)?

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisPiasecki
Super User
Super User

Hi @Kobia,

 

Unfortunately plugins have network restrictions since they run in the sandbox service and only allow outbound communication using HTTPS/HTTP. The TDS endpoint requires SQL ports 1433 and 5558. 

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

View solution in original post

1 REPLY 1
ChrisPiasecki
Super User
Super User

Hi @Kobia,

 

Unfortunately plugins have network restrictions since they run in the sandbox service and only allow outbound communication using HTTPS/HTTP. The TDS endpoint requires SQL ports 1433 and 5558. 

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

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

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 (34,191)