Forum Discussion
Leo_Haddad5
Jan 29, 2024Copper Contributor
How to Sync 2 Different Organizations Sharepoints
Is there a way to sync two different organizations sharepoints together?
example:
Org A - has sharepoint with files and folders
Org B - has empty sharepoint
I need a way to sync sharepoint of Org A to sharepoint of Org B such that whenever a new file or folder is added in Org A it will sync to Org B.
I feel like using a blob storage would do the trick but there's no clear way on how to do it?
Any help or advice would be greatly appreciated!
Thank you in advance!
- First you need to register app in Entra ID in the tenant you want to move data to:
https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app
You make use of this API, you can see permission you need:
https://learn.microsoft.com/en-us/graph/api/driveitem-move?view=graph-rest-1.0&tabs=http
Then you create a flow using HTTP connector and send a Post request to that tenant with that File using the API.
- Yeah,, you can build this using Graph API and triggered by power auomate which copy the files
- Leo_Haddad5Copper Contributor
NicolasKheirallah thank you for your reply. Can i trouble you to give more context/details on your solution?
- First you need to register app in Entra ID in the tenant you want to move data to:
https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app
You make use of this API, you can see permission you need:
https://learn.microsoft.com/en-us/graph/api/driveitem-move?view=graph-rest-1.0&tabs=http
Then you create a flow using HTTP connector and send a Post request to that tenant with that File using the API.