Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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?

 

 

 

  • TWeiss Profile Picture
    16 on at
    Re: Azure Resource Manager - Processing nextLink Property

    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.

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Azure Resource Manager - Processing nextLink Property

    Hi @TWeiss ,

     

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

    vxiaochenmsft_0-1661764101396.png

     

    Best Regards,

    Wearsky

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics