Skip to content

Connect-Graph fails to cast roles into String[] if there is only 1 permission #154

Closed

Description

@genorex

An example below is when there is only 1 API application permission:
Connect-Graph : Error converting value "Reports.Read.All" to type 'System.String[]'. Path 'roles', line 1, position 441.

Activity

  1. darrelmiller commented on Mar 25, 2020

    @darrelmiller
    Contributor

    genorex Can you provide some details of the module versions that you are using? We are not able to repro this.

  2. peombwa commented on Apr 8, 2020

    @peombwa
    Member

    genorex This issue is due to how we are reading the claims from the access token. This will be fixed by PR #164.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions