Skip to content

A365 CLI setup comments emit access token into console #160

@MattB-msft

Description

@MattB-msft

Version: v1.1.40-preview+4c5eb33773

Describe the bug
During Setup operation. the A365 CLI is writing the access token it is creating to the console.

While i respect that is useful in debugging, it is appearing during normal operation w/out log level's being set beyond default.

To Reproduce
Steps to reproduce the behavior:
setup an intial config using a365 config init
start deployment - a365 setup blueprint

example output:
....
Opening browser for Graph API admin consent...
Consent granted (Graph API Scopes).
Graph API admin consent granted successfully!
Configuring inheritable permissions for Microsoft Graph...
Acquiring Microsoft Graph delegated access token via PowerShell (Device Code: False)

Microsoft Graph access token acquired successfully

OAuth2 grant: client 2a479473-7188-45d0-973c-a1a8d92bac91 to resource 51ee9df3-62eb-46ee-b00e-10c50e28a2b2 scopes [Mail.ReadWrite Mail.Send Chat.ReadWrite User.Read.All Sites.Read.All]

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