PutUser2 error on commit

  • 1
  • Question
  • Updated 2 months ago
  • Answered
I am testing the PutUser2 service to create a user account but am getting error code Sender - Permission access failure occurred on object urn.... due to permission urn:replicon:user-action:edit-activity type= AuthorizationError1. I am unsure of where there is a permission issue.
Photo of Campeau, Heather

Campeau, Heather

  • 29 Posts
  • 1 Reply Like

Posted 2 months ago

  • 1
Photo of Aashnee Kamboj

Aashnee Kamboj, Community Moderator

  • 1522 Posts
  • 106 Reply Likes
Hi Heather,

As from the error we assume that this can be an issue because of the restricted administrator permission. May we please request you to check if you have complete admin access to the instance?
Photo of Campeau, Heather

Campeau, Heather

  • 29 Posts
  • 1 Reply Like
Hi Aashnee,
I took a look at our system administrator permission set and granted edit rights to Activities and the Punch permissions. That seemed to resolve the issue. Thanks for pointing me in the right direction.
Photo of Campeau, Heather

Campeau, Heather

  • 29 Posts
  • 1 Reply Like
Is it possible to not have activities enabled though as a permission since we do not use this?
Also, related to PutUser2 or the import of a new user in general. Is PutUser2 able to set the product statuses (TimeBill Plus, Workforce Management, etc) and the PayRules? If not, what service do I use to do this?
(Edited)
Photo of Campeau, Heather

Campeau, Heather

  • 29 Posts
  • 1 Reply Like
Update - I did find a service to set PayRules and I've disabled the default activities so they don't appear in the user profile.
(Edited)
Photo of Aashnee Kamboj

Aashnee Kamboj, Community Moderator

  • 1522 Posts
  • 106 Reply Likes
Hi Heather,

The licenses are switched on by default. However, if you want to pick and choose the licenses then please use the " GetAllProductsAvailableForUserAssignment" and the "PutProductAssignmentsForUser" services accordingly.
Photo of Campeau, Heather

Campeau, Heather

  • 29 Posts
  • 1 Reply Like
When I used the PutUser2 service, the product licenses were disabled for the new user. Is there a hidden Products service or can you tell me under which URL I can find these two services?
Photo of Aashnee Kamboj

Aashnee Kamboj, Community Moderator

  • 1521 Posts
  • 106 Reply Likes
Hi Heather,

These services are available under AccountManagementService1
Photo of Campeau, Heather

Campeau, Heather

  • 29 Posts
  • 1 Reply Like
Perfect! Thank you again!