Forum Discussion
Nigel Witherdin
Jan 24, 2018Iron Contributor
Using PNP Core Lib in CSOM - issue using AuthenticationManager
Hi,
Trying to setup my MS Surface for doing dev work using VS Code. All fine for JS work, but I currently want to provision Modern Pages with Spfx webparts as per the PnP webcast (https://dev.o...
Sylvain Lajoie
Jul 24, 2018Copper Contributor
Hey, your thread result first on my search for 'System.MissingMethodException' occurred in OfficeDevPnP.Core.dll. I'm trying to convert a .net 4.x console app to .net core that I run in VS Code, with these packages:
<PackageReference Include="SharePointPnPCoreOnline" Version="2.28.1807" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
On the GetSharePointOnlineAuthenticatedContextTenant call, i get that exception and i'm not sure what's going on. I need to get that code to work to prove to my team that VS Code and .NET Core are where we should go, but these errors make me doubt that this is it yet.
Were you able to authenticate to SharePoint Online using the AuthenticationManager from PNP? Does it only work in .NET 4.x?
Nigel Witherdin
Jul 25, 2018Iron Contributor
Hey,
Sorry I am not going to be of any help - the requirement we had for doing this was dropped very shortly after my posting, so I never pursued it any further.
If you do get to a resolution, I think it would be a great thing if you posted your solution on this thread to help out anyone in the future who encounters the same issues
Good luck!