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)
Did you tried getting the id from the next step. Please see below.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blog@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
https://docs.microsoft.com/en-us/graph/api/driveitem-get?view=graph-rest-1.0&tabs=http
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?
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogUser | Count |
---|---|
88 | |
39 | |
23 | |
20 | |
16 |
User | Count |
---|---|
127 | |
49 | |
46 | |
33 | |
25 |