Hello,
as i stated in the title i have problem with SecurityTokenRespone.
IServiceManagement<IOrganizationService> serviceManagement = ServiceConfigurationFactory.CreateManagement<IOrganizationService>(new Uri("https://SERVICE_URI"));
AuthenticationCredentials authCreds = new AuthenticationCredentials();
authCreds.ClientCredentials.UserName.UserName = userName;
authCreds.ClientCredentials.UserName.Password = password;
AuthenticationCredentials tokenCreds = serviceManagement.Authenticate(authCreds);
SecurityTokenResponse securityToken = tokenCredentials.SecurityTokenResponse;
When i make call to production CRM i get SecurityTokenRespone but when i make call to out test CRM SecurityTokenRespone is null...
Is this because our production CRM have configured ADFS and test CRM doesn't?
If yes, can it be bypassed somehow (our test CRM is in domen that can't be exposed to internet)?
Thank you :)






