Additional properties will be added in the future.
{
"displayName": "Some group",
"description": "This is a security group",
"groupTypes": [],
"securityEnabled": true,
"mailEnabled": false,
"mailNickname": "someGroupForMembers",
"members": ["[email protected]"],
"owners": ["[email protected]"],
"present": true
}
{
"displayName": "Some group",
"description": "This is a security group",
"groupTypes": [],
"securityEnabled": true,
"mailEnabled": false,
"mailNickname": "someGroupForMembers",
"members": ["[email protected]"],
"owners": ["[email protected]"],
"administrativeUnit": "TestAU",
"present": true
}
{
"displayName": "Some group",
"description": "This is a security group",
"groupTypes": [],
"securityEnabled": true,
"mailEnabled": false,
"privilegedAccess": true,
"isAssignableToRole": true,
"mailNickname": "someGroupForMembers",
"present": true
}
{
"displayName": "Some group with dynamic membership",
"description": "This is a security group",
"groupTypes": ["dynamicMembership"],
"securityEnabled": true,
"mailEnabled": false,
"mailNickname": "someDynamicGroup",
"membershipRule" : "(user.userPrincipalName -match \".*@domain.com$\"",
"owners": ["[email protected]"],
"present": true
}
{
"displayName": "Some group with dynamic membership",
"description": "This is a security group",
"groupTypes": ["Unified"],
"securityEnabled": false,
"mailEnabled": true,
"visibility": "Public",
"mailNickname": "someDynamicGroup",
"members": ["[email protected]"],
"owners": ["[email protected]"],
"present": true
}
{
"displayName": "Some group with dynamic membership",
"description": "This is a security group",
"groupTypes": ["Unified", "DynamicMembership"],
"securityEnabled": false,
"mailEnabled": true,
"visibility": "HiddenMembership",
"mailNickname": "someDynamicGroup",
"membershipRule" : "(user.userPrincipalName -match \".*@domain.com$\"",
"members": ["[email protected]"],
"owners": ["[email protected]"],
"present": true
}
{
"displayName": "Some group",
"description": "This is a security group",
"groupTypes": [],
"securityEnabled": true,
"mailEnabled": false,
"mailNickname": "someGroupForMembers",
"members": ["[email protected]"],
"owners": ["[email protected]"],
"assignedLicenses": [
{
"skuId": "licenseID",
"disabledPlans": [
"disabledPlan1ID",
"disabledPlan2ID"
]
}
],
"present": true
}
https://docs.microsoft.com/de-de/graph/api/resources/group?view=graph-rest-1.0 https://docs.microsoft.com/de-de/graph/api/group-post-groups?view=graph-rest-1.0&tabs=http
Group types: https://docs.microsoft.com/de-de/graph/api/resources/groups-overview?view=graph-rest-1.0