Query
Certified
Query Dataverse entities via OData
Query
Certified
Query Dataverse entities via OData
yaml
type: io.kestra.plugin.microsoft365.dynamics365.dataverse.QueryExamples
yaml
id: dataverse_query_accounts
namespace: company.team
tasks:
- id: query
type: io.kestra.plugin.microsoft365.dynamics365.dataverse.Query
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
orgUrl: "https://myorg.api.crm.dynamics.com"
entitySetName: "accounts"
filter: "statecode eq 0"
select: "accountid,name,emailaddress1"
top: 50
fetchType: FETCH
yaml
id: dataverse_store_contacts
namespace: company.team
tasks:
- id: store
type: io.kestra.plugin.microsoft365.dynamics365.dataverse.Query
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
orgUrl: "https://myorg.api.crm.dynamics.com"
entitySetName: "contacts"
select: "contactid,fullname,emailaddress1"
fetchType: STORE
Properties
clientId *Requiredstring
entitySetName *Requiredstring
orgUrl *Requiredstring
tenantId *Requiredstring
clientSecret string
fetchType string
Default
FETCHPossible Values
STOREFETCHFETCH_ONENONEfilter string
pemCertificate string
select string
top integerstring
Default
100Outputs
records array
SubTypeobject
size integer
uri string
Format
uriMetrics
count counter
Unit
records