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

Feature/Invoke-PnPGraphMethod #1820

Merged
merged 6 commits into from
May 3, 2022
Merged

Feature/Invoke-PnPGraphMethod #1820

merged 6 commits into from
May 3, 2022

Conversation

4ndri
Copy link
Contributor

@4ndri 4ndri commented Apr 30, 2022

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #873

What is in this Pull Request ?

Add a new command Invoke-PnPGraphMethod to invoke generic Microsoft Graph API Methods.

  • Updated GraphHelper to support additional headers on all methods
  • json utility to convert to PSObject/object
  • updated src/Commands/Base/InvokeSPRestMethod.cs to use json convert utility
  • implemented src/Commands/Graph/InvokeGraphMethod.cs
  • docs for Invoke-PnPGraphMethod

@gautamdsheth gautamdsheth merged commit 2649ccf into pnp:dev May 3, 2022
@gautamdsheth
Copy link
Collaborator

Thanks @4ndri for this amazing cmdlet and the PR !
Have merged it and it should be available in tomorrow's nightly !

Much appreciate your contribution

@4ndri 4ndri deleted the feature/invoke-pnpgraph branch May 25, 2022 08:41
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.

[FEATURE] Add ability to invoke generic Graph methods
2 participants