1

I tried to post to SharePoint NewsFeed via Remote Event Receiver.

public void ProcessOneWayEvent(SPRemoteEventProperties properties) { ClientContext context = TokenHelper.CreateRemoteEventReceiverClientContext(properties); PeopleManager peopleManager = new PeopleManager(context); }

But it seems I cant construct a people manager object inside the event receiver code. The log messages I put after the construction of PeopleManager doesn't execute.

0

I think, it is not possible because access token is not related to any user. Alternative way it create own client context, using login and password any real user.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.