I have used Microsoft.Xrm.Tooling.Connector to connect D365. The code was working fine till yesterday evening all of sudden it get stop and the root cause is IOrganizationService is returning NULL can anyone help me on this issue below is the code -
CrmServiceClient crmConn = new CrmServiceClient(@"AuthType=Office365;Username=**********; Password=***********;Url=https://*********.crm8.dynamics.com");
IOrganizationService crmService = crmConn.OrganizationServiceProxy;
Guid userid = ((WhoAmIResponse)crmService.Execute(new WhoAmIRequest())).UserId;