@@ -250,6 +250,7 @@ public class SPOTenant
250
250
public bool ? SharePointAddInsDisabled { private set ; get ; }
251
251
public SharingCapabilities ? OneDriveSharingCapability { private set ; get ; }
252
252
public string [ ] GuestSharingGroupAllowListInTenantByPrincipalIdentity { private set ; get ; }
253
+ public bool ? AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled { private set ; get ; }
253
254
#endregion
254
255
255
256
public SPOTenant ( Tenant tenant , ClientContext clientContext )
@@ -739,26 +740,8 @@ public SPOTenant(Tenant tenant, ClientContext clientContext)
739
740
{
740
741
}
741
742
742
- try
743
- {
744
- AppBypassInformationBarriers = tenant . AppBypassInformationBarriers ;
745
- }
746
- catch
747
- {
748
- }
749
-
750
- try
751
- {
752
- if ( tenant . DefaultODBMode != null )
753
- {
754
- DefaultOneDriveInformationBarrierMode = Enum . Parse < InformationBarriersMode > ( tenant . DefaultODBMode ) ;
755
- }
756
- }
757
- catch
758
- {
759
- }
760
-
761
-
743
+ try { AppBypassInformationBarriers = tenant . AppBypassInformationBarriers ; } catch { }
744
+ try { if ( tenant . DefaultODBMode != null ) DefaultOneDriveInformationBarrierMode = Enum . Parse < InformationBarriersMode > ( tenant . DefaultODBMode ) ; } catch { }
762
745
try { CoreSharingCapability = tenant . CoreSharingCapability ; } catch { }
763
746
try { EnableVersionExpirationSetting = tenant . EnableVersionExpirationSetting ; } catch { }
764
747
try { BlockUserInfoVisibilityInOneDrive = tenant . BlockUserInfoVisibilityInOneDrive ; } catch { }
@@ -789,6 +772,7 @@ public SPOTenant(Tenant tenant, ClientContext clientContext)
789
772
try { SharePointAddInsDisabled = tenant . SharePointAddInsDisabled ; } catch { }
790
773
try { OneDriveSharingCapability = tenant . ODBSharingCapability ; } catch { }
791
774
try { GuestSharingGroupAllowListInTenantByPrincipalIdentity = tenant . GuestSharingGroupAllowListInTenantByPrincipalIdentity ? . ToArray ( ) ; } catch { }
775
+ try { AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled = tenant . AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ; } catch { }
792
776
}
793
777
}
794
778
}
0 commit comments