Unable to access orchestrator_/odata/Tenants' even after adding all scopes

I have added the scopes which are mentioned in the api in swagger to my external apps but still getting the error mentioned below-
OAuth required scopes: OR.Administration or OR.Administration.Read.

{
“message”: “You are not authorized!”,
“errorCode”: 0,
“result”: null,
“targetUrl”: null,
“success”: false,
“error”: {
“code”: 0,
“message”: “You are not authorized!”,
“details”: “You are not allowed to perform this operation.”,
“validationErrors”: null
},
“unAuthorizedRequest”: true,
“__abp”: true
}

Hello @Devansh_Goswami_IN,

It looks like you are trying to call platform components using Orchestrator Permissions.

This provides permission for Orchestrator but not for the Platform, as the Tenant is part of the Platform.

Please try using Platform Management API Access permissions. This may help.

Thanks,
Karthik