Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python login to O365

from O365 import Account

credentials = ('my_client_id', 'my_client_secret')


account = Account(credentials, auth_flow_type='credentials', tenant_id='my-tenant-id')
if account.authenticate():
   print('Authenticated!')
Source by resources.hacware.com #
 
PREVIOUS NEXT
Tagged: #python #login
ADD COMMENT
Topic
Name
5+9 =