I successfully got my app to authenticate and download my list of sharepoint sites, and I can use that to walk into drives, and children and so on, but the JSON is very cryptic. For example, how can I turn this web URL:
into this:
I don't want to have to search my way down this path trying to match webUrl properties as I go, that seems inefficient. Is there an API that "converts" the web url into the graph url efficiently ?
Also I'm asking for the children under the root it says childCount:22, but the children array comes back empty [], even when I pass the $expand=children query parameter? So I'm also stuck at this point trying to find a specific file...