I have a Salesforce application which is creating folders inside of sharpoint. The SF application can't handle the logic that I need to sort the folders, but if I manually move the folders then it picks up the correct folder.
In power automate, I am trying to automate the sorting of these folders (into alphabetized folders) using the 'move sharepoint folder' action. When I do that, the sharepoint item ID changes and my salesforce application that created the folder breaks because it can't find the correct folder by ID. It seems like Power Automate is making a copy/delete action instead of just moving the folder.
I could solve this issue by updating the folder ID in Salesforce, but I can't get the correct ID back from power automate (I believe it is the ID from the GraphAPI), is there any way to get this ID of the moved folder into Power Automate, so that I can pass it back to the Salesforce record? https://prnt.sc/11vv5ca (https://docs.microsoft.com/en-us/graph/api/driveitem-get?view=graph-rest-1.0&tabs=http)
@abm unfortunately that's not the ID I need - I think I might have to make an API call to fetch it using Graph API - really frustrating!
I need this 32 digit ID
Thanks for your reply. Try List Folder and see the run history. There is an ETag Id there. Not sure that is what you are after?
Check out the new Process Advisor community forum board!
Check out new user group experience and if you are a leader please create your group
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.