CData Python Connector for Office 365 2019 - Online Help
Questions / Feedback?

Connecting

CData Python Connector for Office 365 2019 - Build 19.0.7416

Connecting with a Dialect URL

A specific URL format is used to establish a connection using SQLAlchemy.

import sqlalchemy as orm
engine = orm.create_engine("office365:///?InitiateOAuth=GETANDREFRESH;OAuthClientId=MyApplicationId;OAuthClientSecret=MySecretKey;CallbackURL=http://localhost:33333;")

 
 
Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 19.0.7416.0