@Dilip Srivastava Thanks for reaching out to us, are you following below steps to generate the access token?
To get the access token
Choose the following:
- Permission type: Contributor or Reader
- Scope: Account, Project or Video
- For Project or Video you should also insert the matching ID.
- Select Generate
Please double check on your permission types and let me know how it works.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.
Reference - Assign Azure roles using the REST API https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-rest
There are also other ways to assign roles in case you are interested in, please refer to the document here - https://learn.microsoft.com/en-us/azure/azure-video-indexer/restricted-viewer-role