Skip to content

Commit 9e8b84f

Browse files
authored
Merge pull request #28464 from microsoftgraph/zallison/fix_createdByAppId_docs
Add missing 'createdByAppId' definition to App and SP objects
2 parents fd5c14d + ad8253b commit 9e8b84f

6 files changed

Lines changed: 34 additions & 0 deletions

File tree

api-reference/v1.0/api/application-get.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Content-type: application/json
123123
"appId": "631a96bc-a705-4eda-9f99-fdaf9f54f6a2",
124124
"applicationTemplateId": null,
125125
"identifierUris": [],
126+
"createdByAppId": "748fe028-bb3d-4f2c-a015-4789781fe0f1",
126127
"createdDateTime": "2019-09-17T19:10:35.2742618Z",
127128
"disabledByMicrosoftStatus": null,
128129
"displayName": "Display name",

api-reference/v1.0/api/serviceprincipal-get.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ Content-type: application/json
136136
"appOwnerOrganizationId": "65415bb1-9267-4313-bbf5-ae259732ee12",
137137
"appRoleAssignmentRequired":true,
138138
"appRoles": [],
139+
"createdByAppId": "748fe028-bb3d-4f2c-a015-4789781fe0f1",
139140
"disabledByMicrosoftStatus": null,
140141
"displayName": "My app instance in tenant",
141142
"endpoints": [],

api-reference/v1.0/resources/application.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ This resource supports:
7070
| applicationTemplateId | String | Unique identifier of the [applicationTemplate](../resources/applicationtemplate.md). Supports `$filter` (`eq`, `not`, `ne`). Read-only. `null` if the app wasn't created from an application template.|
7171
| appRoles | [appRole](approle.md) collection | The collection of roles defined for the application. With [app role assignments](approleassignment.md), these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. |
7272
|certification|[certification](certification.md)|Specifies the certification status of the application.|
73+
|createdByAppId|String|The **appId** of the application that created this application. Set internally by Microsoft Entra ID. Read-only.|
7374
| createdDateTime | DateTimeOffset | The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. Read-only. <br><br> Supports `$filter` (`eq`, `ne`, `not`, `ge`, `le`, `in`, and `eq` on `null` values) and `$orderby`. |
7475
| deletedDateTime | DateTimeOffset | The date and time the application was deleted. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. Read-only. |
7576
| description | String | Free text field to provide a description of the application object to end users. The maximum allowed size is 1,024 characters. Supports `$filter` (`eq`, `ne`, `not`, `ge`, `le`, `startsWith`) and `$search`. |
@@ -158,6 +159,7 @@ The following JSON representation shows the resource type.
158159
"applicationTemplateId": "String",
159160
"appRoles": [{"@odata.type": "microsoft.graph.appRole"}],
160161
"certification": {"@odata.type": "microsoft.graph.certification"},
162+
"createdByAppId": "String",
161163
"createdDateTime": "String (timestamp)",
162164
"deletedDateTime": "String (timestamp)",
163165
"disabledByMicrosoftStatus": "String",

api-reference/v1.0/resources/serviceprincipal.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ This resource supports using [delta query](/graph/delta-query-overview) to track
8484
|appOwnerOrganizationId|Guid|Contains the tenant ID where the application is registered. This is applicable only to service principals backed by applications. Supports `$filter` (`eq`, `ne`, `NOT`, `ge`, `le`).|
8585
|appRoleAssignmentRequired|Boolean|Specifies whether users or other service principals need to be granted an app role assignment for this service principal before users can sign in or apps can get tokens. The default value is `false`. Not nullable. <br><br>Supports `$filter` (`eq`, `ne`, `NOT`). |
8686
|appRoles|[appRole](approle.md) collection|The roles exposed by the application that's linked to this service principal. For more information, see the **appRoles** property definition on the [application](application.md) entity. Not nullable. |
87+
|createdByAppId|String|The **appId** of the application that created this service principal. Set internally by Microsoft Entra ID. Read-only.|
8788
|customSecurityAttributes|[customSecurityAttributeValue](../resources/customsecurityattributevalue.md)|An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. <br><br>Returned only on `$select`. Supports `$filter` (`eq`, `ne`, `not`, `startsWith`). Filter value is case sensitive. <br><li>To read this property, the calling app must be assigned the *CustomSecAttributeAssignment.Read.All* permission. To write this property, the calling app must be assigned the *CustomSecAttributeAssignment.ReadWrite.All* permissions. <li>To read or write this property in delegated scenarios, the admin must be assigned the *Attribute Assignment Administrator* role.|
8889
| deletedDateTime | DateTimeOffset | The date and time the service principal was deleted. Read-only. |
8990
| description | String | Free text field to provide an internal end-user facing description of the service principal. End-user portals such [MyApps](/azure/active-directory/user-help/my-apps-portal-end-user-access) displays the application description in this field. The maximum allowed size is 1,024 characters. Supports `$filter` (`eq`, `ne`, `not`, `ge`, `le`, `startsWith`) and `$search`.|
@@ -164,6 +165,7 @@ The following JSON representation shows the resource type.
164165
"appOwnerOrganizationId": "Guid",
165166
"appRoleAssignmentRequired": true,
166167
"appRoles": [{"@odata.type": "microsoft.graph.appRole"}],
168+
"createdByAppId": "String",
167169
"customSecurityAttributes": {
168170
"@odata.type": "microsoft.graph.customSecurityAttributeValue"
169171
},

changelog/Microsoft.DirectoryServices.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15381,6 +15381,32 @@
1538115381
"CreatedDateTime": "2026-03-13T23:43:59.6139755Z",
1538215382
"WorkloadArea": "Applications",
1538315383
"SubArea": ""
15384+
},
15385+
{
15386+
"ChangeList": [
15387+
{
15388+
"Id": "8a034d71-45f2-4a04-a9db-90572afe81fc",
15389+
"ApiChange": "Property",
15390+
"ChangedApiName": "createdByAppId",
15391+
"ChangeType": "Addition",
15392+
"Description": "Added the **createdByAppId** property to the [application](https://learn.microsoft.com/en-us/graph/api/resources/application?view=graph-rest-1.0) resource.",
15393+
"Target": "application"
15394+
},
15395+
{
15396+
"Id": "8a034d71-45f2-4a04-a9db-90572afe81fc",
15397+
"ApiChange": "Property",
15398+
"ChangedApiName": "createdByAppId",
15399+
"ChangeType": "Addition",
15400+
"Description": "Added the **createdByAppId** property to the [servicePrincipal](https://learn.microsoft.com/en-us/graph/api/resources/servicePrincipal?view=graph-rest-1.0) resource.",
15401+
"Target": "servicePrincipal"
15402+
}
15403+
],
15404+
"Id": "8a034d71-45f2-4a04-a9db-90572afe81fc",
15405+
"Cloud": "Prod",
15406+
"Version": "v1.0",
15407+
"CreatedDateTime": "2026-03-31T15:28:36.2770719Z",
15408+
"WorkloadArea": "Identity and access",
15409+
"SubArea": "Directory management"
1538415410
}
1538515411
]
1538615412
}

concepts/whats-new-overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ Introduced the Agent Identity API to support registration and management of AI a
5454

5555
The API also introduces supporting types including [inheritableScopes](/graph/api/resources/inheritablescopes), [allAllowedScopes](/graph/api/resources/allallowedscopes), [enumeratedScopes](/graph/api/resources/enumeratedscopes), [noScopes](/graph/api/resources/noscopes), and the **scopeCollectionKind** enumeration.
5656

57+
Added the **createdByAppId** property to the [application](/graph/api/resources/application) and [servicePrincipal](/graph/api/resources/serviceprincipal) resources.
58+
5759
### Identity and access | Identity and sign-in
5860

5961
- Added new authentication event resources to support Just-In-Time (JIT) user migration scenarios from legacy authentication systems:

0 commit comments

Comments
 (0)