Unlike Standard Agent, Advanced agents do not use the authorization context of the users who generated the items. You need to define an access group to define the context. This access group must contain the rulesets and roles the agent activity needs in order to execute the tasks. You can use an existing access group or create one just for the agent.
If an advanced agent schedule does not have an access group, the agent uses the access group defined for the BATCH requestor type.