Posts

Connecting to MFA enabled Dynamics 365 V9.X CRM instance through C# or console App

Image
  Hi  I was trying to connect my mfa enabled CRM to my console App but was unable to do so after doing lot of search got many connection ways like by ClientID client Secret blabla.... but they use Rest Apis and our Iorganization service code which is used in plugin cannot be used that way so finally got the solution for connecting it  To Connect MFA Enabled Dynamics CRM with C# you just need to use App Password instead of your Password remaining every thing remains same as it was                 string connectionString = GetServiceConfigurationfromAppCOnfig();                ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;                CrmServiceClient conn = new Microsoft.Xrm.Tooling.Connector.CrmServiceClient(connectionString);                                _orgService = (IOrganizationService)conn.OrganizationWebProxyClient != null ? (IOrganizationService)conn.OrganizationWebProxyClient : (IOrganizationService)conn.OrganizationServiceProxy;                WhoAmIR

Filter subgrid in Dynamics unified Hub by Javascript

Hi , Recently i came across Problem with Filtering Subgrid by js I was moving from classic to Unified In Unified among many JS customizations which are not working is Subgrid Filter window.parent.document.getElementById("SubgridName"); Because Dynamics Hub is not supporting It is working fine in Classic but failing in Unified To make it work in Both UIs here is my code where i filtered data by a lookup function FilterSubgridBy(id) {         var connectionSubgrid = window.parent.document.getElementById("GridName");         var fetchXml = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>" +             "  <entity name='account'>" +             "    <attribute name='accountid' />" +             "    <attribute name='name' />" +             "    <attribute name='createdon' />