Azuread_invitation

Hello everyone,

I’m trying to invite someone to my organization in Azure Portal using terraform, everithing works fine but i dont receive de e-mail invitation, can anybody help me ?

My code below :

terraform {
required_providers {
azurerm = {
source = “hashicorp/azurerm”
version = “=2.46.0”
}
}
}

resource “azuread_invitation” “example” {
user_type = “Guest”
user_email_address = “testes@hdn.digital”
redirect_url = “https://portal.azure.com

message {
additional_recipients = [“testes@hdn.digital”]
body = “Hello there! You are invited to join my Azure tenant!”
}
}