cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Kudoed Authors