Skip to content

Allow relative URLs for graph requests when using batch#5255

Merged
gautamdsheth merged 2 commits intopnp:devfrom
reusto:fix/GraphBatchUrl
Mar 25, 2026
Merged

Allow relative URLs for graph requests when using batch#5255
gautamdsheth merged 2 commits intopnp:devfrom
reusto:fix/GraphBatchUrl

Conversation

@reusto
Copy link
Contributor

@reusto reusto commented Feb 26, 2026

Type

  • Bug Fix
  • New Feature
  • Sample

What is in this Pull Request ?

Updated URL handling in Invoke-PnPGraphMethod command to allow usage of relative URLs in batch scenarios. Previously v1.0/ was added to the URL by default which resulted in illformatted URLs for the graph batch request.

Updated Example 9 in Invoke-PnPGraphMethod documentation to use the the proper command Invoke-PnPGraphMethod instead of Invoke-PnPSPRestMethod.

@reusto reusto changed the title Fix/graph batch url Allow relative URLs for graph requests when using batch Feb 26, 2026
@NishkalankBezawada
Copy link
Collaborator

Thanks @reusto, for your PR improving the URL handling. Could you please share your full name to add to our list of contributors?

//Nish

@gautamdsheth gautamdsheth merged commit cc6fa04 into pnp:dev Mar 25, 2026
5 checks passed
@gautamdsheth
Copy link
Collaborator

Thanks @reusto , merged it !

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.

3 participants