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 |
Gets the manager of a contact.
Get-EntraContactManager
-ObjectId <String>
[-Property <String[]>]
[<CommonParameters>]
The Get-EntraContactManager
cmdlet gets the manager of a contact in Microsoft Entra ID.
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.
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
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
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.