AppCertTrustConfiguration.ReadWrite.All
Allows the app to create, read, update and delete the trusted certificate authority configuration which can be used to restrict application certificates based on their issuing authority, on behalf of the signed-in user.
Permission Details
Read and write the trusted certificate authority configuration for applications
Allows the app to create, read, update and delete the trusted certificate authority configuration which can be used to restrict application certificates based on their issuing authority, on behalf of the signed-in user.
4bae2ed4-473e-4841-a493-9829cfd51d48
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
id |
String |
A unique identifier for the object; for example, 12345678-9abc-def0-1234-56789abcde. Key. Not nullable. Read-only. Inherited from entity. |
administrativeUnits |
administrativeUnit collection |
Conceptual container for user and group directory objects. |
attributeSets |
attributeSet collection |
Group of related custom security attribute definitions. |
customSecurityAttributeDefinitions |
customSecurityAttributeDefinition collection |
Schema of a custom security attributes (key-value pairs). |
deletedItems |
directoryObject collection |
Recently deleted items. Read-only. Nullable. |
deviceLocalCredentials |
deviceLocalCredentialInfo collection |
The credentials of the device's local administrator account backed up to Microsoft Entra ID. |
federationConfigurations |
identityProviderBase collection |
Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. |
onPremisesSynchronization |
onPremisesDirectorySynchronization collection |
A container for on-premises directory synchronization functionalities that are available for the organization. |
publicKeyInfrastructure |
object |
The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant. |
subscriptions |
companySubscription collection |
List of commercial subscriptions that an organization acquired. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.directory"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
administrativeUnits |
administrativeUnit collection |
Conceptual container for user and group directory objects. |
attributeSets |
attributeSet collection |
Group of related custom security attribute definitions. |
customSecurityAttributeDefinitions |
customSecurityAttributeDefinition collection |
Schema of a custom security attributes (key-value pairs). |
deletedItems |
directoryObject collection |
Recently deleted items. Read-only. Nullable. |
deviceLocalCredentials |
deviceLocalCredential collection |
The credentials of the device's local administrator account backed up to Microsoft Entra ID. |
federationConfigurations |
identityProviderBase collection |
Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. |
onPremisesSynchronization |
onPremisesDirectorySynchronization |
A container for on-premises directory synchronization functionalities that are available for the organization. |
publicKeyInfrastructure |
publicKeyInfrastructureRoot |
The collection of public key infrastructure instances for the certificate-based authentication feature for users in a Microsoft Entra tenant. |
subscriptions |
companySubscription collection |
List of commercial subscriptions that an organization acquired. |
externalUserProfiles |
externalUserProfile collection |
Collection of external user profiles that represent collaborators in the directory. |
featureRolloutPolicies |
featureRolloutPolicy collection |
Related featureRolloutPolicies data exposed by this resource. |
impactedResources |
impactedResource collection |
Related impactedResources data exposed by this resource. |
inboundSharedUserProfiles |
inboundSharedUserProfile collection |
A collection of external users whose profile data is shared with the Microsoft Entra tenant. Nullable. |
outboundSharedUserProfiles |
outboundSharedUserProfile collection |
Related outboundSharedUserProfiles data exposed by this resource. |
pendingExternalUserProfiles |
pendingExternalUserProfile collection |
Collection of pending external user profiles representing collaborators in the directory that are unredeemed. |
recommendations |
recommendation collection |
List of recommended improvements to improve tenant posture. |
sharedEmailDomains |
sharedEmailDomain collection |
Related sharedEmailDomains data exposed by this resource. |
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.
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
// Dependencies
using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Serialization;
var requestBody = new CertificateBasedApplicationConfiguration
{
DisplayName = "Tenant Trusted Certificate Chain of Trust for Application Configuration",
Description = "The Trusted Certificate Chain of Trust containing a certificate chain used by the Tenant app policy, to only allow application certificates from this issuer.",
AdditionalData = new Dictionary<string, object>
{
{
"trustedCertificateAuthorities " , new List<object>
{
new UntypedObject(new Dictionary<string, UntypedNode>
{
{
"isRootAuthority", new UntypedBoolean(true)
},
{
"certificate", new UntypedString("MIIHMDCCBRigAwIBAgITWgAAmdzMYKZPslw+twABAACZ")
},
}),
}
},
},
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Directory.CertificateAuthorities.CertificateBasedApplicationConfigurations.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const certificateBasedApplicationConfiguration = {
displayName: 'Tenant Trusted Certificate Chain of Trust for Application Configuration',
description: 'The Trusted Certificate Chain of Trust containing a certificate chain used by the Tenant app policy, to only allow application certificates from this issuer.',
'trustedCertificateAuthorities ': [
{
isRootAuthority: true,
certificate: 'MIIHMDCCBRigAwIBAgITWgAAmdzMYKZPslw+twABAACZ'
}
]
};
await client.api('/directory/certificateAuthorities/certificateBasedApplicationConfigurations')
.version('beta')
.post(certificateBasedApplicationConfiguration);
Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement
$params = @{
displayName = "Tenant Trusted Certificate Chain of Trust for Application Configuration"
description = "The Trusted Certificate Chain of Trust containing a certificate chain used by the Tenant app policy, to only allow application certificates from this issuer."
"trustedCertificateAuthorities " = @(
@{
isRootAuthority = $true
certificate = "MIIHMDCCBRigAwIBAgITWgAAmdzMYKZPslw+twABAACZ"
}
)
}
New-MgBetaDirectoryCertificateAuthorityCertificateBasedApplicationConfiguration -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.certificate_based_application_configuration import CertificateBasedApplicationConfiguration
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = CertificateBasedApplicationConfiguration(
display_name = "Tenant Trusted Certificate Chain of Trust for Application Configuration",
description = "The Trusted Certificate Chain of Trust containing a certificate chain used by the Tenant app policy, to only allow application certificates from this issuer.",
additional_data = {
"trusted_certificate_authorities " : [
{
"is_root_authority" : True,
"certificate" : "MIIHMDCCBRigAwIBAgITWgAAmdzMYKZPslw+twABAACZ",
},
],
}
)
result = await graph_client.directory.certificate_authorities.certificate_based_application_configurations.post(request_body)
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 Delegated permissions and search for AppCertTrustConfiguration.ReadWrite.All
Grant Admin Consent
This delegated permission requires admin consent.