published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
Use this data source to retrieve information about an authentication strength policy within Azure Active Directory. This can be used to read either the built-in policies supplied by Microsoft, or custom policies created in the tenant.
API Permissions
The following API permissions are required in order to use this data source.
When authenticated with a service principal, this data source requires one of the following application roles: Policy.Read.AuthenticationMethod or Policy.Read.All
When authenticated with a user principal, this data source requires one of the following directory roles: Conditional Access Administrator, Security Administrator, Security Reader or Global Administrator
Example Usage
Look up a built-in policy by display name
import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";
const example = azuread.getAuthenticationStrengthPolicy({
displayName: "Multifactor authentication",
});
import pulumi
import pulumi_azuread as azuread
example = azuread.get_authentication_strength_policy(display_name="Multifactor authentication")
package main
import (
"github.com/pulumi/pulumi-azuread/sdk/v6/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azuread.GetAuthenticationStrengthPolicy(ctx, &azuread.LookupAuthenticationStrengthPolicyArgs{
DisplayName: pulumi.StringRef("Multifactor authentication"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureAD = Pulumi.AzureAD;
return await Deployment.RunAsync(() =>
{
var example = AzureAD.GetAuthenticationStrengthPolicy.Invoke(new()
{
DisplayName = "Multifactor authentication",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuread.AzureadFunctions;
import com.pulumi.azuread.inputs.GetAuthenticationStrengthPolicyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AzureadFunctions.getAuthenticationStrengthPolicy(GetAuthenticationStrengthPolicyArgs.builder()
.displayName("Multifactor authentication")
.build());
}
}
variables:
example:
fn::invoke:
function: azuread:getAuthenticationStrengthPolicy
arguments:
displayName: Multifactor authentication
terraform {
required_providers {
azuread = {
source = "pulumi/azuread"
}
}
}
data "azuread_authentication_strength_policy" "example" {
display_name = "Multifactor authentication"
}
The display names of the built-in policies supplied by Microsoft are:
Multifactor authenticationPasswordless MFAPhishing-resistant MFA
Look up a policy by object ID
import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";
const example = azuread.getAuthenticationStrengthPolicy({
objectId: "00000000-0000-0000-0000-000000000004",
});
import pulumi
import pulumi_azuread as azuread
example = azuread.get_authentication_strength_policy(object_id="00000000-0000-0000-0000-000000000004")
package main
import (
"github.com/pulumi/pulumi-azuread/sdk/v6/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azuread.GetAuthenticationStrengthPolicy(ctx, &azuread.LookupAuthenticationStrengthPolicyArgs{
ObjectId: pulumi.StringRef("00000000-0000-0000-0000-000000000004"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureAD = Pulumi.AzureAD;
return await Deployment.RunAsync(() =>
{
var example = AzureAD.GetAuthenticationStrengthPolicy.Invoke(new()
{
ObjectId = "00000000-0000-0000-0000-000000000004",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuread.AzureadFunctions;
import com.pulumi.azuread.inputs.GetAuthenticationStrengthPolicyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AzureadFunctions.getAuthenticationStrengthPolicy(GetAuthenticationStrengthPolicyArgs.builder()
.objectId("00000000-0000-0000-0000-000000000004")
.build());
}
}
variables:
example:
fn::invoke:
function: azuread:getAuthenticationStrengthPolicy
arguments:
objectId: 00000000-0000-0000-0000-000000000004
terraform {
required_providers {
azuread = {
source = "pulumi/azuread"
}
}
}
data "azuread_authentication_strength_policy" "example" {
object_id = "00000000-0000-0000-0000-000000000004"
}
Look up a policy managed elsewhere in the same configuration
import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";
const example = azuread.getAuthenticationStrengthPolicy({
objectId: exampleAzureadAuthenticationStrengthPolicy.objectId,
});
import pulumi
import pulumi_azuread as azuread
example = azuread.get_authentication_strength_policy(object_id=example_azuread_authentication_strength_policy["objectId"])
package main
import (
"github.com/pulumi/pulumi-azuread/sdk/v6/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azuread.GetAuthenticationStrengthPolicy(ctx, &azuread.LookupAuthenticationStrengthPolicyArgs{
ObjectId: pulumi.StringRef(exampleAzureadAuthenticationStrengthPolicy.ObjectId),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureAD = Pulumi.AzureAD;
return await Deployment.RunAsync(() =>
{
var example = AzureAD.GetAuthenticationStrengthPolicy.Invoke(new()
{
ObjectId = exampleAzureadAuthenticationStrengthPolicy.ObjectId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuread.AzureadFunctions;
import com.pulumi.azuread.inputs.GetAuthenticationStrengthPolicyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AzureadFunctions.getAuthenticationStrengthPolicy(GetAuthenticationStrengthPolicyArgs.builder()
.objectId(exampleAzureadAuthenticationStrengthPolicy.get("objectId"))
.build());
}
}
variables:
example:
fn::invoke:
function: azuread:getAuthenticationStrengthPolicy
arguments:
objectId: ${exampleAzureadAuthenticationStrengthPolicy.objectId}
terraform {
required_providers {
azuread = {
source = "pulumi/azuread"
}
}
}
data "azuread_authentication_strength_policy" "example" {
object_id = exampleAzureadAuthenticationStrengthPolicy.objectId
}
Using getAuthenticationStrengthPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAuthenticationStrengthPolicy(args: GetAuthenticationStrengthPolicyArgs, opts?: InvokeOptions): Promise<GetAuthenticationStrengthPolicyResult>
function getAuthenticationStrengthPolicyOutput(args: GetAuthenticationStrengthPolicyOutputArgs, opts?: InvokeOutputOptions): Output<GetAuthenticationStrengthPolicyResult>def get_authentication_strength_policy(display_name: Optional[str] = None,
object_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAuthenticationStrengthPolicyResult
def get_authentication_strength_policy_output(display_name: pulumi.Input[Optional[str]] = None,
object_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAuthenticationStrengthPolicyResult]func LookupAuthenticationStrengthPolicy(ctx *Context, args *LookupAuthenticationStrengthPolicyArgs, opts ...InvokeOption) (*LookupAuthenticationStrengthPolicyResult, error)
func LookupAuthenticationStrengthPolicyOutput(ctx *Context, args *LookupAuthenticationStrengthPolicyOutputArgs, opts ...InvokeOption) LookupAuthenticationStrengthPolicyResultOutput> Note: This function is named LookupAuthenticationStrengthPolicy in the Go SDK.
public static class GetAuthenticationStrengthPolicy
{
public static Task<GetAuthenticationStrengthPolicyResult> InvokeAsync(GetAuthenticationStrengthPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetAuthenticationStrengthPolicyResult> Invoke(GetAuthenticationStrengthPolicyInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAuthenticationStrengthPolicyResult> Invoke(GetAuthenticationStrengthPolicyInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAuthenticationStrengthPolicyResult> getAuthenticationStrengthPolicy(GetAuthenticationStrengthPolicyArgs args, InvokeOptions options)
public static Output<GetAuthenticationStrengthPolicyResult> getAuthenticationStrengthPolicy(GetAuthenticationStrengthPolicyArgs args, InvokeOptions options)
public static Output<GetAuthenticationStrengthPolicyResult> getAuthenticationStrengthPolicy(GetAuthenticationStrengthPolicyArgs args, InvokeOutputOptions options)
fn::invoke:
function: azuread:index/getAuthenticationStrengthPolicy:getAuthenticationStrengthPolicy
arguments:
# arguments dictionarydata "azuread_get_authentication_strength_policy" "name" {
# arguments
}The following arguments are supported:
- Display
Name string - The display name of the authentication strength policy.
- Object
Id string The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.
- Display
Name string - The display name of the authentication strength policy.
- Object
Id string The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.
- display_
name string - The display name of the authentication strength policy.
- object_
id string The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.
- display
Name String - The display name of the authentication strength policy.
- object
Id String The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.
- display
Name string - The display name of the authentication strength policy.
- object
Id string The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.
- display_
name str - The display name of the authentication strength policy.
- object_
id str The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.
- display
Name String - The display name of the authentication strength policy.
- object
Id String The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.
getAuthenticationStrengthPolicy Result
The following output properties are available:
- Allowed
Combinations List<string> - A list of allowed authentication methods combinations for this authentication strength policy.
- Combination
Configurations List<Pulumi.Azure AD. Outputs. Get Authentication Strength Policy Combination Configuration> - A list of
combinationConfigurationsblocks as documented below, which further constrain the allowed combinations for this policy. - Description string
- The description of this authentication strength policy.
- Display
Name string - The display name of this authentication strength policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Object
Id string - The object ID of this combination configuration.
- Allowed
Combinations []string - A list of allowed authentication methods combinations for this authentication strength policy.
- Combination
Configurations []GetAuthentication Strength Policy Combination Configuration - A list of
combinationConfigurationsblocks as documented below, which further constrain the allowed combinations for this policy. - Description string
- The description of this authentication strength policy.
- Display
Name string - The display name of this authentication strength policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Object
Id string - The object ID of this combination configuration.
- allowed_
combinations list(string) - A list of allowed authentication methods combinations for this authentication strength policy.
- combination_
configurations list(object) - A list of
combinationConfigurationsblocks as documented below, which further constrain the allowed combinations for this policy. - description string
- The description of this authentication strength policy.
- display_
name string - The display name of this authentication strength policy.
- id string
- The provider-assigned unique ID for this managed resource.
- object_
id string - The object ID of this combination configuration.
- allowed
Combinations List<String> - A list of allowed authentication methods combinations for this authentication strength policy.
- combination
Configurations List<GetAuthentication Strength Policy Combination Configuration> - A list of
combinationConfigurationsblocks as documented below, which further constrain the allowed combinations for this policy. - description String
- The description of this authentication strength policy.
- display
Name String - The display name of this authentication strength policy.
- id String
- The provider-assigned unique ID for this managed resource.
- object
Id String - The object ID of this combination configuration.
- allowed
Combinations string[] - A list of allowed authentication methods combinations for this authentication strength policy.
- combination
Configurations GetAuthentication Strength Policy Combination Configuration[] - A list of
combinationConfigurationsblocks as documented below, which further constrain the allowed combinations for this policy. - description string
- The description of this authentication strength policy.
- display
Name string - The display name of this authentication strength policy.
- id string
- The provider-assigned unique ID for this managed resource.
- object
Id string - The object ID of this combination configuration.
- allowed_
combinations Sequence[str] - A list of allowed authentication methods combinations for this authentication strength policy.
- combination_
configurations Sequence[GetAuthentication Strength Policy Combination Configuration] - A list of
combinationConfigurationsblocks as documented below, which further constrain the allowed combinations for this policy. - description str
- The description of this authentication strength policy.
- display_
name str - The display name of this authentication strength policy.
- id str
- The provider-assigned unique ID for this managed resource.
- object_
id str - The object ID of this combination configuration.
- allowed
Combinations List<String> - A list of allowed authentication methods combinations for this authentication strength policy.
- combination
Configurations List<Property Map> - A list of
combinationConfigurationsblocks as documented below, which further constrain the allowed combinations for this policy. - description String
- The description of this authentication strength policy.
- display
Name String - The display name of this authentication strength policy.
- id String
- The provider-assigned unique ID for this managed resource.
- object
Id String - The object ID of this combination configuration.
Supporting Types
GetAuthenticationStrengthPolicyCombinationConfiguration
- Allowed
Aaguids List<string> - A list of AAGUIDs allowed by this combination configuration. Only populated when
typeisfido2CombinationConfiguration. - Allowed
Issuer List<string>Skis - A list of allowed certificate issuer subject key identifier values. Only populated when
typeisx509CertificateCombinationConfiguration. - Allowed
Policy List<string>Oids - A list of allowed certificate policy OIDs. Only populated when
typeisx509CertificateCombinationConfiguration. - Applies
To List<string>Combinations - A list of authentication method combinations this configuration applies to, for example
fido2orx509CertificateSingleFactor. This is distinct fromtype, which identifies the kind of combination configuration. - Object
Id string The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.- Type string
- The type of this combination configuration, either
fido2CombinationConfigurationorx509CertificateCombinationConfiguration.
- Allowed
Aaguids []string - A list of AAGUIDs allowed by this combination configuration. Only populated when
typeisfido2CombinationConfiguration. - Allowed
Issuer []stringSkis - A list of allowed certificate issuer subject key identifier values. Only populated when
typeisx509CertificateCombinationConfiguration. - Allowed
Policy []stringOids - A list of allowed certificate policy OIDs. Only populated when
typeisx509CertificateCombinationConfiguration. - Applies
To []stringCombinations - A list of authentication method combinations this configuration applies to, for example
fido2orx509CertificateSingleFactor. This is distinct fromtype, which identifies the kind of combination configuration. - Object
Id string The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.- Type string
- The type of this combination configuration, either
fido2CombinationConfigurationorx509CertificateCombinationConfiguration.
- allowed_
aaguids list(string) - A list of AAGUIDs allowed by this combination configuration. Only populated when
typeisfido2CombinationConfiguration. - allowed_
issuer_ list(string)skis - A list of allowed certificate issuer subject key identifier values. Only populated when
typeisx509CertificateCombinationConfiguration. - allowed_
policy_ list(string)oids - A list of allowed certificate policy OIDs. Only populated when
typeisx509CertificateCombinationConfiguration. - applies_
to_ list(string)combinations - A list of authentication method combinations this configuration applies to, for example
fido2orx509CertificateSingleFactor. This is distinct fromtype, which identifies the kind of combination configuration. - object_
id string The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.- type string
- The type of this combination configuration, either
fido2CombinationConfigurationorx509CertificateCombinationConfiguration.
- allowed
Aaguids List<String> - A list of AAGUIDs allowed by this combination configuration. Only populated when
typeisfido2CombinationConfiguration. - allowed
Issuer List<String>Skis - A list of allowed certificate issuer subject key identifier values. Only populated when
typeisx509CertificateCombinationConfiguration. - allowed
Policy List<String>Oids - A list of allowed certificate policy OIDs. Only populated when
typeisx509CertificateCombinationConfiguration. - applies
To List<String>Combinations - A list of authentication method combinations this configuration applies to, for example
fido2orx509CertificateSingleFactor. This is distinct fromtype, which identifies the kind of combination configuration. - object
Id String The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.- type String
- The type of this combination configuration, either
fido2CombinationConfigurationorx509CertificateCombinationConfiguration.
- allowed
Aaguids string[] - A list of AAGUIDs allowed by this combination configuration. Only populated when
typeisfido2CombinationConfiguration. - allowed
Issuer string[]Skis - A list of allowed certificate issuer subject key identifier values. Only populated when
typeisx509CertificateCombinationConfiguration. - allowed
Policy string[]Oids - A list of allowed certificate policy OIDs. Only populated when
typeisx509CertificateCombinationConfiguration. - applies
To string[]Combinations - A list of authentication method combinations this configuration applies to, for example
fido2orx509CertificateSingleFactor. This is distinct fromtype, which identifies the kind of combination configuration. - object
Id string The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.- type string
- The type of this combination configuration, either
fido2CombinationConfigurationorx509CertificateCombinationConfiguration.
- allowed_
aaguids Sequence[str] - A list of AAGUIDs allowed by this combination configuration. Only populated when
typeisfido2CombinationConfiguration. - allowed_
issuer_ Sequence[str]skis - A list of allowed certificate issuer subject key identifier values. Only populated when
typeisx509CertificateCombinationConfiguration. - allowed_
policy_ Sequence[str]oids - A list of allowed certificate policy OIDs. Only populated when
typeisx509CertificateCombinationConfiguration. - applies_
to_ Sequence[str]combinations - A list of authentication method combinations this configuration applies to, for example
fido2orx509CertificateSingleFactor. This is distinct fromtype, which identifies the kind of combination configuration. - object_
id str The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.- type str
- The type of this combination configuration, either
fido2CombinationConfigurationorx509CertificateCombinationConfiguration.
- allowed
Aaguids List<String> - A list of AAGUIDs allowed by this combination configuration. Only populated when
typeisfido2CombinationConfiguration. - allowed
Issuer List<String>Skis - A list of allowed certificate issuer subject key identifier values. Only populated when
typeisx509CertificateCombinationConfiguration. - allowed
Policy List<String>Oids - A list of allowed certificate policy OIDs. Only populated when
typeisx509CertificateCombinationConfiguration. - applies
To List<String>Combinations - A list of authentication method combinations this configuration applies to, for example
fido2orx509CertificateSingleFactor. This is distinct fromtype, which identifies the kind of combination configuration. - object
Id String The object ID of the authentication strength policy.
One of
displayNameorobjectIdmust be specified.Tip Display names are expected to be unique within a tenant, however this is not guaranteed by the API. Specify
objectIdwhere you need to be certain of matching a specific policy.- type String
- The type of this combination configuration, either
fido2CombinationConfigurationorx509CertificateCombinationConfiguration.
Package Details
- Repository
- Azure Active Directory (Azure AD) pulumi/pulumi-azuread
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azureadTerraform Provider.
published on Tuesday, Oct 13, 2026 by Pulumi