Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure market place Sendgrid username

Tags:

azure

sendgrid

The Microsoft documentation How to Send Email Using SendGrid with Azure says that once an account has been set up you can see the SendGrid credentials by clicking on the key icon. This seems to have disappeared from the Azure portal. How can I find the SendGrid username for this service. I believe it is in the format of azure***@azure.com (see change username for ...?

like image 824
dmb_acunim Avatar asked Jan 25 '26 04:01

dmb_acunim


1 Answers

I had a similar issue and took a guess to see if Azure CLI would give it to me and it does.

In the portal use the cloud shell option, this icon top right:

enter image description here

Change the shell type from PowerShell to Bash, if you have multiple accounts then you will need to select the right account

az account show

If not in the right account (UPDATE - if you have permissions to access all accounts then you won't need to switch accounts so you can skip to the final bit)

az account list
az account set -s <id of relevant subscription>

Then on the SendGrid resource blade go to Properties and copy the Resource ID and then run

az resource show --ids /subscriptions/xxxxxx/resourceGroups/xxxxx/providers/Sendgrid.Email/accounts/xxxxx

using your resource id obviously and in the output you will see the SendGrid username

like image 86
Simon Avatar answered Jan 28 '26 00:01

Simon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!