Box storage-policies:assignments:lookup $ManagedUserID Failed

Hello,

I’m working through creating my first application. I have my script working to create new users using the CLI. I am working on using the command for storage policies.

When I run the command:
box storage-policies:assignments:lookup $ManagedUserID

I get “box : Unexpected API Response [404 Not Found | 04b98908e769f2e0] not_found - Authorization Failed”

I’m sure this is due to some sort of permissions, but I’m not sure why.

I created the application using Client Credentials Grant.

I have given every permission except for “Generate user access tokens”.

So far in my script I have not had to generate a token.

To assign a storage policy do I have to use a token?

Thank you.