Skip to main content
Grant an Entra service principal read access to the reviewed Azure Digital Twins instance. Use app-rest, providerEndpoint, provider azure-digital-twins.query.observations, the instance’s public HTTPS endpoint and /query. Seal an OAuth2 credential or bearer token with Azure Digital Twins audience. Pass the same label to the receiver binder and as the app’s data. Initialize with { profile: { mode: "provider", provider: "azure-digital-twins.query.observations", limit: 20 } }. The app starts with SELECT * FROM DIGITALTWINS at API version 2023-10-31 and publishes observations keyed by $dtId. It follows each opaque continuation token, up to the configured 1–50 records and 36 KiB per page. A terminal answer resets the position for another live sweep. Omitted twins remain published. The app reads twin records and their provider properties. Azure Digital Twins Query API