We just upgraded Dyanmics 365 to version 9.0. We updated the dlls for version 9.0
This method call CrmServiceClientInstance.GetGlobalOptionSetMetadata("OptionSetName"); is returning null.
Is there any way to fix this?
*This post is locked for comments
When I looked at CRMServiceClient's CrmError property, it was having an error "Unable to Login to Dynamics CRMOrganizationServiceProxy is null". I mangaed to fix this issue by adding a line System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
just above the line where I instantiate CRMServiceClient object.
Hope this helps.
Hi Priyank ,
Could you please download the SDK from here and check , seems something is missing in the reference you took.
Yes, I'm using latest assemblies which I downloaded using Nuget.
Are you using the latest assembly references?
Download the latest from Nuget manager and try again.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156