Help Required in moving attachment from one SP online tenant to another SP online tenant

Copper Contributor

We are implementing one solution where we have to move one attachment from one SharePoint tenant to another SharePoint tenant using Service Principal through Power Automate .

 

Current Approach - Currently everything is working using Power Automate out of the box SharePoint connectors and hard coded the credentials for both tenant in one Power Automate.

 

security team has asked to remove hard coded credential from Power automate as its potential risk . We suggested Service Principal way of authentication using REST API connector.

 

We are able to create a list item using REST API , but when we try to move attachment through REST API we are facing problem as that attachment can be anything like , pdf , doc , docx ,jpg etc.

 

Does anyone have seen or implemented any such solution I really appreciate your help.

 

Thanks

Ashutosh

0 Replies