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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
swise001
Continued Contributor
Continued Contributor

Calling ActivityEvents API from Logic Apps - Returns Empty Array

I've setup a Logic App that's running a Custom Connector loaded with the Activity Events API. 

The Logic App works - in that it calls the API for a single date - and returns a continuation token. 

I use decodeURIComponent - and feed the continuationtoken back to the API - and ask it to loop until "lastresultset" = true. 

The timeout is set to 60.  

 

The app cycles 60 times - and always returns the same result (which looks identical to the first run). 

{"activityEventEntities":[],"continuationUri":"https://wabi-us-north-central-redirect.analysis.windows.net/v1.0/myorg/admin/activityevents?continuationToken='LDIw************uMDAwWiwyMDIwLTExLTE4VDIzOjU5OjU5Ljk5OVosMSws'","continuationToken":"LDIw************uMDAwWiwyMDIwLTExLTE4VDIzOjU5OjU5Ljk5OVosMSws","lastResultSet":false}

I'm unsure why it continues to return an empty array [] each time.  

The date I've chosen is a Wednesay - and I know there should be data.

 

Any ideas?

0 REPLIES 0

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.