Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am publishing a message to an Azure Event Grid Namespace Topic using the REST API with aeg-sas-key authentication. However, I am encountering the following error during the publish request.
{
"error": {
"code": "Unauthenticated",
"message": "SAS Key or SAS Signature must be provided",
"timestamp_utc": "2025-11-05T21:10:18.935050584+00:00",
"tracking_id": "146AC7EA<***removed PII***>"
}
}
Hello Jeevanjyot Kaur,
Include the SAS Key in the Header
aeg-sas-key: <your-SAS-key>
aeg-sas-token: <your-SAS-token>
Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.