Azure, Graph API and Powershell question RRS feed

  • Question

  • Hi,

    We use Azure B2C and when trying to query the B2C with the graph API we have encountered a by design issue, which is that the results only report back with the first 100 results from the directory.

    So i am trying to use the skip token / nextlink option as mentioned above but don't seem to be able to get it trough powershell. 

    This is an extract of the code:

    $uri = "$tenantname/$($resource)?api-version=1.6"
    $users = Invoke-RestMethod -Uri $uri -Headers $authHeader -Method Get -Verbose

    The output is as in this picture

    When i try and get just the nextlink value it comes up blank

    i've tired




    the only one i can do is

    $users.value wihch returns the value but not the nextlink value

    any help greatly appreciated


    Denis Cooper


    Help keep the forums tidy, if this has helped please mark it as an answer

    Blog:  Twitter:   LinkedIn:

    Wednesday, July 26, 2017 1:26 PM


All replies