Have been creating a Flow to create folders in SharePoint Online using the Send a HTTP request to SharePoint.
e.g. Flow starts with Input Employee Name.
Declares a path to create the folders in.
Creates the folder using Send http request to create a folder.
All the above works fine.
Then I'm trying to see if I can use the Send http request to SharePoint to set the Retention Label.
#Note -this is not a sharepoint classic retention label but the one that comes from the Compliance center labels.
So the flow doesn't error. But the retention label is not set.
Is this actually possible?
Am I using the correct uri API?
Does the body look correct?
Any help would be greatly appreciated.
I think the cause is because it is enclosed in single quotes.
I use double quotes.
The sample HTTP is as follows:
Have you solved your problem? If you haven't solved your problem, you can post your problem and we can continue to help you solve it.
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!