diff --git a/internal/services/serviceprincipals/service_principal_resource_test.go b/internal/services/serviceprincipals/service_principal_resource_test.go index 0efc2b87ce..b31e697a69 100644 --- a/internal/services/serviceprincipals/service_principal_resource_test.go +++ b/internal/services/serviceprincipals/service_principal_resource_test.go @@ -136,6 +136,13 @@ func TestAccServicePrincipal_featuresUpdate(t *testing.T) { r := ServicePrincipalResource{} data.ResourceTest(t, r, []resource.TestStep{ + { + Config: r.noFeatures(data), + Check: resource.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("use_existing"), { Config: r.basic(data), Check: resource.ComposeTestCheckFunc(