Forum Discussion
Túlio
1 year agoFrequent Visitor
PowerBI get subscription ID after authentication (Oauth)
I need to obtain the subscriptionID for the plan that the user is associated.
I am using the acquireAADTokenService to get the token and the licenseManager to get the plans associated. Both are working correctly.
The problem is that I need to know who is the subscriptionID associated with the plans. How can I achieve this?
1 Reply
- collinqSuper User
HI Túlio ,
If I understand the one that you are looking for, I think that this Rest API will be the one to use:
Admin - Users GetUserSubscriptionsAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn