Change App Permissions Activity, Change Data Entity Permissions
Hi,
We have a situation where we need to move packages from Dev to Test Env. We've used a Package Migration App from the AgilePoint Marketplace, which works well, but it has a drawback: it's mandatory to assign the API user (the user used in the AccessToken for authorization) to all the apps and entities in the package in DEV env before export package. Otherwise, it throws an error. (The user 'Domain\APIUser' does not have access to this app.)
I tried using the Change App Permissions activity to grant app permissions, but it fails. Do you have any suggestions on this?
-
Hello Vinutha,
Would you be able to provide me some screenshots of the errors and other messages you are receiving? This will help me get a better understanding of what is happening.
From the description of the "Package Migration" App, the access tokens might have to be updated (See attached screenshot)
I will continue investigate this issue as well.
Thank you,
Jason Wells
-
Please find the screenshots and details below.
In the Export Package activity, I get the error: "The user 'domain\APIUser' does not have access to this app". It works fine if I manually assign the APIUser to the app before exporting.
I'm trying to automate this in the workflow using Change App Permissions to assign the APIUser, but it doesn't seem to work. The activity status shows success without any errors, but the user still isn't assigned to the app.
Thank You.
-
Hi Jason,
Here's some information that might help:
In the Change App Permissions activity, if I select the "Individual Apps" option, I can see a list of apps in the Dev environment. However, it fails to retrieve the list of packages if I select the "Apps In These Packages" option. Could this be related to a permissions issue where the AccessToken user is unable to fetch the package lists? Please share your thoughts on this.
Thanks
Vinutha C
-
Hello Vinutha,
Thank you for sharing!
I understand the issue, and I was able to duplicate it. We are currently investigating to see if this portion of the activity is behaving properly.
From my understanding, if user 1 creates a package, user 1 should be able to see that in list of packages in the activity under "Apps In These Packages."
I will share any updates as I receive them.
Thanks,
Jason Wells
Please sign in to leave a comment.
Comments
8 comments