Skip to content

Commit 11facd6

Browse files
authored
Merge pull request #28309 from microsoftgraph/users/ruthwaithera/add-isVisible-to-profileCardProperties
Add isVisible property to profileCardProperty beta docs
2 parents 4c901d6 + 43a187a commit 11facd6

8 files changed

Lines changed: 45 additions & 136 deletions

api-reference/beta/api/peopleadminsettings-list-profilecardproperties.md

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.localizationpriority: medium
55
author: "rwaithera"
66
ms.subservice: "people"
77
doc_type: "apiPageType"
8-
ms.date: 09/19/2024
8+
ms.date: 02/25/2026
99
---
1010

1111
# List profileCardProperties
@@ -61,45 +61,14 @@ If successful, this method returns a `200 OK` response code and a collection of
6161

6262
The following example shows a request.
6363

64-
# [HTTP](#tab/http)
6564
<!-- {
6665
"blockType": "request",
6766
"name": "list_profilecardproperties"
6867
}-->
69-
```msgraph-interactive
68+
```http
7069
GET https://graph.microsoft.com/beta/admin/people/profileCardProperties
7170
```
7271

73-
# [C#](#tab/csharp)
74-
[!INCLUDE [sample-code](../includes/snippets/csharp/list-profilecardproperties-csharp-snippets.md)]
75-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
76-
77-
# [Go](#tab/go)
78-
[!INCLUDE [sample-code](../includes/snippets/go/list-profilecardproperties-go-snippets.md)]
79-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
80-
81-
# [Java](#tab/java)
82-
[!INCLUDE [sample-code](../includes/snippets/java/list-profilecardproperties-java-snippets.md)]
83-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
84-
85-
# [JavaScript](#tab/javascript)
86-
[!INCLUDE [sample-code](../includes/snippets/javascript/list-profilecardproperties-javascript-snippets.md)]
87-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
88-
89-
# [PHP](#tab/php)
90-
[!INCLUDE [sample-code](../includes/snippets/php/list-profilecardproperties-php-snippets.md)]
91-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
92-
93-
# [PowerShell](#tab/powershell)
94-
[!INCLUDE [sample-code](../includes/snippets/powershell/list-profilecardproperties-powershell-snippets.md)]
95-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
96-
97-
# [Python](#tab/python)
98-
[!INCLUDE [sample-code](../includes/snippets/python/list-profilecardproperties-python-snippets.md)]
99-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
100-
101-
---
102-
10372
### Response
10473

10574
The following example shows the response.
@@ -119,6 +88,7 @@ Content-type: application/json
11988
"value": [
12089
{
12190
"directoryPropertyName": "CustomAttribute1",
91+
"isVisible": true,
12292
"annotations": [
12393
{
12494
"displayName": "Cost Center",

api-reference/beta/api/peopleadminsettings-post-profilecardproperties.md

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.localizationpriority: medium
55
author: "rwaithera"
66
ms.subservice: "people"
77
doc_type: "apiPageType"
8-
ms.date: 09/19/2024
8+
ms.date: 02/25/2026
99
---
1010

1111
# Create profileCardProperty
@@ -58,8 +58,9 @@ You can specify the following properties when you create a **profileCardProperty
5858

5959
|Property|Type|Description|
6060
|:---|:---|:---|
61-
|annotations|[profileCardAnnotation](../resources/profilecardannotation.md) collection|Any alternative or localized labels that an administrator chose to specify.|
62-
|directoryPropertyName|String|The name of the directory property that is intended to surface on the profile card.|
61+
|annotations|[profileCardAnnotation](../resources/profilecardannotation.md) collection|Any alternative or localized labels that an administrator chose to specify. Optional.|
62+
|directoryPropertyName|String|The name of the directory property that is intended to surface on the profile card. Required.|
63+
|isVisible|Boolean|Indicates whether the given directory property should be shown on a user’s profile card. Optional.|
6364

6465
## Response
6566

@@ -71,7 +72,6 @@ If successful, this method returns a `201 Created` response code and a new [prof
7172

7273
The following example shows a request.
7374

74-
# [HTTP](#tab/http)
7575
<!-- {
7676
"blockType": "request",
7777
"name": "create_profilecardproperty"
@@ -82,6 +82,7 @@ Content-type: application/json; charset=utf-8
8282
8383
{
8484
"directoryPropertyName": "CustomAttribute1",
85+
"isVisible": true,
8586
"annotations": [
8687
{
8788
"displayName": "Cost Center",
@@ -96,36 +97,6 @@ Content-type: application/json; charset=utf-8
9697
}
9798
```
9899

99-
# [C#](#tab/csharp)
100-
[!INCLUDE [sample-code](../includes/snippets/csharp/create-profilecardproperty-csharp-snippets.md)]
101-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
102-
103-
# [Go](#tab/go)
104-
[!INCLUDE [sample-code](../includes/snippets/go/create-profilecardproperty-go-snippets.md)]
105-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
106-
107-
# [Java](#tab/java)
108-
[!INCLUDE [sample-code](../includes/snippets/java/create-profilecardproperty-java-snippets.md)]
109-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
110-
111-
# [JavaScript](#tab/javascript)
112-
[!INCLUDE [sample-code](../includes/snippets/javascript/create-profilecardproperty-javascript-snippets.md)]
113-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
114-
115-
# [PHP](#tab/php)
116-
[!INCLUDE [sample-code](../includes/snippets/php/create-profilecardproperty-php-snippets.md)]
117-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
118-
119-
# [PowerShell](#tab/powershell)
120-
[!INCLUDE [sample-code](../includes/snippets/powershell/create-profilecardproperty-powershell-snippets.md)]
121-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
122-
123-
# [Python](#tab/python)
124-
[!INCLUDE [sample-code](../includes/snippets/python/create-profilecardproperty-python-snippets.md)]
125-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
126-
127-
---
128-
129100
### Response
130101

131102
The following example shows the response.
@@ -144,6 +115,7 @@ Content-type: application/json; charset=utf-8
144115
145116
{
146117
"directoryPropertyName": "CustomAttribute1",
118+
"isVisible": true,
147119
"annotations": [
148120
{
149121
"displayName": "Cost Center",

api-reference/beta/api/profilecardproperty-get.md

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.localizationpriority: medium
55
author: "rwaithera"
66
ms.subservice: "people"
77
doc_type: "apiPageType"
8-
ms.date: 09/19/2024
8+
ms.date: 02/25/2026
99
---
1010

1111
# Get profileCardProperty
@@ -61,47 +61,16 @@ If successful, this method returns a `200 OK` response code and the requested [p
6161

6262
The following example shows a request.
6363

64-
# [HTTP](#tab/http)
6564
<!-- {
6665
"blockType": "request",
6766
"name": "get_profilecardproperty",
6867
"sampleKeys": ["CustomAttribute1"]
6968
}-->
7069

71-
```msgraph-interactive
70+
```http
7271
GET https://graph.microsoft.com/beta/admin/people/profileCardProperties/CustomAttribute1
7372
```
7473

75-
# [C#](#tab/csharp)
76-
[!INCLUDE [sample-code](../includes/snippets/csharp/get-profilecardproperty-csharp-snippets.md)]
77-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78-
79-
# [Go](#tab/go)
80-
[!INCLUDE [sample-code](../includes/snippets/go/get-profilecardproperty-go-snippets.md)]
81-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82-
83-
# [Java](#tab/java)
84-
[!INCLUDE [sample-code](../includes/snippets/java/get-profilecardproperty-java-snippets.md)]
85-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86-
87-
# [JavaScript](#tab/javascript)
88-
[!INCLUDE [sample-code](../includes/snippets/javascript/get-profilecardproperty-javascript-snippets.md)]
89-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90-
91-
# [PHP](#tab/php)
92-
[!INCLUDE [sample-code](../includes/snippets/php/get-profilecardproperty-php-snippets.md)]
93-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94-
95-
# [PowerShell](#tab/powershell)
96-
[!INCLUDE [sample-code](../includes/snippets/powershell/get-profilecardproperty-powershell-snippets.md)]
97-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
98-
99-
# [Python](#tab/python)
100-
[!INCLUDE [sample-code](../includes/snippets/python/get-profilecardproperty-python-snippets.md)]
101-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
102-
103-
---
104-
10574
### Response
10675

10776
The following example shows the response.
@@ -120,6 +89,7 @@ Content-type: application/json
12089
12190
{
12291
"directoryPropertyName": "CustomAttribute1",
92+
"isVisible": true,
12393
"annotations": [
12494
{
12595
"displayName": "Cost Center",

api-reference/beta/api/profilecardproperty-update.md

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.localizationpriority: medium
55
author: "rwaithera"
66
ms.subservice: "people"
77
doc_type: "apiPageType"
8-
ms.date: 09/19/2024
8+
ms.date: 02/25/2026
99
---
1010

1111
# Update profileCardProperty
@@ -52,8 +52,9 @@ PATCH /admin/people/profileCardProperties/{id}
5252

5353
| Property | Type | Description |
5454
|:-------------|:------------|:------------|
55-
|annotations|profileCardAnnotation collection| Any alternative or localized labels an administrator chose to specify.|
56-
|directoryPropertyName|String|The name of the directory property that is intended to surface on the profile card. |
55+
|annotations|[profileCardAnnotation](../resources/profilecardannotation.md) collection| Any alternative or localized labels an administrator chose to specify. Optional.|
56+
|directoryPropertyName|String|The name of the directory property that is intended to surface on the profile card. Optional. |
57+
|isVisible|Boolean|Indicates whether the given directory property should be shown on a user’s profile card. Optional.|
5758

5859
## Response
5960

@@ -65,7 +66,6 @@ If successful, this method returns a `200 OK` response code and an updated [prof
6566

6667
The following example adds a localized label `Kostnadssenter` for the locale `no`.
6768

68-
# [HTTP](#tab/http)
6969
<!-- {
7070
"blockType": "request",
7171
"name": "update_profilecardproperty",
@@ -91,36 +91,6 @@ Content-type: application/json; charset=utf-8
9191
}
9292
```
9393

94-
# [C#](#tab/csharp)
95-
[!INCLUDE [sample-code](../includes/snippets/csharp/update-profilecardproperty-csharp-snippets.md)]
96-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
97-
98-
# [Go](#tab/go)
99-
[!INCLUDE [sample-code](../includes/snippets/go/update-profilecardproperty-go-snippets.md)]
100-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
101-
102-
# [Java](#tab/java)
103-
[!INCLUDE [sample-code](../includes/snippets/java/update-profilecardproperty-java-snippets.md)]
104-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
105-
106-
# [JavaScript](#tab/javascript)
107-
[!INCLUDE [sample-code](../includes/snippets/javascript/update-profilecardproperty-javascript-snippets.md)]
108-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
109-
110-
# [PHP](#tab/php)
111-
[!INCLUDE [sample-code](../includes/snippets/php/update-profilecardproperty-php-snippets.md)]
112-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
113-
114-
# [PowerShell](#tab/powershell)
115-
[!INCLUDE [sample-code](../includes/snippets/powershell/update-profilecardproperty-powershell-snippets.md)]
116-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
117-
118-
# [Python](#tab/python)
119-
[!INCLUDE [sample-code](../includes/snippets/python/update-profilecardproperty-python-snippets.md)]
120-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
121-
122-
---
123-
12494
### Response
12595

12696
The following example shows the response.
@@ -139,6 +109,7 @@ Content-type: application/json; charset=utf-8
139109
140110
{
141111
"directoryPropertyName": "CustomAttribute1",
112+
"isVisible": true,
142113
"annotations": [
143114
{
144115
"displayName": "Cost Center",

api-reference/beta/resources/profilecardproperty.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.localizationpriority: medium
55
author: "kevinbellinger"
66
ms.subservice: "people"
77
doc_type: "resourcePageType"
8-
ms.date: 06/11/2024
8+
ms.date: 02/25/2026
99
---
1010

1111
# profileCardProperty resource type
@@ -36,6 +36,7 @@ For more information about how to add properties to the profile card for an orga
3636
|:---------------------|:------------------------------------------------------------|:------------|
3737
|annotations |[profileCardAnnotation](profilecardannotation.md) collection | Allows an administrator to set a custom display label for the directory property and localize it for the users in their tenant.|
3838
|directoryPropertyName |String | Identifies a **profileCardProperty** resource in [Get](../api/profilecardproperty-get.md), [Update](../api/profilecardproperty-update.md), or [Delete](../api/profilecardproperty-delete.md) operations. Allows an administrator to surface hidden Microsoft Entra ID properties on the Microsoft 365 profile card within their tenant. When present, the Microsoft Entra ID field referenced in this property is visible to all users in your tenant on the contact pane of the profile card. Allowed values for this field are: `UserPrincipalName`, `Fax`, `StreetAddress`, `PostalCode`, `StateOrProvince`, `Alias`, `CustomAttribute1`, `CustomAttribute2`, `CustomAttribute3`, `CustomAttribute4`, `CustomAttribute5`, `CustomAttribute6`, `CustomAttribute7`, `CustomAttribute8`, `CustomAttribute9`, `CustomAttribute10`, `CustomAttribute11`, `CustomAttribute12`, `CustomAttribute13`, `CustomAttribute14`, `CustomAttribute15`. |
39+
|isVisible|Boolean|Indicates whether the given directory property should be shown on a user’s profile card.|
3940

4041
## Relationships
4142

@@ -56,6 +57,7 @@ The following JSON representation shows the resource type.
5657
```json
5758
{
5859
"annotations": [{ "@odata.type": "microsoft.graph.profileCardAnnotation" }],
59-
"directoryPropertyName": "String"
60+
"directoryPropertyName": "String",
61+
"isVisible": "Boolean"
6062
}
6163
```

changelog/Microsoft.People.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
{
22
"changelog": [
3+
{
4+
"ChangeList": [
5+
{
6+
"Id": "3de9aa4d-804f-47e0-9ea6-fb9ed7a669f8",
7+
"ApiChange": "Property",
8+
"ChangedApiName": "isVisible",
9+
"ChangeType": "Addition",
10+
"Description": "Added the **isVisible** property to the [profileCardProperty](https://learn.microsoft.com/en-us/graph/api/resources/profileCardProperty?view=graph-rest-beta) resource.",
11+
"Target": "profileCardProperty"
12+
}
13+
],
14+
"Id": "3de9aa4d-804f-47e0-9ea6-fb9ed7a669f8",
15+
"Cloud": "Prod",
16+
"Version": "beta",
17+
"CreatedDateTime": "2026-05-06T09:13:51.9590841Z",
18+
"WorkloadArea": "People and workplace intelligence",
19+
"SubArea": "People"
20+
},
321
{
422
"ChangeList": [
523
{

concepts/add-properties-profilecard.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ You can add any of these attributes to the profile card by configuring your [peo
6262
6363
## Configure profile card properties using the Microsoft Graph REST API
6464

65+
Use the **annotations** and **directoryPropertyName** properties on **profileCardProperty** to configure profile card properties. You can also use the **isVisible** property to indicate whether the given directory property should be shown on a user’s profile card; this property is supported only in the Microsoft Graph beta API and requires the `/beta` endpoint.
66+
6567
### Example
6668

6769
The following example displays the `Alias` attribute on the profile card.

concepts/whats-new-overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ Use the new Copilot change notifications API for meetings AI insights to subscri
4545
- Added the [onVerifiedIdClaimValidationCustomExtension](/graph/api/resources/onverifiedidclaimvalidationcustomextension?view=graph-rest-beta&preserve-view=true) and [onVerifiedIdClaimValidationListener](/graph/api/resources/onverifiedidclaimvalidationlistener?view=graph-rest-beta&preserve-view=true) resource types and associated methods to support custom logic for claim validation from Verified ID credential presentations during authentication flows through Microsoft Entra custom authentication extensions in External ID.
4646
- Added support for Microsoft 365 cross-tenant access policy capabilities that allow administrators to control access to Microsoft 365 resources and data when collaborating with external organizations. Use the [crossTenantAccessPolicyConfigurationDefault](/graph/api/resources/crosstenantaccesspolicyconfigurationdefault?view=graph-rest-beta&preserve-view=true) and [crossTenantAccessPolicyConfigurationPartner](/graph/api/resources/crosstenantaccesspolicyconfigurationpartner?view=graph-rest-beta&preserve-view=true) resources with the new **m365Capabilities** relationship to manage capabilities including profile sharing, calendar sharing, migration, mail tips, and Places booking across organizational boundaries.
4747

48+
### People and workplace intelligence | People admin settings
49+
50+
Use the **isVisible** property on [profileCardProperty](/graph/api/resources/profilecardproperty?view=graph-rest-beta&preserve-view=true) to indicate whether the given directory property should be shown on a user’s profile card.
51+
4852
## April 2026: New and generally available
4953

5054
### Applications

0 commit comments

Comments
 (0)