From 6e7fca08092cc630e5253e08819bddb16cd2eff2 Mon Sep 17 00:00:00 2001 From: Erwin van Hunen Date: Mon, 12 Oct 2020 12:11:38 +0200 Subject: [PATCH] Fixed compilation issue --- Commands/Model/SPOTenant.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Commands/Model/SPOTenant.cs b/Commands/Model/SPOTenant.cs index c14d5d68d..3ae6b363e 100644 --- a/Commands/Model/SPOTenant.cs +++ b/Commands/Model/SPOTenant.cs @@ -1,4 +1,5 @@ -using Microsoft.Online.SharePoint.TenantAdministration; +#if !ONPREMISES +using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.Online.SharePoint.TenantManagement; using Microsoft.SharePoint.Client; using System; @@ -605,4 +606,5 @@ public SPOTenant(Tenant tenant) private bool disableCustomAppAuthentication; } -} \ No newline at end of file +} +#endif \ No newline at end of file