如何连接到CRM Dynamics Online Odata端点LinqPad? [英] How to Connect to CRM Dynamics Online Odata endpoint LinqPad?

查看:159
本文介绍了如何连接到CRM Dynamics Online Odata端点LinqPad?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用LinqPad中的默认Odata驱动程序连接到自托管的CRM网站.我在"WCF数据服务(OData)连接"对话框中用于自托管的URI的格式为

I'm able to connect to self-hosted CRM sites just fine with the default Odata driver within LinqPad. The URI I use in the "WCF Data Services (OData) Connection" dialog for self-hosted is in the format http://MyServer.com/MyOrgName/xrmservices/2011/OrganizationData.svc. The user name is in the format "domain\username".

当我尝试对CRM Online实例遵循相同的格式时,它不起作用.

When I attempt to follow the same format for an CRM Online instance, it doesn't work.

我猜测是由于https或Windows live凭据造成的,但不知道要采取什么步骤来解决此问题...

I'm guessing it's either because of the https, or the windows live credentials, but don't know what steps to take to fix the problem...

请注意,我要使用odata提供程序,而不是CRM 2011提供程序. odata提供程序为我提供了用于检索数据的URL,这对javascript非常有用. CRM 2011提供程序提供了提取XML,在这种情况下,这不是我想要使用的XML.

Please note, I want to use the odata provider, not the CRM 2011 provider. The odata provider gives me the URL to retrieve the data which is extremely helpful for javascript. The CRM 2011 provider gives the fetch XML, which isn't what I want to use in this case...

推荐答案

我联系了LinqPad,他们说他们目前不支持Windows Live身份验证.我猜想人们将不得不编写一个插件并使用

I contacted LinqPad and they said they don't currently support Windows Live Authentication. I'm guessing that one would have to write a plugin and use the logic from this page to handle the authentication issues.

这篇关于如何连接到CRM Dynamics Online Odata端点LinqPad?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆