web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Azure Resource Manager...
Power Automate
Answered

Azure Resource Manager - Processing nextLink Property

(0) ShareShare
ReportReport
Posted on by 16

I'm getting resources from a given subscription and I'd like to manually parse through the list at times via the 'nextLink' property within Power Automate.

I'm using the "List resources by subscription" ARM action:
Capture1.JPG


Once ARM gets the first set of resources, I get the nextLink property
Capture1_1.JPG

and then create an HTTP action. But I can't seem to find where I can pull the Authorization Bearer info from. Unless I'm mistaken, I need to add a header to the HTTP action with

Authentication       Bearer ey(and so on)

Capture2.JPG


The REST API test for Resources - List displays the Bearer token.

https://docs.microsoft.com/en-us/rest/api/resources/resources/list#code-try-0
Capture3.JPG


Or am I trying to process the "nextLink" property incorrectly?

 

 

 

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @TWeiss ,

     

    An easy way - use Pagination instead of using next link.

    vxiaochenmsft_0-1661764101396.png

     

    Best Regards,

    Wearsky

  • TWeiss Profile Picture
    16 on at

    I had done that, but not processing the nextLink manually the full output leaves out some info I was previously ingesting - namely the statusCode and some header properties.

     

    Output when NOT using pagination:
    Capture5.JPG
    Output when using pagination:
    Capture6.JPG

    Why is it that only the body is returned and others like statusCode and headers are removed when pagination is turned on?

     

    I'd be interested in knowing if there was a way of pulling the token out somehow (or properly processing nextLink) without resorting to having to register an App within Azure AD.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard