Greetings,
I'm getting below error when trying to connect to CRM online via API using following code:
open FSharpx.TypeProviders.XrmProvider
open Microsoft.Xrm.Sdk
open System.Runtime.Serialization
module CRMOperations =
type xrm =
XrmDataProvider<"example.api.crm4.dynamics.com/.../Organization.svc", CrmOnline=true, CredentialsFile="CredsFile.txt">
let dc = xrm.GetDataContext()
Error FS3033 The type provider 'FSharpx.TypeProviders.XrmProvider.XrmTypeProvider' reported an error: Metadata contains a reference that cannot be resolved: 'example.api.crm4.dynamics.com/.../Organization.svc'.
I replaced my domain with 'example' for this question.
Any help is appreciated.
*This post is locked for comments