在Azure托管的Provider托管的应用中,Clientcontext始终为null

时间:2019-06-07 10:07:01

标签: azure sharepoint-2013 csom provider-hosted

我正在开发要在Azure上托管的提供商托管应用程序。我需要创建远程事件接收器,我使用https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-lists-in-the-host-web/作为参考。

但是我总是在客户端上下文中得到空值:

ClientContext clientContext = TokenHelper.CreateAppEventClientContext(properties, false)

有人可以帮我吗?我是sharepoint应用程序和远程事件接收器的新手。

谢谢。

0 个答案:

没有答案