Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Invoke-MgGraphRequest cmdlet to handle responses of text/plain content types. #2896

Conversation

timayabi2020
Copy link
Contributor

Fixes #2866

Changes proposed in this pull request

  • Updates Invoke-MgGraphRequest cmdlet to output responses of text/plain content types to console instead of throwing an exception expecting an -OutputFilePath parameter to be specified.

With -OutputFilePath parameter provided
image

Without providing -OutputFilePath parameter
image

@timayabi2020 timayabi2020 requested a review from a team as a code owner August 9, 2024 07:39
@timayabi2020 timayabi2020 linked an issue Aug 9, 2024 that may be closed by this pull request
andrueastman
andrueastman previously approved these changes Aug 9, 2024
src/Authentication/Authentication/Helpers/ContentHelper.cs Outdated Show resolved Hide resolved
@timayabi2020 timayabi2020 merged commit d53fd13 into dev Aug 12, 2024
2 of 3 checks passed
@timayabi2020 timayabi2020 deleted the 2866-invoke-mggraphrequest-fails-to-return-a-number-of-resources branch August 12, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invoke-MgGraphRequest fails to return a number of resources
3 participants