Hello Akshat Luthra,
To view and configure a notification template in the Azure API Management (APIM) portal, refer to this Microsoft documentation.
Troubleshooting APIM Email Template Updates
If your email template updates are not reflecting, consider the following troubleshooting steps:
- Ensure XML-Compliant HTML Formatting:
- Even if your HTML is correctly formatted, Azure APIM requires well-formed, XML-compliant HTML.
- Avoid using
and any unescaped special characters. - Ensure all tags are properly closed.
- Try a simpler version of your template to isolate the issue.
- Save and Republish:
- After making edits, explicitly click Save, then refresh the portal.
- Republish the API Management instance to apply changes.
- Check Permissions:
- Ensure you have the appropriate permissions (Contributor or higher) to modify templates.
Below is an example of a quota policy in Azure API Management:
<policies>
<inbound>
<base />
<quota-by-key calls="10000" bandwidth="40000" renewal-period="3600"
increment-condition="@(context.Response.StatusCode >= 200 && context.Response.StatusCode < 400)"
counter-key="@(context.Request.IpAddress)" />
</inbound>
<outbound>
<base />
</outbound>
</policies>
For more details, refer to this Microsoft documentation on setting usage quotas by key in Azure API Management policies.
Hope this helps!
If you found this answer helpful, please click Accept Answer and consider upvoting it by clicking Yes.
If you have any further questions, feel free to click Comment.