diff --git a/azurerm/resource_arm_azuread_application.go b/azurerm/resource_arm_azuread_application.go index c880b462de58..3b0d7adcbbe3 100644 --- a/azurerm/resource_arm_azuread_application.go +++ b/azurerm/resource_arm_azuread_application.go @@ -43,7 +43,7 @@ func resourceArmActiveDirectoryApplication() *schema.Resource { MinItems: 1, Elem: &schema.Schema{ Type: schema.TypeString, - ValidateFunc: validate.URLIsHTTPS, + ValidateFunc: validate.URLIsHTTPOrHTTPS, }, }, @@ -53,7 +53,7 @@ func resourceArmActiveDirectoryApplication() *schema.Resource { Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, - ValidateFunc: validate.URLIsHTTPS, + ValidateFunc: validate.URLIsHTTPOrHTTPS, }, }, diff --git a/azurerm/resource_arm_azuread_application_test.go b/azurerm/resource_arm_azuread_application_test.go index 000ce031fc60..3b099f92e813 100644 --- a/azurerm/resource_arm_azuread_application_test.go +++ b/azurerm/resource_arm_azuread_application_test.go @@ -200,8 +200,8 @@ func testAccAzureRMActiveDirectoryApplication_complete(id string) string { resource "azurerm_azuread_application" "test" { name = "acctest%s" homepage = "https://homepage-%s" - identifier_uris = ["https://%s.hashicorptest.com"] - reply_urls = ["https://replyurl-%s"] + identifier_uris = ["http://%s.hashicorptest.com"] + reply_urls = ["http://%s.hashicorptest.com"] oauth2_allow_implicit_flow = true } `, id, id, id, id)