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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors