Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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.