You are not allowed to perform this operation - /odata/Tenants

When I try to call the api with this end point “/odata/Tenants” in postman , Im getting response as mentioned below.

“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

Kindly someone help me out on this.


Check below documentation for your reference

Hope this may help you


But I did not get how do I login as admin !!! For my role I have set Admin also. But still getting that message.

You need to log in as a host admin, not a tenant admin.