Get-AzureADOAuth2PermissionGrant -all $true not working

Welcome Forums General PowerShell Q&A Get-AzureADOAuth2PermissionGrant -all $true not working

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
3 months, 2 weeks ago.

  • Author
    Posts
  • #127959

    Participant
    Points: 11
    Rank: Member

    Hi All,

    I am facing some issue with the above command. If i run Get-AzureADOAuth2PermissionGrant it will return a finite set of results. If i try to run "Get-AzureADOAuth2PermissionGrant -all $true" It is throwing the error

    Get-AzureADOAuth2PermissionGrant : Unexpected end when deserializing array. Path 'value[1000]', line 1, position 366740.
    At line:1 char:33
    + ...                           Get-AzureADOAuth2PermissionGrant -All $true
    +                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-AzureADOAuth2PermissionGrant], ApiException
    + FullyQualifiedErrorId : Microsoft.Open.AzureAD16.Client.ApiException,Microsoft.Open.AzureAD16.PowerShell.GetOAuth2PermissionGrants

    If any one has the solution, please share.

    Thanks,

    Shesh

  • #127968

    Participant
    Points: 1,607
    Helping Hand
    Rank: Community Hero

    Never used Azure cmdlets, but Looks like a bug.

The topic ‘Get-AzureADOAuth2PermissionGrant -all $true not working’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort