How can I retrieve the folder ID of a personal workspace using the API?


we have an on-prem Orchestrator running 2020.10. We are trying to retrieve the folder ID using the API and it works great on all modern folders.

However when I try to retrieve the folder ID of my personal workspace, I don’t get any results. I do see that the name of the personal workspace contains a single quote (’), as in “littelm’s workspace”.

I use the following Powershell to build the query string

$encFolderName = $folderName.Replace(" “, “%20”)
$encFolderName = $folderName.Replace(”", “%2F”)
$encFolderName = $encfolderName.Replace("’", “%27%27”)

$url = $orchestratorURL + “/odata/Folders?`$filter=FullyQualifiedName eq ‘$encFolderName’”

Now this works brilliantly on modern folders, but personal workspaces are not returned here. Any idea what I’m doing wrong here?

Before firing off the query, I sign on using my own account and use the token from that to authenticate the folder query.

Hello @littelm!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly