ESC
Type to search...

TrustFrameworkKeySet.Read.All

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Read All Resources

Allows the app to read trust framework key set properties without a signed-in user.

Permission data: April 6, 2026 at 4:06 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Read trust framework key sets

Allows the app to read trust framework key set properties without a signed-in user.

Delegated Permission Admin consent required

Read trust framework key sets

Allows the app to read trust framework key set properties on behalf of the signed-in user.

Properties

Microsoft Graph beta exact-category-docs

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

Microsoft Graph beta exact-category-docs

JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

JSON representation
{
  "@odata.type": "#microsoft.graph.trustFrameworkKeySet",
  "id": "String (identifier)",
  "keys": [
    {
      "@odata.type": "microsoft.graph.trustFrameworkKey"
    }
  ]
}

Relationships

Microsoft Graph beta exact-category-docs

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

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

No API methods available for this version.

Exact Microsoft Learn match

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
Exact Microsoft Learn PowerShell match

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 docs
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgBetaTrustFrameworkKeySet /trustFramework/keySets
List keySets
Get-MgBetaTrustFrameworkKeySet /trustFramework/keySets/{id}
Get trustFrameworkKeySet
Get-MgBetaTrustFrameworkKeySetActiveKey /trustFramework/keySets/{id}/getActiveKey
trustFrameworkKeySet: getActiveKey

Code Examples

C# / .NET SDK
Get trustFrameworkKeySet
// 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();
JavaScript
Get trustFrameworkKeySet
const options = {
	authProvider,
};

const client = Client.init(options);

let trustFrameworkKeySet = await client.api('/trustFramework/keySets/{id}')
	.version('beta')
	.get();
PowerShell
Get trustFrameworkKeySet
Import-Module Microsoft.Graph.Beta.Identity.SignIns

Get-MgBetaTrustFrameworkKeySet -TrustFrameworkKeySetId $trustFrameworkKeySetId
Python
Get trustFrameworkKeySet
# 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

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or delegated permissions and search for TrustFrameworkKeySet.Read.All

4

Grant Admin Consent

Application permissions always require admin consent.