Forum Discussion

dataoverlord20's avatar
dataoverlord20
Frequent Visitor
1 year ago

Unable to reference MS Graph Groups Attribute

I am trying to get all groups and users from MS Graph. These both use paging (limit 100 records per page). To get the next page I need to reference an attribute in the previous repsonse. However, the attribute has '@' and '.' in it... how do I reference this attribute?

 

Attribute: "@odata.nextLink"

 

Activity Expression: 

@activity('Lookup_Group_IDs_copy1').output.value[0].'@odata.nextLink' <-- this does not work
 
Cheers,
 
Laron

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  dataoverlord20 

     

    Try modifying the syntax:

     

     

    @activity('Lookup_Group_IDs_copy1').output.value[0]['@odata.nextLink']

     

     

    For issues related to Microsoft Graph Data Connect, which is used to extract data from Microsoft 365, it would be more appropriate to reach out to Microsoft 365 support. They have the expertise related to Microsoft 365 services and can provide more specific guidance based on your setup and configuration.

     

    Microsoft 365 help | Microsoft 365

     

    Regards,

    Nono Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • dataoverlord20's avatar
      dataoverlord20
      Frequent Visitor

      sadly changing the syntax to what you posted did not work /:

       

      "ErrorCode=InvalidTemplate, ErrorMessage=Unable to parse expression 'odata.nextLink'"