Class CommonGroupSiteOptions
  
  Generic site collection creation options that apply for all types of site collections that are backed by a Microsoft 365 group
 
  
  
    Inheritance
    System.Object
    
    CommonGroupSiteOptions
   
  
      
      
  
  
  
  
  Assembly: PnP.Core.Admin.dll
  
  Syntax
  
    public abstract class CommonGroupSiteOptions : CommonSiteOptions
   
  
  
  
  
  Constructors
  
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  Default constructor to configure the common options for group connected sites
 
  
  Declaration
  
    public CommonGroupSiteOptions(string alias, string displayName)
   
  Parameters
  
    
      | 
        System.String
        alias
         Alias for the group to create 
       | 
    
    
      | 
        System.String
        displayName
         Display name for the group to create 
       | 
    
  
  
  
  
  
  
  
  
  
  
  
  
   
  Properties
  
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  Option to add custom data to the post request for creating a group like the custom property for a EducationClass
 
  
  Declaration
  
    public IDictionary<string, object> AdditionalData { get; set; }
   
  
  
  
  
  Property Value
  
    
      | 
        IDictionary<System.String, System.Object>
         
        | 
    
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  Alias of the underlying Office 365 Group
 
  
  Declaration
  
    public string Alias { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  
  
  Declaration
  
    public string Classification { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  The description of the site to be created.
 
  
  Declaration
  
    public string Description { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  The title of the site to create
 
  
  Declaration
  
    public string DisplayName { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  The Guid of the hub site to be used. If specified will associate the modern team site to the hub site. (not applicable when application permissions are used)
 
  
  Declaration
  
    public Guid HubSiteId { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  Defines whether the Office 365 Group will be public (default), or private.
 
  
  Declaration
  
    public bool IsPublic { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  The geography in which to create the site collection. Only applicable to multi-geo enabled tenants
 
  
  Declaration
  
    public GeoLocation? PreferredDataLocation { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  
  
  Declaration
  
    public Guid SensitivityLabelId { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  
  
  Declaration
  
    public string SiteAlias { get; set; }
   
  
  
  
  
  Property Value
  
  
  
  
  
  
  
  
   
  
  
     
    
  
  
    
  
  
  
  
  
  
  
  Defines whether the Office 365 Group will be public (default), or private or hiddenMembership.
 
  
  Declaration
  
    public GroupVisibility Visibility { get; set; }
   
  
  
  
  
  Property Value