how to authenticate on premise crm configured with public ip and http connection through windows phone 8 RRS feed

  • Question

  • my crm is on premise configured with public ip and http connection

    ex- http://xxx.xxx.xxx.xxx:5555

    i have to authenticate and gain access to crm from windows phone 8 application.but won't able to access it.

    it always showing null reference exception in metadataLoaded function

    but i can access it through windows form application and able to retrieve organization


    IServiceConfiguration<IOrganizationService> OrgServiceConfiguration OrgServiceConfiguration = ServiceConfigurationFactory.CreateConfiguration<IOrganizationService>(new Uri("http://xxx.xxx.xxx.xxx:5555/ymf/XRMServices/2011/Organization.svc"), metadataLoaded);
     OrgServiceConfiguration.MetadataLoadFailure += new EventHandler<ServiceMetadataLoadedEventArgs>(OrgServiceConfiguration_MetadataLoadFailure);

    Friday, April 11, 2014 5:30 AM

All replies

  • I am not sure that with just public ip itwill work for this You might need to make sure your CRM environment is IFD configured which means it is avilable over internet, once this is the case your can just provide relevant URL in mobile application.

    Please refer following article for this..


    I guess with publice IP it might also work but I guess relevant proxy needs to be set up so may be first thing you can check is whether you can reach to your CRM server successfully or not from your mobile system and work from then onwards..

    Hope this helps..


    My Blog
    Follow Me on Twitter

    Friday, April 11, 2014 10:45 AM
  • It working with Windows Form application and i able to authenticate with username and password.

    but sets of api used For windows phone 8 client authentication is different as it doesn't uses .net framework.

    Friday, April 11, 2014 11:30 AM