Get-PnPProfileCardProperty
SYNOPSIS
Required Permissions
- Microsoft Graph API : One of PeopleSettings.Read.All, PeopleSettings.ReadWrite.All
Retrieves custom properties added to user profile cards
SYNTAX
Get-PnPProfileCardProperty [-PropertyName <ProfileCardPropertyName>] [-Verbose] [-Connection <PnPConnection>]
DESCRIPTION
This cmdlet may be used to retrieve custom properties added to user profile card.
EXAMPLES
EXAMPLE 1
Get-PnPProfileCardProperty
This will retrieve all custom properties added to user profile card.
EXAMPLE 2
Get-PnPProfileCardProperty -PropertyName "pnppowershell"
This will return information about the specified property added to a profile card.
PARAMETERS
-Connection
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Identity
Name of the property to be retrieved. If not provided, all properties will be returned.
Type: Commands.Enums.ProfileCardPropertyName
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Verbose
When provided, additional debug statements will be shown while executing the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
RELATED LINKS
Microsoft 365 Patterns and Practices Microsoft Graph documentation