Skip to content

Commit f45b8a6

Browse files
authored
Merge pull request #185999 from cippero/master
Resolves https://github.com/MicrosoftDocs/azure-docs/issues/86743
2 parents d029605 + 91b8add commit f45b8a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/digital-twins/how-to-send-twin-to-twin-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ To subscribe your Azure function, you'll create an **Event Grid subscription** t
6969
Use the following CLI command, filling in placeholders for your subscription ID, resource group, function app, and function name.
7070

7171
```azurecli-interactive
72-
az eventgrid event-subscription create --name <name-for-your-event-subscription> --source-resource-id /subscriptions/<subscription-ID>/resourceGroups/<your-resource-group>/providers/Microsoft.EventGrid/topics/<your-event-grid-topic> \ --endpoint-type azurefunction --endpoint /subscriptions/<subscription-ID>/resourceGroups/<your-resource-group>/providers/Microsoft.Web/sites/<your-function-app-name>/functions/<function-name>
72+
az eventgrid event-subscription create --name <name-for-your-event-subscription> --source-resource-id /subscriptions/<subscription-ID>/resourceGroups/<your-resource-group>/providers/Microsoft.EventGrid/topics/<your-event-grid-topic> --endpoint-type azurefunction --endpoint /subscriptions/<subscription-ID>/resourceGroups/<your-resource-group>/providers/Microsoft.Web/sites/<your-function-app-name>/functions/<function-name>
7373
```
7474

7575
Now, your function can receive events through your Event Grid topic. The data flow setup is complete.

0 commit comments

Comments
 (0)