Posts

Sample code to connect Dynamics CE using OAuth and Deactivate the record.

  Install the Microsoft.Xrm.Tooling.Connector assembly. public static IOrganizationService GetCrmService1()         {             var connection = new CrmServiceClient(                 "Url=https://pane-crm-tafp-dev.crm4.dynamics.com;" +                 "Username=[username]@[domain].com;" +                 "Password=password;" +                 "AuthType=OAuth;" +                 "AppId=51f81489-12ee-4a9e-aaae-a2591f45987d;" + /// User App Id          ...
Image
Missing value for AzureWebJobsStorage in local.settings.json. This is required for all triggers other than httptrigger,  kafkatrigger, rabbitmqtrigger, orchestrationTrigger, activityTrigger, entityTrigger. You can run 'func azure functionapp  fetch-app-settings <functionAppName>',  specify a connection string in local.settings.json, or use managed identity to authenticate. Solution : Update the Local.setting.json file copy to local directory property to "copy always".  

Exception Message: Unable to retrieve attribute=owningbusinessunit for entityLogicalName=workflowlog. Entity has Attribute Count=2. AttributeNames= workflowlogid, asyncoperationid

Image
On Change of the Business Process Process flow I faced the below Error message: Solution : Disabled the two SDK Message Processing steps, after it started working fine.