The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Hi @Anonymous
At present, there is no similar case about your problem . When did your question start ?
Best Regards,
Community Support Team _ Ailsa Tao