-
Notifications
You must be signed in to change notification settings - Fork 399
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Expected behavior
The PagesUtility contains code to find the "site pages" library.
I would expect this code to find the "site pages".
Actual behavior
This code might fail or target the wrong library, for sites that have Viva connections created "Announcements" library.
Steps to reproduce behavior
The same or similar code was modified in pnp/pnpframework#975 and pnp/pnpcore@0ea1c82
What is the version of the Cmdlet module you are running?
I looked at the current version:
powershell/src/Commands/Utilities/PagesUtility.cs
Lines 30 to 34 in 44827da
| if (list.IsPropertyAvailable(p => p.Fields) && list.Fields.AsRequested().FirstOrDefault(p => p.InternalName == "CanvasContent1") != null) | |
| { | |
| pagesLibrary = list; | |
| break; | |
| } |
Which operating system/environment are you running PnP PowerShell on?
- Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working