MicrosoftGraphGroupInner Class

Definition

Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

public final class MicrosoftGraphGroupInner extends MicrosoftGraphDirectoryObjectInner
Inheritance
java.lang.Object
MicrosoftGraphGroupInner

Inherited Members

MicrosoftGraphDirectoryObjectInner.additionalProperties() MicrosoftGraphDirectoryObjectInner.deletedDateTime() MicrosoftGraphDirectoryObjectInner.validate() MicrosoftGraphDirectoryObjectInner.withAdditionalProperties(Map<String,Object> additionalProperties) MicrosoftGraphDirectoryObjectInner.withDeletedDateTime(OffsetDateTime deletedDateTime) MicrosoftGraphDirectoryObjectInner.withId(String id) MicrosoftGraphEntity.id() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

MicrosoftGraphGroupInner()

Methods

acceptedSenders()

Get the acceptedSenders property: The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post.

additionalProperties()

Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

allowExternalSenders()

Get the allowExternalSenders property: Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select.

appRoleAssignments()

Get the appRoleAssignments property: The appRoleAssignments property.

assignedLabels()

Get the assignedLabels property: The list of sensitivity label pairs (label ID, label name) associated with an Microsoft 365 group. Returned only on $select. Read-only.

assignedLicenses()

Get the assignedLicenses property: The licenses that are assigned to the group. Returned only on $select. Read-only.

autoSubscribeNewMembers()

Get the autoSubscribeNewMembers property: Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select.

calendar()

Get the calendar property: calendar.

calendarView()

Get the calendarView property: The calendar view for the calendar. Read-only.

classification()

Get the classification property: Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default.

conversations()

Get the conversations property: The group's conversations.

createdDateTime()

Get the createdDateTime property: Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.

createdOnBehalfOf()

Get the createdOnBehalfOf property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

description()

Get the description property: An optional description for the group. Returned by default.

displayName()

Get the displayName property: The display name for the group. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter and $orderby.

drive()

Get the drive property: drive.

drives()

Get the drives property: The group's drives. Read-only.

events()

Get the events property: The group's calendar events.

expirationDateTime()

Get the expirationDateTime property: Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.

extensions()

Get the extensions property: The collection of open extensions defined for the group. Read-only. Nullable.

groupLifecyclePolicies()

Get the groupLifecyclePolicies property: The collection of lifecycle policies for this group. Read-only. Nullable.

groupTypes()

Get the groupTypes property: Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter.

hasMembersWithLicenseErrors()

Get the hasMembersWithLicenseErrors property: Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). See an example.

hideFromAddressLists()

Get the hideFromAddressLists property: True if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. Default value is false. Returned only on $select.

hideFromOutlookClients()

Get the hideFromOutlookClients property: True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. Default value is false. Returned only on $select.

isArchived()

Get the isArchived property: The isArchived property.

isSubscribedByMail()

Get the isSubscribedByMail property: Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select.

licenseProcessingState()

Get the licenseProcessingState property: licenseProcessingState.

mail()

Get the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter.

mailEnabled()

Get the mailEnabled property: Specifies whether the group is mail-enabled. Returned by default.

mailNickname()

Get the mailNickname property: The mailNickname property.

memberOf()

Get the memberOf property: Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.

members()

Get the members property: Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups) Nullable.

membersWithLicenseErrors()

Get the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment. Read-only.

membershipRule()

Get the membershipRule property: The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default.

membershipRuleProcessingState()

Get the membershipRuleProcessingState property: Indicates whether the dynamic membership processing is on or paused. Possible values are 'On' or 'Paused'. Returned by default.

onPremisesDomainName()

Get the onPremisesDomainName property: The onPremisesDomainName property.

onPremisesLastSyncDateTime()

Get the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.

onPremisesNetBiosName()

Get the onPremisesNetBiosName property: The onPremisesNetBiosName property.

onPremisesProvisioningErrors()

Get the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.

onPremisesSamAccountName()

Get the onPremisesSamAccountName property: Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.

onPremisesSecurityIdentifier()

Get the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Read-only.

onPremisesSyncEnabled()

Get the onPremisesSyncEnabled property: true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter.

onenote()

Get the onenote property: onenote.

owners()

Get the owners property: The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Limited to 100 owners. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups). Nullable.

permissionGrants()

Get the permissionGrants property: The permissionGrants property.

photo()

Get the photo property: profilePhoto.

photos()

Get the photos property: The profile photos owned by the group. Read-only. Nullable.

planner()

Get the planner property: plannerGroup.

preferredDataLocation()

Get the preferredDataLocation property: The preferred data location for the group. For more information, see OneDrive Online Multi-Geo. Returned by default.

preferredLanguage()

Get the preferredLanguage property: The preferred language for an Microsoft 365 group. Should follow ISO 639-1 Code; for example 'en-US'. Returned by default.

proxyAddresses()

Get the proxyAddresses property: Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required to filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter.

rejectedSenders()

Get the rejectedSenders property: The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable.

renewedDateTime()

Get the renewedDateTime property: Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.

securityEnabled()

Get the securityEnabled property: Specifies whether the group is a security group. Returned by default. Supports $filter.

securityIdentifier()

Get the securityIdentifier property: Security identifier of the group, used in Windows scenarios. Returned by default.

settings()

Get the settings property: Read-only. Nullable.

sites()

Get the sites property: The list of SharePoint sites in this group. Access the default site with /sites/root.

team()

Get the team property: team.

theme()

Get the theme property: Specifies an Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default.

threads()

Get the threads property: The group's conversation threads. Nullable.

transitiveMemberOf()

Get the transitiveMemberOf property: The transitiveMemberOf property.

transitiveMembers()

Get the transitiveMembers property: The transitiveMembers property.

unseenCount()

Get the unseenCount property: Count of conversations that have received new posts since the signed-in user last visited the group. Returned only on $select.

validate()

Validates the instance.

visibility()

Get the visibility property: Specifies the visibility of a Microsoft 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default.

withAcceptedSenders(List<MicrosoftGraphDirectoryObjectInner> acceptedSenders)

Set the acceptedSenders property: The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post.

withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

withAllowExternalSenders(Boolean allowExternalSenders)

Set the allowExternalSenders property: Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select.

withAppRoleAssignments(List<MicrosoftGraphAppRoleAssignmentInner> appRoleAssignments)

Set the appRoleAssignments property: The appRoleAssignments property.

withAssignedLabels(List<MicrosoftGraphAssignedLabel> assignedLabels)

Set the assignedLabels property: The list of sensitivity label pairs (label ID, label name) associated with an Microsoft 365 group. Returned only on $select. Read-only.

withAssignedLicenses(List<MicrosoftGraphAssignedLicense> assignedLicenses)

Set the assignedLicenses property: The licenses that are assigned to the group. Returned only on $select. Read-only.

withAutoSubscribeNewMembers(Boolean autoSubscribeNewMembers)

Set the autoSubscribeNewMembers property: Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select.

withCalendar(MicrosoftGraphCalendar calendar)

Set the calendar property: calendar.

withCalendarView(List<MicrosoftGraphEvent> calendarView)

Set the calendarView property: The calendar view for the calendar. Read-only.

withClassification(String classification)

Set the classification property: Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default.

withConversations(List<MicrosoftGraphConversation> conversations)

Set the conversations property: The group's conversations.

withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.

withCreatedOnBehalfOf(MicrosoftGraphDirectoryObjectInner createdOnBehalfOf)

Set the createdOnBehalfOf property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

withDescription(String description)

Set the description property: An optional description for the group. Returned by default.

withDisplayName(String displayName)

Set the displayName property: The display name for the group. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter and $orderby.

withDrive(MicrosoftGraphDrive drive)

Set the drive property: drive.

withDrives(List<MicrosoftGraphDrive> drives)

Set the drives property: The group's drives. Read-only.

withEvents(List<MicrosoftGraphEvent> events)

Set the events property: The group's calendar events.

withExpirationDateTime(OffsetDateTime expirationDateTime)

Set the expirationDateTime property: Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.

withExtensions(List<MicrosoftGraphExtensionInner> extensions)

Set the extensions property: The collection of open extensions defined for the group. Read-only. Nullable.

withGroupLifecyclePolicies(List<MicrosoftGraphGroupLifecyclePolicyInner> groupLifecyclePolicies)

Set the groupLifecyclePolicies property: The collection of lifecycle policies for this group. Read-only. Nullable.

withGroupTypes(List<String> groupTypes)

Set the groupTypes property: Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter.

withHasMembersWithLicenseErrors(Boolean hasMembersWithLicenseErrors)

Set the hasMembersWithLicenseErrors property: Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). See an example.

withHideFromAddressLists(Boolean hideFromAddressLists)

Set the hideFromAddressLists property: True if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. Default value is false. Returned only on $select.

withHideFromOutlookClients(Boolean hideFromOutlookClients)

Set the hideFromOutlookClients property: True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. Default value is false. Returned only on $select.

withId(String id)

Set the id property: Read-only.

withIsArchived(Boolean isArchived)

Set the isArchived property: The isArchived property.

withIsSubscribedByMail(Boolean isSubscribedByMail)

Set the isSubscribedByMail property: Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select.

withLicenseProcessingState(MicrosoftGraphLicenseProcessingState licenseProcessingState)

Set the licenseProcessingState property: licenseProcessingState.

withMail(String mail)

Set the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter.

withMailEnabled(Boolean mailEnabled)

Set the mailEnabled property: Specifies whether the group is mail-enabled. Returned by default.

withMailNickname(String mailNickname)

Set the mailNickname property: The mailNickname property.

withMemberOf(List<MicrosoftGraphDirectoryObjectInner> memberOf)

Set the memberOf property: Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.

withMembers(List<MicrosoftGraphDirectoryObjectInner> members)

Set the members property: Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups) Nullable.

withMembersWithLicenseErrors(List<MicrosoftGraphDirectoryObjectInner> membersWithLicenseErrors)

Set the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment. Read-only.

withMembershipRule(String membershipRule)

Set the membershipRule property: The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default.

withMembershipRuleProcessingState(String membershipRuleProcessingState)

Set the membershipRuleProcessingState property: Indicates whether the dynamic membership processing is on or paused. Possible values are 'On' or 'Paused'. Returned by default.

withOnPremisesDomainName(String onPremisesDomainName)

Set the onPremisesDomainName property: The onPremisesDomainName property.

withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)

Set the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.

withOnPremisesNetBiosName(String onPremisesNetBiosName)

Set the onPremisesNetBiosName property: The onPremisesNetBiosName property.

withOnPremisesProvisioningErrors(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors)

Set the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.

withOnPremisesSamAccountName(String onPremisesSamAccountName)

Set the onPremisesSamAccountName property: Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.

withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier)

Set the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Read-only.

withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)

Set the onPremisesSyncEnabled property: true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter.

withOnenote(MicrosoftGraphOnenote onenote)

Set the onenote property: onenote.

withOwners(List<MicrosoftGraphDirectoryObjectInner> owners)

Set the owners property: The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Limited to 100 owners. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups). Nullable.

withPermissionGrants(List<MicrosoftGraphResourceSpecificPermissionGrantInner> permissionGrants)

Set the permissionGrants property: The permissionGrants property.

withPhoto(MicrosoftGraphProfilePhotoInner photo)

Set the photo property: profilePhoto.

withPhotos(List<MicrosoftGraphProfilePhotoInner> photos)

Set the photos property: The profile photos owned by the group. Read-only. Nullable.

withPlanner(MicrosoftGraphPlannerGroup planner)

Set the planner property: plannerGroup.

withPreferredDataLocation(String preferredDataLocation)

Set the preferredDataLocation property: The preferred data location for the group. For more information, see OneDrive Online Multi-Geo. Returned by default.

withPreferredLanguage(String preferredLanguage)

Set the preferredLanguage property: The preferred language for an Microsoft 365 group. Should follow ISO 639-1 Code; for example 'en-US'. Returned by default.

withProxyAddresses(List<String> proxyAddresses)

Set the proxyAddresses property: Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required to filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter.

withRejectedSenders(List<MicrosoftGraphDirectoryObjectInner> rejectedSenders)

Set the rejectedSenders property: The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable.

withRenewedDateTime(OffsetDateTime renewedDateTime)

Set the renewedDateTime property: Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.

withSecurityEnabled(Boolean securityEnabled)

Set the securityEnabled property: Specifies whether the group is a security group. Returned by default. Supports $filter.

withSecurityIdentifier(String securityIdentifier)

Set the securityIdentifier property: Security identifier of the group, used in Windows scenarios. Returned by default.

withSettings(List<MicrosoftGraphGroupSetting> settings)

Set the settings property: Read-only. Nullable.

withSites(List<MicrosoftGraphSite> sites)

Set the sites property: The list of SharePoint sites in this group. Access the default site with /sites/root.

withTeam(MicrosoftGraphTeamInner team)

Set the team property: team.

withTheme(String theme)

Set the theme property: Specifies an Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default.

withThreads(List<MicrosoftGraphConversationThread> threads)

Set the threads property: The group's conversation threads. Nullable.

withTransitiveMemberOf(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf)

Set the transitiveMemberOf property: The transitiveMemberOf property.

withTransitiveMembers(List<MicrosoftGraphDirectoryObjectInner> transitiveMembers)

Set the transitiveMembers property: The transitiveMembers property.

withUnseenCount(Integer unseenCount)

Set the unseenCount property: Count of conversations that have received new posts since the signed-in user last visited the group. Returned only on $select.

withVisibility(String visibility)

Set the visibility property: Specifies the visibility of a Microsoft 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default.

Applies to