Quantcast
Channel: CRM Development Forum
Viewing all articles
Browse latest Browse all 888

CRM 2011 Online Authentication error with Azure web service

$
0
0

Using an Azure Web service to write some data to CRM 2011 Online and the authentication is failing with error: An unsecured or incorrectly secured fault was received from the other party

Using url:

https://disco.crm.dynamics.com/XRMServices/2011/Discovery.svc

with the correct user name, password and org name within a web.config file. From the svc.cs, connecting to org by the following code pulling in the authentication info from the web.config:

ServerConnection serverConnect =newServerConnection();

ServerConnection.Configurationconfig = serverConnect.GetServerConfiguration(newUri(ConfigurationManager.AppSettings["org_URL"]).Authority,ConfigurationManager.AppSettings["org_user"],ConfigurationManager.AppSettings["org_pass"],string.Empty,ConfigurationManager.AppSettings["org_orgname"]);

using(serviceProxy =newOrganizationServiceProxy(config.OrganizationUri, config.HomeRealmUri, config.Credentials, config.DeviceCredentials))

This used to work at one point and no longer works now. Any help is greatly appreciated.Thanks


Viewing all articles
Browse latest Browse all 888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>