Skip to content

Latest commit

 

History

History
95 lines (65 loc) · 1.86 KB

Get-EntraContactManager.md

File metadata and controls

95 lines (65 loc) · 1.86 KB
title description ms.topic ms.date ms.author ms.reviewer manager external help file Module Name online version schema
Get-EntraContactManager
This article provides details on the Get-EntraContactManager command.
reference
06/26/2024
eunicewaweru
stevemutungi
CelesteDG
Microsoft.Graph.Entra-Help.xml
Microsoft.Graph.Entra
2.0.0

Get-EntraContactManager

Synopsis

Gets the manager of a contact.

Syntax

Get-EntraContactManager
 -ObjectId <String>
 [-Property <String[]>]
 [<CommonParameters>]

Description

The Get-EntraContactManager cmdlet gets the manager of a contact in Microsoft Entra ID.

Examples

Example 1: Get the manager of a contact

Connect-Entra -Scopes 'OrgContact.Read.All'
$Contact = Get-EntraContact -Top 1
Get-EntraContactManager -ObjectId $Contact.ObjectId

The example demonstrates how to retrieve the manager of a contact.

Parameters

-ObjectId

Specifies the ID of a contact in Microsoft Entra ID.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Property

Specifies properties to be returned

Type: System.String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Outputs

Notes

Related Links

Get-EntraContact