Open
Description
It caused the site to be inaccessible.
Changing it to: site = '{}:/sites{}'.format(host_name, path_to_site)
works fine.
Is my code still incorrect?
`
o365 = Account(credentials=(client_id, client_secret),
auth_flow_type='credentials',
tenant_id=MicroSoftGraphTenantId)
o365.authenticate()
o365.sharepoint().get_site('xxxxxxx.sharepoint.com', 'xxxxxx')
`
error:
`
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://graph.microsoft.com/v1.0/sites/xxxxxxx.sharepoint.com:/xxxxxx: | Error Message: The provided path does not exist, or does not represent a site
`
Metadata
Metadata
Assignees
Labels
No labels