TrustFrameworkKeySet.Read.All
Allows the app to read trust framework key set properties without a signed-in user.
In short
TrustFrameworkKeySet.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the TrustFrameworkKeySet category. Allows the app to read trust framework key set properties without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent.
Permission Details
Read trust framework key sets
Allows the app to read trust framework key set properties without a signed-in user.
fff194f1-7dce-4428-8301-1badb5518201
Read trust framework key sets
Allows the app to read trust framework key set properties on behalf of the signed-in user.
7ad34336-f5b1-44ce-8682-31d7dfcd9ab9
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
id |
String |
Unique identifier of the trustframework keyset Inherited from entity. |
keys |
trustFrameworkKey collection |
A collection of the keys. |
JSON Representation
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"@odata.type": "#microsoft.graph.trustFrameworkKeySet",
"id": "String (identifier)",
"keys": [
{
"@odata.type": "microsoft.graph.trustFrameworkKey"
}
]
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
keysv2 |
trustFrameworkKeyv2 collection |
A collection of the keys. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/trustFramework/keySets
|
GET
/trustFramework/keySets/{id}
|
GET
/trustFramework/keySets/{id}/getActiveKey
|
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.TrustFramework.KeySets["{trustFrameworkKeySet-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let trustFrameworkKeySet = await client.api('/trustFramework/keySets/{id}')
.version('beta')
.get();
Import-Module Microsoft.Graph.Beta.Identity.SignIns
Get-MgBetaTrustFrameworkKeySet -TrustFrameworkKeySetId $trustFrameworkKeySetId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.trust_framework.key_sets.by_trust_framework_key_set_id('trustFrameworkKeySet-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for TrustFrameworkKeySet.Read.All
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the TrustFrameworkKeySet.Read.All Microsoft Graph permission?
TrustFrameworkKeySet.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the TrustFrameworkKeySet category. Allows the app to read trust framework key set properties without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph trustframeworkkeyset resource type. 3 documented Microsoft Graph REST methods require it. 3 Microsoft Graph PowerShell commands are documented for it.
Is TrustFrameworkKeySet.Read.All an application or a delegated permission?
TrustFrameworkKeySet.Read.All is available as both an application permission (app-only access, no signed-in user) and a delegated permission (access on behalf of a signed-in user).
Does TrustFrameworkKeySet.Read.All require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for TrustFrameworkKeySet.Read.All?
For TrustFrameworkKeySet.Read.All, the application (app role) ID is fff194f1-7dce-4428-8301-1badb5518201, and the delegated (OAuth2 scope) ID is 7ad34336-f5b1-44ce-8682-31d7dfcd9ab9. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.