Aug 31, 2018 · 1 min read
Ok, I found the problem:
When you call lib.auth() you need to pass in the Azure AD TenantsID and resource like this:
adlCreds = lib.auth(tenant_id=’xyz', resource = ‘https://datalake.azure.net/')
Then you can call
adlsFileSystemClient = core.AzureDLFileSystem(token, store_name=’xyz’)
print(adlsFileSystemClient.ls())
