Connecting
Connecting with the cdata.dynamics365 Module:
The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:import cdata.dynamics365 as mod conn = mod.connect("InitiateOAuth=GETANDREFRESH;OrganizationUrl=https://myaccount.operations.dynamics.com/;Edition=Sales;")
Once the connection is created, you can use it to execute subsequent SQL queries.