简体   繁体   English

通过MS Dynamics CRM沙盒插件从中获取来自Azure托管SQL服务器的数据

[英]Get data from Azure hosted SQL server from with in MS Dynamics CRM Sandbox plugin

I am stuck in accessing the SQL Server from within Sandbox plugin. 我被困在从沙盒插件中访问SQL Server。 As we can't access it from within Sandbox plugin so i tried to access it through azure hosted WebApi but I am unable to access that API from within MS Dynamics CRM through JavaScript as well as through a Plugin, i have reported that issue here: 由于我们无法从Sandbox插件中访问它,因此我尝试通过azure托管的WebApi访问它,但是我无法通过JavaScript和插件从MS Dynamics CRM中访问该API,我在这里报告了该问题:

Consuming Azure hosted WebApi in MS Dynamics CRM Online 在MS Dynamics CRM Online中使用Azure托管的WebApi

The other thing i tried that i created an azure hosted cloud service but i am unable to access that service from within sandbox plugin. 我尝试创建的另一件事是创建了一个Azure托管云服务,但无法从沙盒插件中访问该服务。 It says 'no endpoint listening that could accept the message', although i have confirmed that azure hosted cloud service is working fine and that the end point is also correct. 它说“没有端点监听可以接受该消息”,尽管我已经确认了azure托管云服务可以正常工作,并且端点也正确。

So now I am not sure that what setting is am missing in Azure/MS Dynamics CRM. 因此,现在我不确定Azure / MS Dynamics CRM中缺少什么设置。 Kindly suggest that what will be the best approach to use in this scenario? 请提出在这种情况下使用的最佳方法是什么?

Have a look at this post. 看看这篇文章。

https://code.msdn.microsoft.com/How-to-call-External-WCF-42c4490d https://code.msdn.microsoft.com/How-to-call-External-WCF-42c4490d

Also from the CRM SDK. 同样来自CRM SDK。

Web access 网络访问

Sandboxed plug-ins and custom workflow activities can access the network through the HTTP and HTTPS protocols. 沙盒插件和自定义工作流程活动可以通过HTTP和HTTPS协议访问网络。 This capability provides support for accessing popular web resources like social sites, news feeds, web services, and more. 此功能为访问流行的Web资源(如社交网站,新闻提要,Web服务等)提供了支持。 The following web access restrictions apply to this sandbox capability. 以下Web访问限制适用于此沙盒功能。

  • Only the HTTP and HTTPS protocols are allowed. 仅允许使用HTTP和HTTPS协议。

  • Access to localhost (loopback) is not permitted. 不允许访问本地主机(环回)。

  • IP addresses cannot be used. IP地址无法使用。 You must use a named web address that requires DNS name resolution. 您必须使用需要DNS名称解析的命名网址。

  • Anonymous authentication is supported and recommended. 支持并建议使用匿名身份验证。 There is no provision for prompting the logged on user for credentials or saving those credentials. 没有规定提示登录的用户输入凭据或保存这些凭据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure 数据工厂管道 - 从本地 SQL Server 和 Dynamics CRM 复制数据 - Azure Data Factory pipeline - copy data from on-premises SQL Server and Dynamics CRM 从CRM Dynamics 2011插件连接到SQL - Connect To SQL From CRM Dynamics 2011 Plugin 如何使用SQL从Dynamics CRM联机获取数据到我的SQL服务器? - How do I get data from Dynamics CRM online in to my SQL server using SQL? 将SQL Server数据移到Dynamics 365 CRM中 - Moving SQL server data into Dynamics 365 CRM 从MS CRM工作流活动中调用SQL Server Reporting Services - Call SQL Server Reporting Services from MS CRM workflow activity 如何从不同MS SQL Server上托管的不同表中复制/合并数据,并将其保存到另一MS SQL Server上的一个表中 - How to Copy/Consolidate data from different tables hosted on different MS SQL Servers and save them into one Table on another MS SQL Server SQL Server / Dynamics CRM:仅使用SQL从注释基础读取文档正文 - SQL Server/Dynamics CRM: How to read document body from Annotation Base using SQL only MS Dynamics CRM SQL数据库处于可疑模式 - MS Dynamics CRM SQL Database in suspected mode 筛选对从Web App Azure托管到Azure的sql Server的访问 - Filter access to sql Server hosted to Azure from Web App Azure ASP.NET MVC从MS SQL Server获取数据 - Asp.net mvc get data from ms sql server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM