Skip to content

Allow relative URLs for graph requests when using batch#5255

Open
reusto wants to merge 2 commits intopnp:devfrom
reusto:fix/GraphBatchUrl
Open

Allow relative URLs for graph requests when using batch#5255
reusto wants to merge 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

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.

2 participants