/// <summary> /// Enables Site Classifications for the target tenant /// </summary> /// <param name="tenant">The target tenant</param> /// <param name="accessToken">The OAuth accessToken for Microsoft Graph with Azure AD</param> /// <param name="classificationsList">The list of classification values</param> /// <param name="defaultClassification">The default classification</param> /// <param name="usageGuidelinesUrl">The URL of a guidance page</param> public static void EnableSiteClassifications(this Tenant tenant, string accessToken, IEnumerable <string> classificationsList, string defaultClassification = "", string usageGuidelinesUrl = "") { SiteClassificationsUtility.EnableSiteClassifications(accessToken, classificationsList, defaultClassification, usageGuidelinesUrl); }
/// <summary> /// Enables Site Classifications for the target tenant /// </summary> /// <param name="tenant">The target tenant</param> /// <param name="accessToken">The OAuth accessToken for Microsoft Graph with Azure AD</param> /// <param name="siteClassificationsSettings">The site classifications settings to apply./param> public static void EnableSiteClassifications(this Tenant tenant, string accessToken, SiteClassificationsSettings siteClassificationsSettings) { SiteClassificationsUtility.EnableSiteClassifications(accessToken, siteClassificationsSettings); }