Getting 403 Permission Error with MSGraph Sharepoint API Python
I am trying to move sharepoint files, using the patch function from the MSGraph method, to another destination folder, but for some reason I keep getting the error when trying to compute the line, result = await self.user_client.drives.by_drive_id(parent_drive_id).items.by_drive_item_id(src_item_id).patch(request_body)
:
Moving a Sharepoint file using MSGraph API in Python
I am trying to utilize the MSGraph API in Python in order to move Sharepoint files around based on some input. I currently have the download part of the API settled, but moving the file does not work for some reason. Here’s my code: