Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Sandboxed Plugin calling Mutualauthentication-Webservice does not work

(0) ShareShare
ReportReport
Posted on by 40

Hi all,

I try to call a mutual-authentication webservice with message encryption within Dynamics CRM Online. It would use WCF to do so, but when calling the webservice, I get the following exception, because of the sandbox...:

The Binding with name CustomBinding failed validation because it contains a BindingElement with type System.ServiceModel.Channels.AsymmetricSecurityBindingElement which is not supported in partial trust. Consider using BasicHttpBinding or WSHttpBinding, or hosting your application in a full-trust environment.

For me it is somewhat difficult to understand, why Microsoft considers this code-execution as unsecure? Can anybody shed some light about this?

Is there any possibility to call a webservice in a highly secure way (not just simple https...) from within Dynamics CRM Online? I'm open for any suggestions.

Thank you for your help
Peter

*This post is locked for comments

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans