
How to make IOrganizationService connection using OAuth.
I am able to make connection using webapi but i need help for IOrganizationService. Any help on this would be great.
Hi,
Thank you for your query.
To use the Organization service, you need to use Dynamics 365 SDK Assemblies (in a .Net Project). CrmServiceClient is used to utilize organization service methods (Create, Update, Retrieve, RetrieveMulitple, Execute, etc.).
Please see following tutorial:
Quickstart: Organization service sample (C#) (Microsoft Dataverse) - Power Apps | Microsoft Docs