March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello team,
My Azure function is failing sometimes and I am not able to understand the reason behind this.
The execution flow of the Azure function is shown as below:
GetAccessToken -> CreatePowerBIClient -> ExportPowerBIReports
When I checked the logs of my Azure function, It is containing few failures.
Exception: System.AggregateException
Message: One or more errors occurred. (An error occurred while sending the request.)
This Exception is occuring exactly when I called "clientApp.AcquireTokenForClient(scopes).ExecuteAsync().Result" to get Azure AD token for service principal
In some other cases, I am getting the below exception message when trying to retrieve the PowerBIReports using PowerBIClient
Client.Reports.GetReportsAsync |
Exception: TaskCanceledException
Message: The operation was canceled.
I would like to know if there is any issue with Power BI client in .NET
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.