Share access programmatically Dynamics CRM web api

2019-09-21 22:59发布

问题:

Is there an action to programmatically share(GrantAccess) a phonecall activity to other user(systemuser) throught Dynamics CRM web api(v8.1)? As far as seen only samples is through organization services.

回答1:

GrantAccess message will be available in v9.0 web api.

MSDN declared this as limitation as of v8.2 webapi.

Missing functions and actions for some organization service messages

The following table lists the messages that don't have a corresponding function or action after December 2016 update for Microsoft Dynamics 365 (online) and December 2016 Service Pack for Microsoft Dynamics 365 (on-premises) are applied.

  • GrantAccessRequest


回答2:

AFAIK actions available in v8.1 through WebApi. So obvious alternative solution - create action that will accept parameters phonecall reference and user and share record. And you can call that action using WebApi and JS. Good luck.