Hi @Jack Kurtz Thanks for reaching out. As per the Azure documentation , "Microsoft.EventGrid/eventSubscriptions doesn't have any property like topic thats why your arm template deployment got failed with this error.
could you please try using the below template, in this case I had created Event grid subscription for an already existing Health Data Services workspace. If you need to create a workspace you can include that resource in the below template https://learn.microsoft.com/en-us/azure/healthcare-apis/fhir/fhir-service-resource-manager-template?tabs=PowerShell#review-the-arm-template
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"FHIRName": {
"type": "String"
},
"eventSubName": {
"type": "String"
},
"endpoint": {
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.HealthcareApis/workspaces/providers/eventSubscriptions",
"apiVersion": "2018-01-01",
"name": "[concat(parameters('FHIRName'), '/Microsoft.EventGrid/', parameters('eventSubName'))]",
"properties": {
"destination": {
"endpointType": "WebHook",
"properties": {
"endpointUrl": "[parameters('endpoint')]"
}
},
"filter": {
"subjectBeginsWith": "",
"subjectEndsWith": "",
"isSubjectCaseSensitive": false,
"includedEventTypes": [
"All"
]
}
}
}
],
"outputs": {}
}
do let me know incase of further queries, I would be happy to assist you.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.