Forum Discussion
PowerShell 7 PnP.PowerShell Header Issue
- Apr 06, 2026
I was able to get the application configured correctly by using the Register-PnPEntraIDApp command. Not sure why my manually configured app did not work, but an now able to connect successfully and pull all sites.
Hi.
Just to note — connecting with a Client Secret relies on legacy authentication, which limits available functionality. For example, it prevents us from executing requests against Microsoft Graph, which means features related to Microsoft Teams, Planner, Power Automate (Flow), and Microsoft 365 Groups will not work when using this method.
However, for full functionality and modern authentication support, it’s recommended to switch to an authentication method that supports Microsoft Graph
- tleannaApr 06, 2026Copper Contributor
I was able to get the application configured correctly by using the Register-PnPEntraIDApp command. Not sure why my manually configured app did not work, but an now able to connect successfully and pull all sites.