Forum Discussion
ArjanvanLoon
3 years agoFrequent Visitor
Web.Headers using MS Graph to handle (expected) HTTP-errors seems not possible. Any suggestions?
Have anybody been able to handle (expected) HTTP-errors using the Microsoft Graph API? I was hoping to use Web.Headers in combination with 'try' 'otherwise', but it seems the web.headers() expres...
ArjanvanLoon
3 years agoFrequent Visitor
I have a loop to import Graph datasets from different 365 tenants, like a list of all users for all tenants. Because not all tenants support the same data, some response with HTTP-error. I would like to ignore those errors and continue with the loop for retrieving data of the other tenants. That keeps me from administrating which GET-connectors I shouldn't address for certain tenants (I hope you understand my poor english 🙂
So again, the question is how to handle (and skip) HTTP-errors from Power Query using Microsoft Graph.