Manages the Fallback Public Client setting for an application registration.
The following API permissions are required in order to use this resource.
When authenticated with a service principal, this resource requires one of the following application roles: Application.ReadWrite.OwnedBy
or Application.ReadWrite.All
When authenticated with a user principal, this resource may require one of the following directory roles: Application Administrator
or Global Administrator
resource "azuread_application_registration" "example" {
display_name = "example"
}
resource "azuread_application_fallback_public_client" "example" {
application_id = azuread_application_registration.example.id
enabled = true
}
The following arguments are supported:
application_id
- (Required) The resource ID of the application registration. Changing this forces a new resource to be created.enabled
- (Required) Whether to enable the application as a fallback public client.No additional attributes are exported.
The Application Fallback Public Client setting can be imported using the object ID of the application, in the following format.
terraform import azuread_application_fallback_public_client.example /applications/00000000-0000-0000-0000-000000000000/fallbackPublicClient