Skip to content

[FEATURE] Add ability to use batch API with Invoke-PnPSPRestMethod #1644

@joerodgers

Description

@joerodgers

Category

  • Feature request

Describe the feature

Add ability to use batch API with Invoke-PnPSPRestMethod

Describe the solution you'd like

$batch = New-PnPBatch

Invoke-PnPSPRestMethod -Method Get -Url "/_api/Microsoft.Online.SharePoint.TenantAdministration.Tenant/sites('e8ef6ff7-220f-49d4-bd21-739bc66540c2')" -Batch
Invoke-PnPSPRestMethod -Method Get -Url "/_api/Microsoft.Online.SharePoint.TenantAdministration.Tenant/sites('3975956e-2a3a-43eb-8312-3833fb523874')" -Batch
Invoke-PnPSPRestMethod -Method Get -Url "/_api/Microsoft.Online.SharePoint.TenantAdministration.Tenant/sites('3ecc13a9-a83f-4403-8870-f5417e95b60c')" -Batch
Invoke-PnPSPRestMethod -Method Get -Url "/_api/Microsoft.Online.SharePoint.TenantAdministration.Tenant/sites('5459a6c1-f748-4737-bc52-6b66bbf53cf2')" -Batch

Invoke-PnPBatch -Batch $batch

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions