AccessPolicy
AccessPolicy is the Schema for the AccessPolicys API.
TypeMR
Providerprovider-azuread
Groupconditionalaccess.azuread.upbound.io
Scopecluster
Version

1apiVersion: conditionalaccess.azuread.upbound.io/v1beta1

2kind: AccessPolicy

apiVersion
string
kind
string
metadata
object
spec
object

AccessPolicySpec defines the desired state of AccessPolicy

deletionPolicy
string
forProvider
required
object

(No description available)

conditions
array

A conditions block as documented below, which specifies the rules that must be met for the policy to apply.

applications
array

An applications block as documented below, which specifies applications and user actions included in and excluded from the policy.

excludedApplications
array

A list of application IDs explicitly excluded from the policy. Can also be set to Office365.

includedApplications
array

A list of application IDs the policy applies to, unless explicitly excluded (in excluded_applications). Can also be set to All, None or Office365. Cannot be specified with included_user_actions. One of included_applications or included_user_actions must be specified.

includedUserActions
array

A list of user actions to include. Supported values are urn:user:registerdevice and urn:user:registersecurityinfo. Cannot be specified with included_applications. One of included_applications or included_user_actions must be specified.

clientAppTypes
array

A list of client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported and other.

clientApplications
array

An client_applications block as documented below, which specifies service principals included in and excluded from the policy.

excludedServicePrincipals
array

A list of service principal IDs explicitly excluded in the policy.

includedServicePrincipals
array

A list of service principal IDs explicitly included in the policy. Can be set to ServicePrincipalsInMyTenant to include all service principals. This is mandatory value when at least one excluded_service_principals is set.

devices
array

A devices block as documented below, which describes devices to be included in and excluded from the policy. A devices block can be added to an existing policy, but removing the devices block forces a new resource to be created.

filter
array

A filter block as described below.

mode
string
rule
string
locations
array

A locations block as documented below, which specifies locations included in and excluded from the policy.

excludedLocations
array

A list of location IDs excluded from scope of policy. Can also be set to AllTrusted.

includedLocations
array

A list of location IDs in scope of policy unless explicitly excluded. Can also be set to All, or AllTrusted.

platforms
array

A platforms block as documented below, which specifies platforms included in and excluded from the policy.

excludedPlatforms
array

A list of platforms explicitly excluded from the policy. Possible values are: all, android, iOS, linux, macOS, windows, windowsPhone or unknownFutureValue.

includedPlatforms
array

A list of platforms the policy applies to, unless explicitly excluded. Possible values are: all, android, iOS, linux, macOS, windows, windowsPhone or unknownFutureValue.

servicePrincipalRiskLevels
array

A list of service principal sign-in risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue.

signInRiskLevels
array

A list of user sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue.

userRiskLevels
array

A list of user risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue.

users
array

A users block as documented below, which specifies users, groups, and roles included in and excluded from the policy.

excludedGroups
array

A list of group IDs excluded from scope of policy.

excludedGuestsOrExternalUsers
array

A guests_or_external_users block as documented below, which specifies internal guests and external users excluded from scope of policy.

externalTenants
array

An external_tenants block as documented below, which specifies external tenants in a policy scope.

members
array

A list tenant IDs. Can only be specified if membership_kind is enumerated.

membershipKind
string
guestOrExternalUserTypes
array

A list of guest or external user types. Possible values are: b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, internalGuest, none, otherExternalUser, serviceProvider, unknownFutureValue.

excludedRoles
array

A list of role IDs excluded from scope of policy.

excludedUsers
array

A list of user IDs excluded from scope of policy and/or GuestsOrExternalUsers.

includedGroups
array

A list of group IDs in scope of policy unless explicitly excluded.

includedGuestsOrExternalUsers
array

A guests_or_external_users block as documented below, which specifies internal guests and external users in scope of policy.

externalTenants
array

An external_tenants block as documented below, which specifies external tenants in a policy scope.

members
array

A list tenant IDs. Can only be specified if membership_kind is enumerated.

membershipKind
string
guestOrExternalUserTypes
array

A list of guest or external user types. Possible values are: b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, internalGuest, none, otherExternalUser, serviceProvider, unknownFutureValue.

includedRoles
array

A list of role IDs in scope of policy unless explicitly excluded.

includedUsers
array

A list of user IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers.

displayName
string
grantControls
array

A grant_controls block as documented below, which specifies the grant controls that must be fulfilled to pass the policy.

authenticationStrengthPolicyId
string
builtInControls
array

List of built-in controls required by the policy. Possible values are: block, mfa, approvedApplication, compliantApplication, compliantDevice, domainJoinedDevice, passwordChange or unknownFutureValue.

customAuthenticationFactors
array

List of custom controls IDs required by the policy.

operator
string
termsOfUse
array

List of terms of use IDs required by the policy.

sessionControls
array

A session_controls block as documented below, which specifies the session controls that are enforced after sign-in.

applicationEnforcedRestrictionsEnabled
boolean
cloudAppSecurityPolicy
string
disableResilienceDefaults
boolean
persistentBrowserMode
string
signInFrequency
number
signInFrequencyAuthenticationType
string
signInFrequencyInterval
string
signInFrequencyPeriod
string
state
string
initProvider
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

conditions
array

A conditions block as documented below, which specifies the rules that must be met for the policy to apply.

applications
array

An applications block as documented below, which specifies applications and user actions included in and excluded from the policy.

excludedApplications
array

A list of application IDs explicitly excluded from the policy. Can also be set to Office365.

includedApplications
array

A list of application IDs the policy applies to, unless explicitly excluded (in excluded_applications). Can also be set to All, None or Office365. Cannot be specified with included_user_actions. One of included_applications or included_user_actions must be specified.

includedUserActions
array

A list of user actions to include. Supported values are urn:user:registerdevice and urn:user:registersecurityinfo. Cannot be specified with included_applications. One of included_applications or included_user_actions must be specified.

clientAppTypes
array

A list of client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported and other.

clientApplications
array

An client_applications block as documented below, which specifies service principals included in and excluded from the policy.

excludedServicePrincipals
array

A list of service principal IDs explicitly excluded in the policy.

includedServicePrincipals
array

A list of service principal IDs explicitly included in the policy. Can be set to ServicePrincipalsInMyTenant to include all service principals. This is mandatory value when at least one excluded_service_principals is set.

devices
array

A devices block as documented below, which describes devices to be included in and excluded from the policy. A devices block can be added to an existing policy, but removing the devices block forces a new resource to be created.

filter
array

A filter block as described below.

mode
string
rule
string
locations
array

A locations block as documented below, which specifies locations included in and excluded from the policy.

excludedLocations
array

A list of location IDs excluded from scope of policy. Can also be set to AllTrusted.

includedLocations
array

A list of location IDs in scope of policy unless explicitly excluded. Can also be set to All, or AllTrusted.

platforms
array

A platforms block as documented below, which specifies platforms included in and excluded from the policy.

excludedPlatforms
array

A list of platforms explicitly excluded from the policy. Possible values are: all, android, iOS, linux, macOS, windows, windowsPhone or unknownFutureValue.

includedPlatforms
array

A list of platforms the policy applies to, unless explicitly excluded. Possible values are: all, android, iOS, linux, macOS, windows, windowsPhone or unknownFutureValue.

servicePrincipalRiskLevels
array

A list of service principal sign-in risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue.

signInRiskLevels
array

A list of user sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue.

userRiskLevels
array

A list of user risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue.

users
array

A users block as documented below, which specifies users, groups, and roles included in and excluded from the policy.

excludedGroups
array

A list of group IDs excluded from scope of policy.

excludedGuestsOrExternalUsers
array

A guests_or_external_users block as documented below, which specifies internal guests and external users excluded from scope of policy.

externalTenants
array

An external_tenants block as documented below, which specifies external tenants in a policy scope.

members
array

A list tenant IDs. Can only be specified if membership_kind is enumerated.

membershipKind
string
guestOrExternalUserTypes
array

A list of guest or external user types. Possible values are: b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, internalGuest, none, otherExternalUser, serviceProvider, unknownFutureValue.

excludedRoles
array

A list of role IDs excluded from scope of policy.

excludedUsers
array

A list of user IDs excluded from scope of policy and/or GuestsOrExternalUsers.

includedGroups
array

A list of group IDs in scope of policy unless explicitly excluded.

includedGuestsOrExternalUsers
array

A guests_or_external_users block as documented below, which specifies internal guests and external users in scope of policy.

externalTenants
array

An external_tenants block as documented below, which specifies external tenants in a policy scope.

members
array

A list tenant IDs. Can only be specified if membership_kind is enumerated.

membershipKind
string
guestOrExternalUserTypes
array

A list of guest or external user types. Possible values are: b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, internalGuest, none, otherExternalUser, serviceProvider, unknownFutureValue.

includedRoles
array

A list of role IDs in scope of policy unless explicitly excluded.

includedUsers
array

A list of user IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers.

displayName
string
grantControls
array

A grant_controls block as documented below, which specifies the grant controls that must be fulfilled to pass the policy.

authenticationStrengthPolicyId
string
builtInControls
array

List of built-in controls required by the policy. Possible values are: block, mfa, approvedApplication, compliantApplication, compliantDevice, domainJoinedDevice, passwordChange or unknownFutureValue.

customAuthenticationFactors
array

List of custom controls IDs required by the policy.

operator
string
termsOfUse
array

List of terms of use IDs required by the policy.

sessionControls
array

A session_controls block as documented below, which specifies the session controls that are enforced after sign-in.

applicationEnforcedRestrictionsEnabled
boolean
cloudAppSecurityPolicy
string
disableResilienceDefaults
boolean
persistentBrowserMode
string
signInFrequency
number
signInFrequencyAuthenticationType
string
signInFrequencyInterval
string
signInFrequencyPeriod
string
state
string
managementPolicies
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

providerConfigRef
object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
required
string
policy
object

Policies for referencing.

resolution
string
resolve
string
publishConnectionDetailsTo
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
required
string
policy
object

Policies for referencing.

resolution
string
resolve
string
metadata
object

Metadata is the metadata for connection secret.

annotations
object
labels
object
type
string
name
required
string
writeConnectionSecretToRef
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
required
string
namespace
required
string
status
object

AccessPolicyStatus defines the observed state of AccessPolicy.

atProvider
object

(No description available)

conditions
array

A conditions block as documented below, which specifies the rules that must be met for the policy to apply.

applications
array

An applications block as documented below, which specifies applications and user actions included in and excluded from the policy.

excludedApplications
array

A list of application IDs explicitly excluded from the policy. Can also be set to Office365.

includedApplications
array

A list of application IDs the policy applies to, unless explicitly excluded (in excluded_applications). Can also be set to All, None or Office365. Cannot be specified with included_user_actions. One of included_applications or included_user_actions must be specified.

includedUserActions
array

A list of user actions to include. Supported values are urn:user:registerdevice and urn:user:registersecurityinfo. Cannot be specified with included_applications. One of included_applications or included_user_actions must be specified.

clientAppTypes
array

A list of client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported and other.

clientApplications
array

An client_applications block as documented below, which specifies service principals included in and excluded from the policy.

excludedServicePrincipals
array

A list of service principal IDs explicitly excluded in the policy.

includedServicePrincipals
array

A list of service principal IDs explicitly included in the policy. Can be set to ServicePrincipalsInMyTenant to include all service principals. This is mandatory value when at least one excluded_service_principals is set.

devices
array

A devices block as documented below, which describes devices to be included in and excluded from the policy. A devices block can be added to an existing policy, but removing the devices block forces a new resource to be created.

filter
array

A filter block as described below.

mode
string
rule
string
locations
array

A locations block as documented below, which specifies locations included in and excluded from the policy.

excludedLocations
array

A list of location IDs excluded from scope of policy. Can also be set to AllTrusted.

includedLocations
array

A list of location IDs in scope of policy unless explicitly excluded. Can also be set to All, or AllTrusted.

platforms
array

A platforms block as documented below, which specifies platforms included in and excluded from the policy.

excludedPlatforms
array

A list of platforms explicitly excluded from the policy. Possible values are: all, android, iOS, linux, macOS, windows, windowsPhone or unknownFutureValue.

includedPlatforms
array

A list of platforms the policy applies to, unless explicitly excluded. Possible values are: all, android, iOS, linux, macOS, windows, windowsPhone or unknownFutureValue.

servicePrincipalRiskLevels
array

A list of service principal sign-in risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue.

signInRiskLevels
array

A list of user sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue.

userRiskLevels
array

A list of user risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue.

users
array

A users block as documented below, which specifies users, groups, and roles included in and excluded from the policy.

excludedGroups
array

A list of group IDs excluded from scope of policy.

excludedGuestsOrExternalUsers
array

A guests_or_external_users block as documented below, which specifies internal guests and external users excluded from scope of policy.

externalTenants
array

An external_tenants block as documented below, which specifies external tenants in a policy scope.

members
array

A list tenant IDs. Can only be specified if membership_kind is enumerated.

membershipKind
string
guestOrExternalUserTypes
array

A list of guest or external user types. Possible values are: b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, internalGuest, none, otherExternalUser, serviceProvider, unknownFutureValue.

excludedRoles
array

A list of role IDs excluded from scope of policy.

excludedUsers
array

A list of user IDs excluded from scope of policy and/or GuestsOrExternalUsers.

includedGroups
array

A list of group IDs in scope of policy unless explicitly excluded.

includedGuestsOrExternalUsers
array

A guests_or_external_users block as documented below, which specifies internal guests and external users in scope of policy.

externalTenants
array

An external_tenants block as documented below, which specifies external tenants in a policy scope.

members
array

A list tenant IDs. Can only be specified if membership_kind is enumerated.

membershipKind
string
guestOrExternalUserTypes
array

A list of guest or external user types. Possible values are: b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, internalGuest, none, otherExternalUser, serviceProvider, unknownFutureValue.

includedRoles
array

A list of role IDs in scope of policy unless explicitly excluded.

includedUsers
array

A list of user IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers.

displayName
string
grantControls
array

A grant_controls block as documented below, which specifies the grant controls that must be fulfilled to pass the policy.

authenticationStrengthPolicyId
string
builtInControls
array

List of built-in controls required by the policy. Possible values are: block, mfa, approvedApplication, compliantApplication, compliantDevice, domainJoinedDevice, passwordChange or unknownFutureValue.

customAuthenticationFactors
array

List of custom controls IDs required by the policy.

operator
string
termsOfUse
array

List of terms of use IDs required by the policy.

id
string
sessionControls
array

A session_controls block as documented below, which specifies the session controls that are enforced after sign-in.

applicationEnforcedRestrictionsEnabled
boolean
cloudAppSecurityPolicy
string
disableResilienceDefaults
boolean
persistentBrowserMode
string
signInFrequency
number
signInFrequencyAuthenticationType
string
signInFrequencyInterval
string
signInFrequencyPeriod
string
state
string
conditions
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
observedGeneration
integer
reason
required
string
status
required
string
type
required
string
observedGeneration
integer
Discover the building blocks for your internal cloud platform.
© 2026 Upbound, Inc.
Solutions
Learn
Company
Community
More