Skip to content

Commit 1d5ba4f

Browse files
authored
Update appRoleAssignedTo metadata to support all principal types (#164)
1 parent f86061c commit 1d5ba4f

3 files changed

Lines changed: 4 additions & 14 deletions

File tree

src/swagger-generation/config-beta.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,9 @@ EntityTypes:
115115
- creationTimestamp
116116
- principalDisplayName
117117
- principalType
118-
FilterProperty:
119-
- resourceId
120118
CompositeKey:
121119
- appRoleId
122-
- resourceId
120+
- principalId
123121
- Name: microsoft.graph.appRole
124122
ReadOnly:
125123
- origin

src/swagger-generation/config-v1.0.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,9 @@ EntityTypes:
102102
- createdDateTime
103103
- principalDisplayName
104104
- principalType
105-
FilterProperty:
106-
- resourceId
107105
CompositeKey:
108106
- appRoleId
109-
- resourceId
107+
- principalId
110108
- Name: microsoft.graph.appRole
111109
ReadOnly:
112110
- origin

src/swagger-generation/output/metadata.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,9 @@
104104
"isContainment": true,
105105
"containerEntitySet": "servicePrincipals",
106106
"keyProperty": "resourceId",
107-
"temporaryFilterKeys": [
108-
"resourceId"
109-
],
110107
"compositeKeyProperties": [
111108
"appRoleId",
112-
"resourceId"
109+
"principalId"
113110
]
114111
},
115112
"v1.0": {
@@ -118,12 +115,9 @@
118115
"isContainment": true,
119116
"containerEntitySet": "servicePrincipals",
120117
"keyProperty": "resourceId",
121-
"temporaryFilterKeys": [
122-
"resourceId"
123-
],
124118
"compositeKeyProperties": [
125119
"appRoleId",
126-
"resourceId"
120+
"principalId"
127121
]
128122
}
129123
}

0 commit comments

Comments
 (0)