Manage Schedules with Unattended Bot

I created a workflow that disables schedules/triggers and stops jobs for selected processes. This works great from my development machine. However, when I promote it to run from a Time trigger on an Unattended bot I get the following error:

Disable Trigger status code: 403
Response: {“message”:“You are not authorized!”,“errorCode”:0,“result”:null,“targetUrl”:null,“success”:false,“error”:{“code”:0,“message”:“You are not authorized!”,“details”:“You are not allowed to perform this operation.”,“validationErrors”:null},“unAuthorizedRequest”:true,“__abp”:true}

I have the bot Tenant permissions set as follows (I am sure I went overboard with permissions out of frustration):

I have the folder permissions set as follows (again, I am sure they are more than needed):


BotManageFolderAddOn Includes View and Edite permissions for Jobs, Processes and Triggers. This should also be included in Folder Administrator which I only added recentle out of frustration.

srvcbotprod17 is the service account
uiprdbot017 is the robot account with machine template environment.

I am using Orchestrator HTTP activities for all requests - again, these are working perfectly for me - I am Orchestrator Admin and Folder Admin.

Orchestrator Cloud with on-premise machines UiPath v.2024.10.1

Hi @gregg.rubright,

What is it you are doing different from bot account this time?

I see disable/enable triggers from bot account has worked for you in the recent past. Do you recall anything that has changed recently which could be interfering with the working?

Regards
Sonali

Well that is the thing. This was working great up until about 3 weeks ago. But I didn’t change the trigger or bot permissions at all.

Hi @gregg.rubright,

Was there any UiPath version upgrade done?

Are you still on the same versions as you were before?

Regards
Sonali

We are still on the same version since mid Summer.

Hi @gregg.rubright,

Are you able to please verify the points stated in below post? By any chance, has your machine changed?

Regards
Sonali