The page says:
Create an Azure Digital Twins endpoint that links your event grid topic to your Azure Digital Twins instance.
but the article is actually using an event hub. In fact, the command states:
az dt endpoint create eventhub --endpoint-name <name for your Event Hubs endpoint> --eventhub-resource-group <resource group name> --eventhub-namespace <Event Hubs namespace from above> --eventhub <Twins event hub name from above> --eventhub-policy <Twins auth rule from above> -n <your Azure Digital Twins instance name>
So it should probably be switched to mention Event Hub instead.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@joseba-altran Thanks for the feedback! We are currently investigating and will update you shortly.
Nice catch @joseba-altran ! We switched the messaging services around a while ago and that last description slipped right past me.
The doc has been updated in https://github.com/MicrosoftDocs/azure-docs-pr/pull/131968 and will be up to date soon.
Great to know that reporting the issue helped and thanks for being so quick fixing the issue!
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.