Hi SharePoint guys,

pnp-superheroIf you use PnP PowerShell to interact with your SharePoint (If you don’t, you must start using it now !), you probably must endure something that personally I HATE : being repeatedly prompted for credentials.

It especially gets on my nerves during development time when I have to run and re-run my scripts again and again. Fortunately the great PnP community has addressed that annoying necessity.

It allows to register your credentials once in the secured Windows credential manager and then offer the possibility to be automatically logged in without being prompted.

The PnP community has already written the procedure in the GitHub wiki here, I’ll let you read it and enjoy the “no-prompt” mode 🙂

Have a nice scripting time !

Yannick

Advertisements