I have recently created an Azure email communication service, to send automatic emails from a web app I am developing. I created a new MailFrom address ([email protected]) with the display name DoNotReply. I want to edit it and change the display name to something more user-friendly. For example, the name of my app, so the users know immediately where the email is coming from. Is it possible to change the display name of the existing MailFrom address, and if yes how, or should I delete it and create a new MailFrom address with the desired display name.
As mentioned in the comments, it is possible to change the display name of an Azure communication service Mail From address, refer MSDOC.
Settings=> Provision Domains
, select your Domain.Mail From Address
under Email Services
.Add
and enter the preferred Display Name and MailFrom address. Click Save.You can use the PowerShell commands to update the display name to your Sender Username of the domain, refer MSDOC:
1. az communication email domain sender-username update --email-service-name "<EmailServiceName>" --resource-group "<resourceGroup>" --domain-name "<domain_name>" --sender-username "<username>" --display-name "<displayname>"
2. az communication email domain sender-username update --email-service-name "<EmailServiceName>" --resource-group "<resourceGroup>" --domain-name "<domain_name>" --sender-username "<username>" --display-name "<displayname>" --subscription "<subscriptionId>"
[email protected]
as shown below:PS /home/uname> az communication email domain sender-username update --email-service-name "pravallikaecs" --resource-group "rgname" --domain-name "AzureManagedDomain" --sender-username "donotreply" --display-name "Contoso News Alerts" --subscription "b83c1ed3-cxxxx-2b83a074c23f"
{
"displayName": "Contoso News Alerts",
"id": "/subscriptions/b83cxxxxx074c23f/resourceGroups/rgname/providers/Microsoft.Communication/emailServices/pravallikaecs/domains/AzureManagedDomain/senderUsernames/donotreply",
"name": "donotreply",
"provisioningState": "Succeeded",
"resourceGroup": "rgname",
"systemData": {
"createdAt": "2024-06-26T11:00:17.4708833Z",
"createdBy": "[email protected]",
"createdByType": "User",
"lastModifiedAt": "2024-06-26T11:00:17.4708833Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User"
},
"type": "microsoft.communication/emailservices/domains/senderusernames",
"username": "donotreply"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With