user2841795
user2841795

Reputation: 405

Custom activity failed due to permission

I have created Azure Batch pool and tasks are running fine using Python with Pool autouser, admin. But when I run same commands from Custom Activity in Data Factory like import pandas or import pyspark it gives me permission error. Azure Batch task is showing up User Identity as nonadmin (pool).

How would I change the user identity to pool or task autouser admin?

Upvotes: 0

Views: 356

Answers (1)

Jay Gong
Jay Gong

Reputation: 23782

How would I change the user identity to pool or task autouser admin?

Based on the document,there are two options for elevation level:

  • NonAdmin: The task runs as a standard user without elevated access. The default elevation level for a Batch user account is always NonAdmin.
  • Admin: The task runs as a user with elevated access and operates with full Administrator permissions.

However, you can't change the permission level of the auto-user account when you using custom activity in ADF.Please see the statement here.

Upvotes: 1

Related Questions