Connect-PnPMicrosoftGraph unattended login for automated process


@Vesa Juvonen is there a way to store the credentials needed to create a modern team site.  While it's nice to run it live from powershell while debugging need a way to store a credential with powershell or the windows credential manager so this can process requests in the background.


Thanks for any suggestions.


1 Reply

Hi David,

currently this is not unfortunately possible, but really good suggestion to add for the cmdlet. I've created new issue to PnP-PowerShell around the feature suggestion -