Skip to content
English
  • There are no suggestions because the search field is empty.

Connect-APS fails with "Job processing requires Autodesk Platform Service authentication!" when running in powerJobs Processor

Description

When calling Connect-APS in a powerJobs Processor job the job fails with

Job processing requires Autodesk Platform Service authentication! Please sign-in on your workstation using Autodesk ID '<email>' and grant consent.

Cause

As the error states, the connection couldn't be established because the user that is impersonated by Connect-APS did not authenticate with the platform yet.

Most likely this happens because the client scripts connect via -ClientId and -ClientSecret and the job connects via -User parameter.

Solution

If you connect via -ClientId and -ClientSecret in your client scripts than you also have to do that in your job scripts. Id and secret are not shared automatically between client and job.