Skip to content

Connect-MgGraph requires SecureString for accesstoken in MI auth #163

@mlhickey

Description

@mlhickey

Simplest path may be to add:
`
$accessToken = ConvertTo-SecureString -String $accessToken -AsPlainText -Force

around line 85 prior to the actual connect attempt. Looks like this got missed during the other SecureString updates

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