Nicholas DiPiazza
Nicholas DiPiazza

Reputation: 10595

How to fix the access_denied_insufficient_permissions when trying to list the users in your Enterprise box account?

I am using the Box enterprise Python SDK and Java SDK. I have created a service account, and I want to access files in my enterprise from this account using the "As-User" header.

I try to list users with box_client.users(). But I keep getting access_denied_insufficient_permissions

How do I give my Service Account access to list all users?

Upvotes: 2

Views: 2270

Answers (1)

kendomen
kendomen

Reputation: 778

I believe you have to have the scope set in the app and have it authorized in the enterprise admin console by an admin.

enter image description here

Upvotes: 2

Related Questions