Deprecation related to OrganizationServiceProxy class and Discovery Service

MS CRM Developer 1 Reputation point
2020-12-16T11:15:59.257+00:00

According to the below link, OrganizationServiceProxy class is deprecated.
https://learn.microsoft.com/en-us/power-platform/important-changes-coming

I have used the OrganizationServiceProxy class in the connector written in C# that has used the SDK assemblies. The connector is used to connect the MS Dynamics instances of 2015, 2016, Dynamics 365 for on-premise and online both.

Shall I need to change the connector for using CrmServiceClient instead of OrganizationServiceProxy class?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,458 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Julian Sharp 31 Reputation points MVP
    2021-01-08T12:10:29.44+00:00

    It is the use of the Office 365 authentication that is deprecated. You need to use OAuth for authenticating

    See this for what you need to do, and yes CrmServiceClient is part of the solution but if you reference OrganizationServiceProxy in your code you need to replace that as wekk

    0 comments No comments