Forum Discussion
admin api define myorg
- 3 years ago
Hi , NickA01
According to your description, you want to call the admin REST API in Power BI.
For your question, here is my understanding.As searched , the rest api in official document is like this:
GET https://api.powerbi.com/v1.0/myorg/admin/apps/{appId}/users
And the "myorg" is not contains the "{" and "}" , this means that this parameter cannot be replaced by tenantid.
In the interface document, only the parameters included in "{}" can be replaced by variables.
Secondly, whether you can successfully call the API depends on whether the API you generated the access token has permission to call the API.
My understanding is that it will automatically judge your tenant information based on the access token you obtained and return the corresponding value.For detailed preconditions, you can check the description of each interface:
And for this , you can also refer to :
Admin - REST API (Power BI Power BI REST APIs) | Microsoft LearnThank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , NickA01
According to your description, you want to call the admin REST API in Power BI.
For your question, here is my understanding.As searched , the rest api in official document is like this:
GET https://api.powerbi.com/v1.0/myorg/admin/apps/{appId}/users
And the "myorg" is not contains the "{" and "}" , this means that this parameter cannot be replaced by tenantid.
In the interface document, only the parameters included in "{}" can be replaced by variables.
Secondly, whether you can successfully call the API depends on whether the API you generated the access token has permission to call the API.
For detailed preconditions, you can check the description of each interface:
And for this , you can also refer to :
Admin - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly