I want to use Pnp-PowerShell to access my company's Online SharePoint. But with the logon to my company's Online Sharepoint it only asks for a userid and not a password.

How can i write this in Powershell code. To just logon with a userid and not a password?




I think you can store your credentials in Windows Credential manager and use below command to connect SharePoint online.

Connect-PnPOnline -Url https://yourtenant.sharepoint.com

below are some of Useful links by which you can connect to SharePoint Online with your credential Manager.



Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.