Connecting
Connecting with the cdata.exchange 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.exchange as mod
conn = mod.connect("User='[email protected]';Password='myPassword';Server='https://outlook.office365.com/EWS/Exchange.asmx';Platform='Exchange_Online';Schema='EWS';")
Once the connection is created, you can use it to execute subsequent SQL queries.