Forum Discussion
Jean-Francois Marleau
Dec 14, 2016Copper Contributor
Invalid Tenant reference
Has anyone encoutner the following error? Severity Code Description Project File Line Error CS1061 'Tenant' does not contain a definition for 'SiteExists' and no ext...
Dec 15, 2016
You might want to add what you are trying to do when you get the mesage that you are reporting?
- Jean-Francois MarleauJan 09, 2017Copper ContributorHi Pieter,
Thank's for replying.
Overall, I am trying to build the PnP/Provisioning.Hybrid solutions and, I want to update it to SP On-Prem 2016. The above error was when I install the Provisioning.Hybrid and tried to compile. The Microsoft.Online.SharePoint.TenantAdministration was reference but, there is no mention to which version of the Microsoft.Online.SharePoint.Client.Tenant.dll it needs.
I fixed the error using NuGet Package - Microsoft.SharePointOnline.CSOM.16.1.5326.1200
I'm having hard time finding which NuGet Package should be used with you use a PnP Solution, especially, that most of the tools used to build the solution are old now, and some deprecated.