Skip to content

Fixes 'Authenticate with and call the Microsoft Graph' sample#3145

Closed
garrytrinder wants to merge 1 commit intomainfrom
fix-graph-sample
Closed

Fixes 'Authenticate with and call the Microsoft Graph' sample#3145
garrytrinder wants to merge 1 commit intomainfrom
fix-graph-sample

Conversation

@garrytrinder
Copy link
Copy Markdown
Member

Following the default output change to JSON, the sample no longer works as the JSON response adds quotes around the access token in the response which when used in the HTTP request throws an error.

By adding the --output text option, the enclosing quotes are stripped out and the HTTP request can be executed successfully.

@waldekmastykarz
Copy link
Copy Markdown
Member

Merged manually. Thank you! 👏

@waldekmastykarz waldekmastykarz deleted the fix-graph-sample branch March 18, 2022 08:30
@waldekmastykarz waldekmastykarz added this to the v5.1 milestone Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants