Class GraphGroupOptions
- Namespace
- PnP.Core.Admin.Model.Microsoft365
- Assembly
- PnP.Core.Admin.dll
Contains the available options for creating a group with Graph Api
public class GraphGroupOptions
- Inheritance
-
GraphGroupOptions
- Inherited Members
Properties
AdditionalData
Option to add custom data to the post request for creating a group like the custom property for a EducationClass
[JsonExtensionData]
public IDictionary<string, object> AdditionalData { get; set; }
Property Value
Classification
Classification of this group
public string Classification { get; set; }
Property Value
CreationOptions
Allows defining creation options for SharePoint Site Creation
public List<string> CreationOptions { get; set; }
Property Value
Description
Description of the Microsoft 365 Group
public string Description { get; set; }
Property Value
DisplayName
Name of the Microsoft 365 Group
public string DisplayName { get; set; }
Property Value
GroupTypes
Group types
public List<string> GroupTypes { get; }
Property Value
MailEnabled
Is this group mail enabled
public bool MailEnabled { get; set; }
Property Value
MailNickname
Mail nickname of this Microsoft 365 group
public string MailNickname { get; set; }
Property Value
Members
Members data, list of UPN's of the users who need to be added as owner
[JsonPropertyName("members@odata.bind")]
public string[] Members { get; set; }
Property Value
- string[]
Owners
Owners data, list of UPN's of the users who need to be added as owner
[JsonPropertyName("owners@odata.bind")]
public string[] Owners { get; set; }
Property Value
- string[]
PreferredDataLocation
Preferred data location
public string PreferredDataLocation { get; set; }
Property Value
ResourceBehaviorOptions
Allows defining the resource behavior options for the group See https://learn.microsoft.com/en-us/graph/group-set-options#configure-groups
public List<string> ResourceBehaviorOptions { get; set; }
Property Value
SecurityEnabled
If it is a security enabled group
public bool SecurityEnabled { get; }
Property Value
Visibility
Visibility of this group
public string Visibility { get; set; }