tenant people profilecardproperty get
Retrieves information about a specific profile card property
Usage
m365 tenant people profilecardproperty get [options]
Options
-n, --name <name>The name of the property to retrieve. Allowed values:
UserPrincipalName,Fax,StreetAddress,PostalCode,StateOrProvince,Alias,customAttribute1,customAttribute2,customAttribute3,customAttribute4,customAttribute5,customAttribute6,customAttribute7,customAttribute8,customAttribute9,customAttribute10,customAttribute11,customAttribute12,customAttribute13,customAttribute14,customAttribute15.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Remarks
To use this command you must be either Tenant Administrator or Global Administrator.
Examples
Retrieve information about a specific profile card property
m365 tenant people profilecardproperty get --name customAttribute1
Response
- JSON
- Text
- CSV
- Markdown
{
"directoryPropertyName": "customAttribute1",
"annotations": [
{
"displayName": "Cost center",
"localizations": [
{
"languageTag": "nl-NL",
"displayName": "Kostencentrum"
}
]
}
]
}
directoryPropertyName: customAttribute1
displayName : Cost center
displayName nl-NL : Kostencentrum
directoryPropertyName,displayName,displayName nl-NL
customAttribute1,Cost center,Kostencentrum
# tenant people profilecardproperty get --name "customAttribute1"
Date: 3/11/2023
## Cost center
Property | Value
---------|-------
directoryPropertyName | customAttribute1
displayName | Cost center
displayName nl-NL | Kostencentrum