PPM Agile Central Sync Job throws error - Not Authorized to update

Document ID : KB000115241
Last Modified Date : 18/09/2018
Show Technical Document Details
Issue:
When attempting to run the Agile Central sync job in PPM for a specific project, we get the following error in the log:

There was a problem syncing tasks for the CA PPM project:P&C Maintenance and Support Error updating portfolio item : f6e419e9-519c-485a-9a09-2b3436680db8 , Error Message:Not authorized to update: Feature 19457166996
Cause:
This is caused by a process in CA Agile Central such that once a feature is completed and more than 6 months old, it gets archived to a second project.  When we map the integration we provide a project, and that feature is no longer on that project, and thus you are not authorized to update it because its not in the specified project - although the API key has access to all projects, the integration is not currently flexible enough to support syncing features across projects.
Resolution:
If you are using a service account for the integration, you can provide that service account editor rights to the Project Archives folder in CA Agile Central.  Then the integration will be able to update those features, and will no longer throw the Authorization Error.