issue: For one of the automation task for vmware vidm get attribute api, for admin user the code was failing.
It was giving error message “User is not authorized to perform the task”
Steps:
After creating the Remote App Access client, generate an OAuth bearer token.
Create Remote app client:
Prerequisites
Download and install the Postman app. You can download Postman from https://getpostman.com
Steps to generate Oatuh Bearer token
my sample code using oAuth Bearer token