I'm stucked with the error 401 unauthorized when using *PnP* Commands like Get-PnPList

Olav Andersen 0 Reputation points
2025-02-11T13:09:23.6733333+00:00

Connect-PnPOnline using OAuth works fine and Get-PnPContext works but all other PnP commands get the error It worked fine using Credentials until about the first days in 2025

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,627 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,817 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.