Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,46 @@ Because Microsoft 365 groups cannot contain other groups, membership in a Micros

## EXAMPLES

### Example 1: Check group memberships for a directory object
```powershell
Import-Module Microsoft.Graph.DirectoryObjects

$params = @{
GroupIds = @(
"f448435d-3ca7-4073-8152-a1fd73c0fd09"
"bd7c6263-4dd5-4ae8-8c96-556e1c0bece6"
"93670da6-d731-4366-94b5-abed40b6016b"
"f5484ab1-4d4d-41ec-a9b8-754b3957bfc7"
"c9103f26-f3cf-4004-a611-2a14e81b8f79"
)
}

Confirm-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params
```

This example shows how to use the Confirm-MgApplicationMemberGroup Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

### Example 2: Check group memberships for the signed-in user
```powershell
Import-Module Microsoft.Graph.Users.Actions

$params = @{
GroupIds = @(
"fee2c45b-915a-4a64b130f4eb9e75525e"
"4fe90ae065a-478b9400e0a0e1cbd540"
)
}

# A UPN can also be used as -UserId.
Confirm-MgUserMemberGroup -UserId $userId -BodyParameter $params
```

This example shows how to use the Confirm-MgApplicationMemberGroup Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

## PARAMETERS

### -AdditionalProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,46 @@ Because Microsoft 365 groups cannot contain other groups, membership in a Micros

## EXAMPLES

### Example 1: Check group memberships for a directory object
```powershell
Import-Module Microsoft.Graph.DirectoryObjects

$params = @{
GroupIds = @(
"f448435d-3ca7-4073-8152-a1fd73c0fd09"
"bd7c6263-4dd5-4ae8-8c96-556e1c0bece6"
"93670da6-d731-4366-94b5-abed40b6016b"
"f5484ab1-4d4d-41ec-a9b8-754b3957bfc7"
"c9103f26-f3cf-4004-a611-2a14e81b8f79"
)
}

Confirm-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params
```

This example shows how to use the Confirm-MgServicePrincipalMemberGroup Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

### Example 2: Check group memberships for the signed-in user
```powershell
Import-Module Microsoft.Graph.Users.Actions

$params = @{
GroupIds = @(
"fee2c45b-915a-4a64b130f4eb9e75525e"
"4fe90ae065a-478b9400e0a0e1cbd540"
)
}

# A UPN can also be used as -UserId.
Confirm-MgUserMemberGroup -UserId $userId -BodyParameter $params
```

This example shows how to use the Confirm-MgServicePrincipalMemberGroup Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

## PARAMETERS

### -AdditionalProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,31 @@ Some common uses for this function are to:

## EXAMPLES

### Example 1: Code snippet
```powershell
Import-Module Microsoft.Graph.DirectoryObjects

$params = @{
Ids = @(
"84b80893-8749-40a3-97b7-68513b600544"
"5d6059b6-368d-45f8-91e1-8e07d485f1d0"
"0b944de3-e0fc-4774-a49a-b135213725ef"
"b75a5ab2-fe55-4463-bd31-d21ad555c6e0"
)
Types = @(
"user"
"group"
"device"
)
}

Get-MgDirectoryObjectById -BodyParameter $params
```

This example shows how to use the Get-MgApplicationById Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

## PARAMETERS

### -AdditionalProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,37 @@ This function is transitive.

## EXAMPLES

### Example 1: Check group memberships for a directory object
```powershell
Import-Module Microsoft.Graph.DirectoryObjects

$params = @{
SecurityEnabledOnly = $false
}

Get-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params
```

This example shows how to use the Get-MgApplicationMemberGroup Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

### Example 2: Check group memberships for the signed-in user
```powershell
Import-Module Microsoft.Graph.Users.Actions

$params = @{
SecurityEnabledOnly = $true
}

# A UPN can also be used as -UserId.
Get-MgUserMemberGroup -UserId $userId -BodyParameter $params
```

This example shows how to use the Get-MgApplicationMemberGroup Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

## PARAMETERS

### -AdditionalProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@ Invoke action getMemberObjects

## EXAMPLES

### Example 1: Code snippet
```powershell
Import-Module Microsoft.Graph.DirectoryObjects

$params = @{
SecurityEnabledOnly = $true
}

Get-MgDirectoryObjectMemberObject -DirectoryObjectId $directoryObjectId -BodyParameter $params
```

This example shows how to use the Get-MgApplicationMemberObject Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

## PARAMETERS

### -AdditionalProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,31 @@ Some common uses for this function are to:

## EXAMPLES

### Example 1: Code snippet
```powershell
Import-Module Microsoft.Graph.DirectoryObjects

$params = @{
Ids = @(
"84b80893-8749-40a3-97b7-68513b600544"
"5d6059b6-368d-45f8-91e1-8e07d485f1d0"
"0b944de3-e0fc-4774-a49a-b135213725ef"
"b75a5ab2-fe55-4463-bd31-d21ad555c6e0"
)
Types = @(
"user"
"group"
"device"
)
}

Get-MgDirectoryObjectById -BodyParameter $params
```

This example shows how to use the Get-MgServicePrincipalById Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

## PARAMETERS

### -AdditionalProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,37 @@ This function is transitive.

## EXAMPLES

### Example 1: Check group memberships for a directory object
```powershell
Import-Module Microsoft.Graph.DirectoryObjects

$params = @{
SecurityEnabledOnly = $false
}

Get-MgDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params
```

This example shows how to use the Get-MgServicePrincipalMemberGroup Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

### Example 2: Check group memberships for the signed-in user
```powershell
Import-Module Microsoft.Graph.Users.Actions

$params = @{
SecurityEnabledOnly = $true
}

# A UPN can also be used as -UserId.
Get-MgUserMemberGroup -UserId $userId -BodyParameter $params
```

This example shows how to use the Get-MgServicePrincipalMemberGroup Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

## PARAMETERS

### -AdditionalProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@ Invoke action getMemberObjects

## EXAMPLES

### Example 1: Code snippet
```powershell
Import-Module Microsoft.Graph.DirectoryObjects

$params = @{
SecurityEnabledOnly = $true
}

Get-MgDirectoryObjectMemberObject -DirectoryObjectId $directoryObjectId -BodyParameter $params
```

This example shows how to use the Get-MgServicePrincipalMemberObject Cmdlet.

To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).

## PARAMETERS

### -AdditionalProperties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Microsoft.Graph.Applications
Module Guid: 96119067-19a0-41cb-af74-84919706e128
Module Guid: f89e4f2e-ad5c-40c1-9d27-5f24d9927894
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.applications
Help Version: 1.0.0.0
Locale: en-US
Expand Down Expand Up @@ -513,7 +513,7 @@ Create new navigation property ref to agentGroups for onPremisesPublishingProfil
Create new navigation property to connectors for onPremisesPublishingProfiles

### [New-MgOnPremisePublishingProfileConnectorGroup](New-MgOnPremisePublishingProfileConnectorGroup.md)
Create a connectorGroup object.
Create a new connectorGroup.

### [New-MgOnPremisePublishingProfileConnectorMemberOfByRef](New-MgOnPremisePublishingProfileConnectorMemberOfByRef.md)
Create new navigation property ref to memberOf for onPremisesPublishingProfiles
Expand Down
Loading