Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
munaaaff
Regular Visitor

Automatic refresh of powerbi reports failing after some successful runs

Hi,

 

I automated powerbi reports by using python and powershell based on trigger available from source. In development the process is working good and deployed to production that same scripts it worked well some days. After some successfull runs in prod is continiously failing. but one think, i scheduled 5 reports out of them some is acquiring token successfully and some of them not. Its happening randomly on daily basis. below is the error which i am receiving when failure occured. it will be very helpfull if replied ASAP.Thanks...

 

Error:Exception calling "AcquireToken" with "3" argument(s): 
"accessing_ws_metadata_exchange_failed: Accessing WS metadata exchange failed"
At D:\myfolder\RefreshPowerbiReport.ps1:101 char:2
+  throw $_.Exception.Message
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Exception calli...xchange fai 
   led":String) [], RuntimeException
    + FullyQualifiedErrorId : Exception calling "AcquireToken" with "3" argume 
   nt(s): "accessing_ws_metadata_exchange_failed: Accessing WS metadata excha  
  nge failed"

0 REPLIES 0

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors