Hi,
Error on the flow: The 'from' property value in the 'query' action inputs is of type 'Null'. The value must be an array. I am using a filter array.
Hi @Teresa24486,
The result you are getting back is not an array. You only get a single result. That is why a Filter Array action would not be needed.
Edit: I did not read the error message properly. Need some coffee 😄
Hi @Expiscornovus ,
Absolutely. This is what I am using:
https://graph.microsoft.com/v1.0/sites/yourdomain.sharepoint.com:/sites/Template1
Hi @Teresa24486,
Thanks for checking and apologies for the confusion. I edited my earlier reply. I misread something, my bad 😁
Like mentioned, the current Graph API request you are using only lists a single site. That is why the filter array does not like the output you are using in there.
For my understanding, can you explain what you are trying to achieve? Are you for example trying to list all lists and libraries and find the one which is called Documents?
Hi @Expiscornovus ,
By using the filter array, I am trying to filter a specific library from all the lists/libraries of the Site collection. How else can I achieve this?
Hi @Teresa24486,
If you want to retrieve a specific library you can also use the Get List method
https://graph.microsoft.com/v1.0/sites/{site-id}/lists/Documents/
When you want to retrieve all of them, you can use the Get Lists method
https://graph.microsoft.com/v1.0/sites/{site-id}/lists
Both use the {site-id} instead of the {hostname}:/{server-relative-path} in the URI btw.
Hi @Expiscornovus,
How can I fix this error?
on the filter array control, the from is
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
32 | |
28 | |
27 | |
21 | |
10 |