corso: v0.13.0 Backup SharePoint Error Access Denied
Hi @ryanfkeepers ,
I’ve tried the currently latest version which is v0.13.0 to do SharePoint backup using its binary executable with this command:
corso backup create sharepoint --site https://XXX.sharepoint.com/sites/XXX \
--aws-access-key none --aws-secret-access-key none \
--azure-tenant-id XXX --azure-client-id XXX --azure-client-secret XXX \
--passphrase XXX --json --retain-progress
And then it raise an error like this:
Connecting to repository: 2s done
Connecting to M365: done
Error:
getting root site: error status code received from the API: Access denied
Note that all commands before performing backup such as init, connect, they are all working, except the backup command is having this issue.
And also everything was working fine with the previous version v0.12.0.
Thanks.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 17 (9 by maintainers)
Commits related to this issue
- move drive expand to config property (#4362) the addition of the drive expand requires onedrive permissions in order to retrieve sites by ID. This causes some users to violate customer contract by r... — committed to alcionai/corso by ryanfkeepers 9 months ago
- remove expand drive from root site (#4377) missed the root site call usage of expand drive on the last fix. --- #### Does this PR need a docs update or release note? - [x] :no_entry: No ... — committed to alcionai/corso by ryanfkeepers 9 months ago
@ryanfkeepers , thanks a lot for your great support, I really appreciate it. Thanks!
Hi @vkamra,
These are the log files, I’ve prepared two of them:
I’m using Docker, for both of the log files above the command is exactly the same: