Table of Contents

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

IDictionary<string, object>

Classification

Classification of this group

public string Classification { get; set; }

Property Value

string

CreationOptions

Allows defining creation options for SharePoint Site Creation

public List<string> CreationOptions { get; set; }

Property Value

List<string>

Description

Description of the Microsoft 365 Group

public string Description { get; set; }

Property Value

string

DisplayName

Name of the Microsoft 365 Group

public string DisplayName { get; set; }

Property Value

string

GroupTypes

Group types

public List<string> GroupTypes { get; }

Property Value

List<string>

MailEnabled

Is this group mail enabled

public bool MailEnabled { get; set; }

Property Value

bool

MailNickname

Mail nickname of this Microsoft 365 group

public string MailNickname { get; set; }

Property Value

string

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

string

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

List<string>

SecurityEnabled

If it is a security enabled group

public bool SecurityEnabled { get; }

Property Value

bool

Visibility

Visibility of this group

public string Visibility { get; set; }

Property Value

string