Skip to content

Move to main#5386

Merged
gautamdsheth merged 146 commits into
mainfrom
dev
Jul 9, 2026
Merged

Move to main#5386
gautamdsheth merged 146 commits into
mainfrom
dev

Conversation

@gautamdsheth

Copy link
Copy Markdown
Collaborator

Before creating a pull request, make sure that you have read the contribution file located at

https://github.com/pnp/powerShell/blob/dev/CONTRIBUTING.md

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #X, partially fixes #Y, mentioned in #Z, etc.

What is in this Pull Request ?

Please describe the changes in the PR.

Guidance

  • You can delete this section when you are submitting the pull request.*
  • Please update this PR information accordingly. We use this as part of our release notes in monthly communications.
  • Please target your PR to Dev branch. If you do not target the Dev branch we will not accept this PR.

fabianhutzli and others added 30 commits April 24, 2026 09:49
Implements ListItems.SelectedOperations.Selected support via the Microsoft
Graph beta API. Lists can be addressed by GUID or display name. Permission
roles use the correct list-level values (Read, Write, Owner). Display names
are enriched via service principal lookup since the Graph beta API omits
them on GET responses. Documentation included.
…issions

Implements ListItems.SelectedOperations.Selected support via the Microsoft
Graph beta API. The -ListItem parameter accepts the integer item ID only.
Lists can be addressed by GUID or display name. Permission roles use the
correct list-level values (Read, Write, Owner). Display names are enriched
via service principal lookup since the Graph beta API omits them on GET
responses. Documentation included.
Implements Files.SelectedOperations.Selected support via the Microsoft
Graph Drive API. Files can be addressed by path relative to the library
root (e.g. Folder/file.docx) or by Graph drive item ID. The drive is
resolved through the list's associated drive endpoint. Permission roles
use the correct values (Read, Write, Owner). Documentation included.
…for PnP.Core and PnP.Framework (#5315)

* Add GitHub workflows for PnP Core and PnP Framework builds

* Refactor build workflows to pack NuGet packages and create zip files for PnP.Core and PnP.Framework

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gautamdsheth <8832018+gautamdsheth@users.noreply.github.com>
Fixed issue where `Connect-PnPOnline` could throw an error in some scenarios
…rsions of DocFX and .NET (#5324)

* Update documentation build workflows and Dockerfiles to use latest versions of DocFX and .NET

* Add documentation for building the site locally and update .gitignore
gautamdsheth and others added 24 commits June 28, 2026 23:38
* Add Get-PnPGeoAdministrator cmdlet


* Link Get-PnPGeoAdministrator changelog entry
* Add Remove-PnPGeoAdministrator cmdlet

Add a PnP cmdlet for removing SharePoint Online geo administrators through the existing MultiGeo REST client. Match the SPO management shell request shape for user, group, and object ID removal.

* Use parameter set dispatch for geo admin removal

Update Remove-PnPGeoAdministrator to dispatch by ParameterSetName and remove the generic empty GUID fallback.
…istrator cmdlets; ensure Geo Administrator support in MultiGeoRestApiClient
…5358)

The existing Get-PnPSiteDesign and Invoke-PnPSiteDesign cmdlets used CSOM
(Tenant.GetSiteDesigns / Tenant.ApplySiteDesign) which only works for
tenant-registered custom designs (store 0). Microsoft's built-in site
designs such as Event, Department and Human Resources live in the SharePoint
site template store (store 1) and require the SiteScriptUtility REST API
with a store parameter — there was no way to reach them from PnP PowerShell.

- Add Get-PnPSiteDesign -BuiltIn switch: calls SiteScriptUtility.GetSiteDesigns
  with store 1 and returns BuiltInSiteDesign objects (Id, Title, Template enum)
- Add Invoke-PnPSiteDesign -Template <BuiltInSiteTemplates>: resolves the GUID
  from the existing BuiltInSiteTemplates enum mapping and calls
  SiteScriptUtility.ApplySiteDesign with store 1
- Add BuiltInSiteDesign model class for deserialising the REST response
- Add GetBuiltInSiteDesigns and ApplyBuiltInSiteDesign utility methods to
  SiteTemplates.cs so the REST logic is centralised
- Fix missing DefaultParameterSetName on Get-PnPSiteDesign to prevent
  ambiguous parameter set error when called without arguments
- Update documentation for both cmdlets with new syntax, parameter descriptions
  and usage examples

Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
Updated CHANGELOG with new cmdlet properties and fixes.
* Add user OneDrive location cmdlet

* Address OneDrive location review feedback
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scorecard found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@gautamdsheth gautamdsheth merged commit c6fda22 into main Jul 9, 2026
3 checks passed
@erwinvanhunen erwinvanhunen deployed to gh_releases July 10, 2026 06:23 — with GitHub Actions Active
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.

10 participants