using this code below, but getting error unable to find authentication policy. Please see screen attached
using Data8.PowerPlatform.Dataverse.Client;
using Microsoft.PowerPlatform.Dataverse.Client;
using Microsoft.Xrm.Sdk;
var onPremAD = new OnPremiseClient("https://crm.contoso.com/org/XRMServices/2011/Organization.svc", "AD\\username", "password!");
CreateRecord(onPremIfd);
CreateRecord(onPremAD);
CreateRecord(online);
void CreateRecord(IOrganizationService svc)
{
var entity = new Entity("account")
{
["name"] = "Data8"
};
entity.Id = svc.Create(entity);
}
