I am trying to get the context of my site using OfficeDevPnP.Core AuthenticationManager
with the ClientID and ClientSecret
var ClientId = "<>";
var ClientSecret = "<>";
AuthenticationManager AM = new AuthenticationManager();
var ctx = AM.GetAppOnlyAuthenticatedContext("https://swayams.sharepoint.com", ClientId, ClientSecret);
The error its throwing is -
System.MissingMethodException: 'Method not found: System.Runtime.Remoting.ObjectHandle System.Activator.CreateInstance(System.String, System.String)'.'
I am trying to achieve this from a .Net Core 2.0 console application.
Has anyone ever encountered this problem