Closed mlegris closed 5 years ago
Hi @mlegris Thank you for your feedback! We will review and provide an update as appropriate.
@mlegris As far as I understand you are trying to assign groups to capacity and The app token obtained for management.azure.com may not work for api.powerbi.com . The management.azure.com relies on Microsoft.PowerBI provider which would not have same defined actions as the powerbi API. I would suggest to check the PowerBI Dev Community for the same. In case you are still unable to get clarifications on this , feel free to email us at azcommunity[at]microsoft[dot]com referencing this thread and we will provide you with alternate support options.
Thank you.
I've been able to access management.azure.com API's using this procedure (on behalf of clients to my app). However it doesn't work for api.powerbi.com APIs.
The PowerBI apis are split between 2 "realms", some one management.azure.com (list, create, update, delete, suspend, resume), some on api.powerbi.com (assign). I need to ASSIGN a capacity to a workgroup, and also to get it's details because api.powerbi.com gives the objectId which I need to assign.
How do I adapt this procedure to allow my app to access the APIs on api.powerbi.com on behalf of it's clients?
I'm using the "Contributor" role. I can get an AppOnlyToken for powerbi apis, but when I try to execute commands it fails. I get 401 and no error message ( api.powerbi.com never returns error messages for some reason).
thanks a lot
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.