Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Power BI is hosted in AWS EC2 Machine and we want to access Power BI Service URL in .net and angular applcation, but we are getting access issue. We have application id, workspace id, dataset id and report id of the Power BI, but we do not have application screte id to get access token. Can you pleaes help us how to get access token, application screte key,client id and access key to call the power bi service from .net and angular application.
Solved! Go to Solution.
Hi @Anonymous,
What type of dataset are you test? General dataset or push dataset? If you mean push dataset, please refer to the following tutorial document to know how to get the access token:
Get an authentication access token
If you mean the general dataset, you can check rest API document to generate the operation tokens: (notice: you need to register an application on azure side for permissions to use rest API)
Register an Azure AD application to use with Power BI
Regards,
Xiaoxin Sheng
Hi @Anonymous,
What type of dataset are you test? General dataset or push dataset? If you mean push dataset, please refer to the following tutorial document to know how to get the access token:
Get an authentication access token
If you mean the general dataset, you can check rest API document to generate the operation tokens: (notice: you need to register an application on azure side for permissions to use rest API)
Register an Azure AD application to use with Power BI
Regards,
Xiaoxin Sheng
Hi, Thank you.
I am able to generate access token in .net application after connecting to azure
Need Help -
using (var client = new PowerBIClient(new Uri(ApiUrl), m_tokenCredentials))
{
// Get a list of reports.
var reports = await client.Reports.GetReportsInGroupAsync(WorkspaceId);
...
}
when i am fetching data for workspace, it is giving as unauthorized.
Status: Unauthorized (401) Response: RequestId: f9519e20-c04f-4488-aee1-9ca3be8b3326
Please help me with your suggestion.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |